12c8e7849SLang Hames //===------ OrcRTBridge.cpp - Executor functions for bootstrap -----===// 22c8e7849SLang Hames // 32c8e7849SLang Hames // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 42c8e7849SLang Hames // See https://llvm.org/LICENSE.txt for license information. 52c8e7849SLang Hames // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 62c8e7849SLang Hames // 72c8e7849SLang Hames //===----------------------------------------------------------------------===// 82c8e7849SLang Hames 92c8e7849SLang Hames #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h" 102c8e7849SLang Hames 112c8e7849SLang Hames namespace llvm { 122c8e7849SLang Hames namespace orc { 132c8e7849SLang Hames namespace rt { 142c8e7849SLang Hames 15a2c1cf09SLang Hames const char *SimpleExecutorDylibManagerInstanceName = 16a2c1cf09SLang Hames "__llvm_orc_SimpleExecutorDylibManager_Instance"; 17a2c1cf09SLang Hames const char *SimpleExecutorDylibManagerOpenWrapperName = 18a2c1cf09SLang Hames "__llvm_orc_SimpleExecutorDylibManager_open_wrapper"; 19a2c1cf09SLang Hames const char *SimpleExecutorDylibManagerLookupWrapperName = 20a2c1cf09SLang Hames "__llvm_orc_SimpleExecutorDylibManager_lookup_wrapper"; 211b1f1c77SAnubhab Ghosh 2278b083dbSLang Hames const char *SimpleExecutorMemoryManagerInstanceName = 2378b083dbSLang Hames "__llvm_orc_SimpleExecutorMemoryManager_Instance"; 2478b083dbSLang Hames const char *SimpleExecutorMemoryManagerReserveWrapperName = 2578b083dbSLang Hames "__llvm_orc_SimpleExecutorMemoryManager_reserve_wrapper"; 2678b083dbSLang Hames const char *SimpleExecutorMemoryManagerFinalizeWrapperName = 2778b083dbSLang Hames "__llvm_orc_SimpleExecutorMemoryManager_finalize_wrapper"; 2878b083dbSLang Hames const char *SimpleExecutorMemoryManagerDeallocateWrapperName = 2978b083dbSLang Hames "__llvm_orc_SimpleExecutorMemoryManager_deallocate_wrapper"; 301b1f1c77SAnubhab Ghosh 311b1f1c77SAnubhab Ghosh const char *ExecutorSharedMemoryMapperServiceInstanceName = 321b1f1c77SAnubhab Ghosh "__llvm_orc_ExecutorSharedMemoryMapperService_Instance"; 331b1f1c77SAnubhab Ghosh const char *ExecutorSharedMemoryMapperServiceReserveWrapperName = 341b1f1c77SAnubhab Ghosh "__llvm_orc_ExecutorSharedMemoryMapperService_Reserve"; 351b1f1c77SAnubhab Ghosh const char *ExecutorSharedMemoryMapperServiceInitializeWrapperName = 361b1f1c77SAnubhab Ghosh "__llvm_orc_ExecutorSharedMemoryMapperService_Initialize"; 371b1f1c77SAnubhab Ghosh const char *ExecutorSharedMemoryMapperServiceDeinitializeWrapperName = 381b1f1c77SAnubhab Ghosh "__llvm_orc_ExecutorSharedMemoryMapperService_Deinitialize"; 391b1f1c77SAnubhab Ghosh const char *ExecutorSharedMemoryMapperServiceReleaseWrapperName = 401b1f1c77SAnubhab Ghosh "__llvm_orc_ExecutorSharedMemoryMapperService_Release"; 411b1f1c77SAnubhab Ghosh 422c8e7849SLang Hames const char *MemoryWriteUInt8sWrapperName = 432c8e7849SLang Hames "__llvm_orc_bootstrap_mem_write_uint8s_wrapper"; 442c8e7849SLang Hames const char *MemoryWriteUInt16sWrapperName = 452c8e7849SLang Hames "__llvm_orc_bootstrap_mem_write_uint16s_wrapper"; 462c8e7849SLang Hames const char *MemoryWriteUInt32sWrapperName = 472c8e7849SLang Hames "__llvm_orc_bootstrap_mem_write_uint32s_wrapper"; 482c8e7849SLang Hames const char *MemoryWriteUInt64sWrapperName = 492c8e7849SLang Hames "__llvm_orc_bootstrap_mem_write_uint64s_wrapper"; 502c8e7849SLang Hames const char *MemoryWriteBuffersWrapperName = 512c8e7849SLang Hames "__llvm_orc_bootstrap_mem_write_buffers_wrapper"; 52*8201ae2aSLang Hames const char *MemoryWritePointersWrapperName = 53*8201ae2aSLang Hames "__llvm_orc_bootstrap_mem_write_pointers_wrapper"; 541b1f1c77SAnubhab Ghosh 55089acf25SLang Hames const char *RegisterEHFrameSectionWrapperName = 56122ebe3bSLang Hames "llvm_orc_registerEHFrameSectionWrapper"; 57089acf25SLang Hames const char *DeregisterEHFrameSectionWrapperName = 58122ebe3bSLang Hames "llvm_orc_deregisterEHFrameSectionWrapper"; 591b1f1c77SAnubhab Ghosh 602c8e7849SLang Hames const char *RunAsMainWrapperName = "__llvm_orc_bootstrap_run_as_main_wrapper"; 617260cdd2SSunho Kim const char *RunAsVoidFunctionWrapperName = 627260cdd2SSunho Kim "__llvm_orc_bootstrap_run_as_void_function_wrapper"; 637260cdd2SSunho Kim const char *RunAsIntFunctionWrapperName = 647260cdd2SSunho Kim "__llvm_orc_bootstrap_run_as_int_function_wrapper"; 652c8e7849SLang Hames 662c8e7849SLang Hames } // end namespace rt 672c8e7849SLang Hames } // end namespace orc 682c8e7849SLang Hames } // end namespace llvm 69