xref: /freebsd-src/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/Shared/OrcRTBridge.cpp (revision 5f757f3ff9144b609b3c433dfd370cc6bdc191ad)
1349cc55cSDimitry Andric //===------ OrcRTBridge.cpp - Executor functions for bootstrap -----===//
2349cc55cSDimitry Andric //
3349cc55cSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4349cc55cSDimitry Andric // See https://llvm.org/LICENSE.txt for license information.
5349cc55cSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6349cc55cSDimitry Andric //
7349cc55cSDimitry Andric //===----------------------------------------------------------------------===//
8349cc55cSDimitry Andric 
9349cc55cSDimitry Andric #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h"
10349cc55cSDimitry Andric 
11349cc55cSDimitry Andric namespace llvm {
12349cc55cSDimitry Andric namespace orc {
13349cc55cSDimitry Andric namespace rt {
14349cc55cSDimitry Andric 
15349cc55cSDimitry Andric const char *SimpleExecutorDylibManagerInstanceName =
16349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorDylibManager_Instance";
17349cc55cSDimitry Andric const char *SimpleExecutorDylibManagerOpenWrapperName =
18349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorDylibManager_open_wrapper";
19349cc55cSDimitry Andric const char *SimpleExecutorDylibManagerLookupWrapperName =
20349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorDylibManager_lookup_wrapper";
21fcaf7f86SDimitry Andric 
22349cc55cSDimitry Andric const char *SimpleExecutorMemoryManagerInstanceName =
23349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorMemoryManager_Instance";
24349cc55cSDimitry Andric const char *SimpleExecutorMemoryManagerReserveWrapperName =
25349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorMemoryManager_reserve_wrapper";
26349cc55cSDimitry Andric const char *SimpleExecutorMemoryManagerFinalizeWrapperName =
27349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorMemoryManager_finalize_wrapper";
28349cc55cSDimitry Andric const char *SimpleExecutorMemoryManagerDeallocateWrapperName =
29349cc55cSDimitry Andric     "__llvm_orc_SimpleExecutorMemoryManager_deallocate_wrapper";
30fcaf7f86SDimitry Andric 
31fcaf7f86SDimitry Andric const char *ExecutorSharedMemoryMapperServiceInstanceName =
32fcaf7f86SDimitry Andric     "__llvm_orc_ExecutorSharedMemoryMapperService_Instance";
33fcaf7f86SDimitry Andric const char *ExecutorSharedMemoryMapperServiceReserveWrapperName =
34fcaf7f86SDimitry Andric     "__llvm_orc_ExecutorSharedMemoryMapperService_Reserve";
35fcaf7f86SDimitry Andric const char *ExecutorSharedMemoryMapperServiceInitializeWrapperName =
36fcaf7f86SDimitry Andric     "__llvm_orc_ExecutorSharedMemoryMapperService_Initialize";
37fcaf7f86SDimitry Andric const char *ExecutorSharedMemoryMapperServiceDeinitializeWrapperName =
38fcaf7f86SDimitry Andric     "__llvm_orc_ExecutorSharedMemoryMapperService_Deinitialize";
39fcaf7f86SDimitry Andric const char *ExecutorSharedMemoryMapperServiceReleaseWrapperName =
40fcaf7f86SDimitry Andric     "__llvm_orc_ExecutorSharedMemoryMapperService_Release";
41fcaf7f86SDimitry Andric 
42349cc55cSDimitry Andric const char *MemoryWriteUInt8sWrapperName =
43349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_uint8s_wrapper";
44349cc55cSDimitry Andric const char *MemoryWriteUInt16sWrapperName =
45349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_uint16s_wrapper";
46349cc55cSDimitry Andric const char *MemoryWriteUInt32sWrapperName =
47349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_uint32s_wrapper";
48349cc55cSDimitry Andric const char *MemoryWriteUInt64sWrapperName =
49349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_uint64s_wrapper";
50349cc55cSDimitry Andric const char *MemoryWriteBuffersWrapperName =
51349cc55cSDimitry Andric     "__llvm_orc_bootstrap_mem_write_buffers_wrapper";
52fcaf7f86SDimitry Andric 
5304eeddc0SDimitry Andric const char *RegisterEHFrameSectionWrapperName =
54*5f757f3fSDimitry Andric     "llvm_orc_registerEHFrameSectionWrapper";
5504eeddc0SDimitry Andric const char *DeregisterEHFrameSectionWrapperName =
56*5f757f3fSDimitry Andric     "llvm_orc_deregisterEHFrameSectionWrapper";
57fcaf7f86SDimitry Andric 
58349cc55cSDimitry Andric const char *RunAsMainWrapperName = "__llvm_orc_bootstrap_run_as_main_wrapper";
59bdd1243dSDimitry Andric const char *RunAsVoidFunctionWrapperName =
60bdd1243dSDimitry Andric     "__llvm_orc_bootstrap_run_as_void_function_wrapper";
61bdd1243dSDimitry Andric const char *RunAsIntFunctionWrapperName =
62bdd1243dSDimitry Andric     "__llvm_orc_bootstrap_run_as_int_function_wrapper";
63349cc55cSDimitry Andric 
64349cc55cSDimitry Andric } // end namespace rt
65349cc55cSDimitry Andric } // end namespace orc
66349cc55cSDimitry Andric } // end namespace llvm
67