LLVM  16.0.0git
OrcRTBridge.h
Go to the documentation of this file.
1 //===---- OrcRTBridge.h -- Utils for interacting with orc-rt ----*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // Declares types and symbol names provided by the ORC runtime.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_EXECUTIONENGINE_ORC_SHARED_ORCRTBRIDGE_H
14 #define LLVM_EXECUTIONENGINE_ORC_SHARED_ORCRTBRIDGE_H
15 
16 #include "llvm/ADT/StringMap.h"
20 
21 namespace llvm {
22 namespace orc {
23 namespace rt {
24 
28 
33 
39 
40 extern const char *MemoryWriteUInt8sWrapperName;
41 extern const char *MemoryWriteUInt16sWrapperName;
42 extern const char *MemoryWriteUInt32sWrapperName;
43 extern const char *MemoryWriteUInt64sWrapperName;
44 extern const char *MemoryWriteBuffersWrapperName;
45 
46 extern const char *RegisterEHFrameSectionWrapperName;
47 extern const char *DeregisterEHFrameSectionWrapperName;
48 
49 extern const char *RunAsMainWrapperName;
50 extern const char *RunAsVoidFunctionWrapperName;
51 extern const char *RunAsIntFunctionWrapperName;
52 
56 
60 
68 
69 // ExecutorSharedMemoryMapperService
79  shared::SPSError(shared::SPSExecutorAddr,
83 
88 } // end namespace rt
89 } // end namespace orc
90 } // end namespace llvm
91 
92 #endif // LLVM_EXECUTIONENGINE_ORC_SHARED_ORCRTBRIDGE_H
TargetProcessControlTypes.h
llvm
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18
llvm::orc::shared::SPSSequence
SPS tag type for sequences.
Definition: SimplePackedSerialization.h:205
SimpleRemoteEPCUtils.h
llvm::orc::rt::SPSSimpleExecutorMemoryManagerFinalizeSignature
shared::SPSError(shared::SPSExecutorAddr, shared::SPSFinalizeRequest) SPSSimpleExecutorMemoryManagerFinalizeSignature
Definition: OrcRTBridge.h:65
llvm::orc::shared::SPSRemoteSymbolLookupSet
SPSSequence< SPSRemoteSymbolLookupSetElement > SPSRemoteSymbolLookupSet
Definition: SimpleRemoteEPCUtils.h:157
llvm::orc::shared::SPSTuple
SPS tag type for tuples.
Definition: SimplePackedSerialization.h:195
llvm::orc::rt::RegisterEHFrameSectionWrapperName
const char * RegisterEHFrameSectionWrapperName
Definition: OrcRTBridge.cpp:53
llvm::orc::rt::SimpleExecutorMemoryManagerInstanceName
const char * SimpleExecutorMemoryManagerInstanceName
Definition: OrcRTBridge.cpp:22
llvm::orc::rt::MemoryWriteUInt64sWrapperName
const char * MemoryWriteUInt64sWrapperName
Definition: OrcRTBridge.cpp:48
llvm::orc::rt::SimpleExecutorMemoryManagerFinalizeWrapperName
const char * SimpleExecutorMemoryManagerFinalizeWrapperName
Definition: OrcRTBridge.cpp:26
llvm::orc::rt::SimpleExecutorMemoryManagerDeallocateWrapperName
const char * SimpleExecutorMemoryManagerDeallocateWrapperName
Definition: OrcRTBridge.cpp:28
llvm::orc::rt::MemoryWriteUInt32sWrapperName
const char * MemoryWriteUInt32sWrapperName
Definition: OrcRTBridge.cpp:46
llvm::orc::rt::SPSExecutorSharedMemoryMapperServiceInitializeSignature
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSSharedMemoryFinalizeRequest) SPSExecutorSharedMemoryMapperServiceInitializeSignature
Definition: OrcRTBridge.h:77
llvm::orc::rt::ExecutorSharedMemoryMapperServiceDeinitializeWrapperName
const char * ExecutorSharedMemoryMapperServiceDeinitializeWrapperName
Definition: OrcRTBridge.cpp:37
llvm::orc::rt::SimpleExecutorDylibManagerLookupWrapperName
const char * SimpleExecutorDylibManagerLookupWrapperName
Definition: OrcRTBridge.cpp:19
llvm::orc::rt::SPSSimpleExecutorMemoryManagerReserveSignature
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, uint64_t) SPSSimpleExecutorMemoryManagerReserveSignature
Definition: OrcRTBridge.h:63
llvm::orc::rt::MemoryWriteBuffersWrapperName
const char * MemoryWriteBuffersWrapperName
Definition: OrcRTBridge.cpp:50
llvm::orc::rt::SimpleExecutorDylibManagerInstanceName
const char * SimpleExecutorDylibManagerInstanceName
Definition: OrcRTBridge.cpp:15
llvm::orc::shared::SPSExecutorAddr
Definition: ExecutorAddress.h:228
llvm::orc::rt::SPSSimpleExecutorDylibManagerLookupSignature
shared::SPSExpected< shared::SPSSequence< shared::SPSExecutorAddr > >(shared::SPSExecutorAddr, uint64_t, shared::SPSRemoteSymbolLookupSet) SPSSimpleExecutorDylibManagerLookupSignature
Definition: OrcRTBridge.h:59
llvm::orc::rt::ExecutorSharedMemoryMapperServiceInstanceName
const char * ExecutorSharedMemoryMapperServiceInstanceName
Definition: OrcRTBridge.cpp:31
llvm::orc::rt::SPSExecutorSharedMemoryMapperServiceDeinitializeSignature
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceDeinitializeSignature
Definition: OrcRTBridge.h:80
llvm::orc::rt::MemoryWriteUInt16sWrapperName
const char * MemoryWriteUInt16sWrapperName
Definition: OrcRTBridge.cpp:44
llvm::orc::rt::RunAsIntFunctionWrapperName
const char * RunAsIntFunctionWrapperName
Definition: OrcRTBridge.cpp:61
llvm::orc::rt::SPSExecutorSharedMemoryMapperServiceReserveSignature
shared::SPSExpected< shared::SPSTuple< shared::SPSExecutorAddr, shared::SPSString > >(shared::SPSExecutorAddr, uint64_t) SPSExecutorSharedMemoryMapperServiceReserveSignature
Definition: OrcRTBridge.h:73
uint64_t
llvm::orc::rt::SPSSimpleExecutorDylibManagerOpenSignature
shared::SPSExpected< uint64_t >(shared::SPSExecutorAddr, shared::SPSString, uint64_t) SPSSimpleExecutorDylibManagerOpenSignature
Definition: OrcRTBridge.h:55
llvm::orc::rt::DeregisterEHFrameSectionWrapperName
const char * DeregisterEHFrameSectionWrapperName
Definition: OrcRTBridge.cpp:55
llvm::orc::shared::SPSExpected
SPS tag type for expecteds, which are either a T or a string representing an error.
Definition: SimplePackedSerialization.h:548
llvm::orc::rt::ExecutorSharedMemoryMapperServiceReleaseWrapperName
const char * ExecutorSharedMemoryMapperServiceReleaseWrapperName
Definition: OrcRTBridge.cpp:39
llvm::orc::rt::MemoryWriteUInt8sWrapperName
const char * MemoryWriteUInt8sWrapperName
Definition: OrcRTBridge.cpp:42
ExecutorAddress.h
llvm::orc::rt::RunAsVoidFunctionWrapperName
const char * RunAsVoidFunctionWrapperName
Definition: OrcRTBridge.cpp:59
llvm::orc::rt::SPSRunAsVoidFunctionSignature
int32_t(shared::SPSExecutorAddr) SPSRunAsVoidFunctionSignature
Definition: OrcRTBridge.h:86
llvm::orc::rt::SPSRunAsMainSignature
int64_t(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSString >) SPSRunAsMainSignature
Definition: OrcRTBridge.h:85
llvm::orc::rt::SimpleExecutorDylibManagerOpenWrapperName
const char * SimpleExecutorDylibManagerOpenWrapperName
Definition: OrcRTBridge.cpp:17
llvm::orc::rt::RunAsMainWrapperName
const char * RunAsMainWrapperName
Definition: OrcRTBridge.cpp:58
llvm::orc::rt::SPSRunAsIntFunctionSignature
int32_t(shared::SPSExecutorAddr, int32_t) SPSRunAsIntFunctionSignature
Definition: OrcRTBridge.h:87
StringMap.h
llvm::orc::rt::SimpleExecutorMemoryManagerReserveWrapperName
const char * SimpleExecutorMemoryManagerReserveWrapperName
Definition: OrcRTBridge.cpp:24
llvm::orc::rt::ExecutorSharedMemoryMapperServiceReserveWrapperName
const char * ExecutorSharedMemoryMapperServiceReserveWrapperName
Definition: OrcRTBridge.cpp:33
llvm::orc::rt::SPSSimpleExecutorMemoryManagerDeallocateSignature
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSimpleExecutorMemoryManagerDeallocateSignature
Definition: OrcRTBridge.h:67
llvm::orc::rt::ExecutorSharedMemoryMapperServiceInitializeWrapperName
const char * ExecutorSharedMemoryMapperServiceInitializeWrapperName
Definition: OrcRTBridge.cpp:35
llvm::orc::rt::SPSExecutorSharedMemoryMapperServiceReleaseSignature
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceReleaseSignature
Definition: OrcRTBridge.h:82