Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-05-10 08:43:52

0001 //===------- JITLoaderPerf.h --- Register profiler objects ------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 // Register objects for access by profilers via the perf JIT interface.
0010 //
0011 //===----------------------------------------------------------------------===//
0012 
0013 #ifndef LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERPERF_H
0014 #define LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERPERF_H
0015 
0016 #include "llvm/ExecutionEngine/Orc/Shared/WrapperFunctionUtils.h"
0017 #include "llvm/Support/Compiler.h"
0018 #include <cstdint>
0019 
0020 extern "C" LLVM_ABI llvm::orc::shared::CWrapperFunctionResult
0021 llvm_orc_registerJITLoaderPerfImpl(const char *Data, uint64_t Size);
0022 
0023 extern "C" LLVM_ABI llvm::orc::shared::CWrapperFunctionResult
0024 llvm_orc_registerJITLoaderPerfStart(const char *Data, uint64_t Size);
0025 
0026 extern "C" LLVM_ABI llvm::orc::shared::CWrapperFunctionResult
0027 llvm_orc_registerJITLoaderPerfEnd(const char *Data, uint64_t Size);
0028 
0029 #endif // LLVM_EXECUTIONENGINE_ORC_TARGETPROCESS_JITLOADERPERF_H