1*fde2d23eSEthan Luis McDonough //===-------- Profiling.h - OpenMP interface ---------------------- C++ -*-===// 2*fde2d23eSEthan Luis McDonough // 3*fde2d23eSEthan Luis McDonough // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*fde2d23eSEthan Luis McDonough // See https://llvm.org/LICENSE.txt for license information. 5*fde2d23eSEthan Luis McDonough // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*fde2d23eSEthan Luis McDonough // 7*fde2d23eSEthan Luis McDonough //===----------------------------------------------------------------------===// 8*fde2d23eSEthan Luis McDonough // 9*fde2d23eSEthan Luis McDonough // 10*fde2d23eSEthan Luis McDonough //===----------------------------------------------------------------------===// 11*fde2d23eSEthan Luis McDonough 12*fde2d23eSEthan Luis McDonough #ifndef OMPTARGET_DEVICERTL_PROFILING_H 13*fde2d23eSEthan Luis McDonough #define OMPTARGET_DEVICERTL_PROFILING_H 14*fde2d23eSEthan Luis McDonough 15*fde2d23eSEthan Luis McDonough extern "C" { 16*fde2d23eSEthan Luis McDonough void __llvm_profile_register_function(void *Ptr); 17*fde2d23eSEthan Luis McDonough void __llvm_profile_register_names_function(void *Ptr, long int I); 18*fde2d23eSEthan Luis McDonough void __llvm_profile_instrument_memop(long int I, void *Ptr, int I2); 19*fde2d23eSEthan Luis McDonough } 20*fde2d23eSEthan Luis McDonough 21*fde2d23eSEthan Luis McDonough #endif 22