LLVM 22.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
21
22namespace llvm {
23namespace orc {
24namespace rt {
25
29
34
37LLVM_ABI extern const char
39LLVM_ABI extern const char
42
43LLVM_ABI extern const char *MemoryWriteUInt8sWrapperName;
49
50LLVM_ABI extern const char *MemoryReadUInt8sWrapperName;
51LLVM_ABI extern const char *MemoryReadUInt16sWrapperName;
52LLVM_ABI extern const char *MemoryReadUInt32sWrapperName;
53LLVM_ABI extern const char *MemoryReadUInt64sWrapperName;
55LLVM_ABI extern const char *MemoryReadBuffersWrapperName;
56LLVM_ABI extern const char *MemoryReadStringsWrapperName;
57
60
61LLVM_ABI extern const char *RunAsMainWrapperName;
62LLVM_ABI extern const char *RunAsVoidFunctionWrapperName;
63LLVM_ABI extern const char *RunAsIntFunctionWrapperName;
64
68
73
76 uint64_t);
81
82// ExecutorSharedMemoryMapperService
92 shared::SPSError(shared::SPSExecutorAddr,
96
101} // end namespace rt
102
103namespace rt_alt {
106} // end namespace rt_alt
107} // end namespace orc
108} // end namespace llvm
109
110#endif // LLVM_EXECUTIONENGINE_ORC_SHARED_ORCRTBRIDGE_H
#define LLVM_ABI
Definition: Compiler.h:213
SPS tag type for expecteds, which are either a T or a string representing an error.
LLVM_ABI const char * UnwindInfoManagerDeregisterActionName
Definition: OrcRTBridge.cpp:85
LLVM_ABI const char * UnwindInfoManagerRegisterActionName
Definition: OrcRTBridge.cpp:83
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, uint64_t) SPSSimpleExecutorMemoryManagerReserveSignature
Definition: OrcRTBridge.h:76
LLVM_ABI const char * SimpleExecutorMemoryManagerFinalizeWrapperName
Definition: OrcRTBridge.cpp:26
LLVM_ABI const char * MemoryReadUInt64sWrapperName
Definition: OrcRTBridge.cpp:61
LLVM_ABI const char * MemoryWriteUInt16sWrapperName
Definition: OrcRTBridge.cpp:44
LLVM_ABI const char * MemoryReadStringsWrapperName
Definition: OrcRTBridge.cpp:67
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSSharedMemoryFinalizeRequest) SPSExecutorSharedMemoryMapperServiceInitializeSignature
Definition: OrcRTBridge.h:90
LLVM_ABI const char * MemoryReadUInt16sWrapperName
Definition: OrcRTBridge.cpp:57
LLVM_ABI const char * RunAsIntFunctionWrapperName
Definition: OrcRTBridge.cpp:78
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceInstanceName
Definition: OrcRTBridge.cpp:31
LLVM_ABI const char * MemoryReadPointersWrapperName
Definition: OrcRTBridge.cpp:63
shared::SPSExpected< shared::SPSSequence< shared::SPSExecutorSymbolDef > >(shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSRemoteSymbolLookupSet) SPSSimpleExecutorDylibManagerLookupSignature
Definition: OrcRTBridge.h:72
LLVM_ABI const char * DeregisterEHFrameSectionAllocActionName
Definition: OrcRTBridge.cpp:72
LLVM_ABI const char * SimpleExecutorMemoryManagerDeallocateWrapperName
Definition: OrcRTBridge.cpp:28
LLVM_ABI const char * MemoryReadUInt32sWrapperName
Definition: OrcRTBridge.cpp:59
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceReleaseSignature
Definition: OrcRTBridge.h:95
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceReserveWrapperName
Definition: OrcRTBridge.cpp:33
LLVM_ABI const char * SimpleExecutorMemoryManagerReserveWrapperName
Definition: OrcRTBridge.cpp:24
shared::SPSExpected< shared::SPSTuple< shared::SPSExecutorAddr, shared::SPSString > >(shared::SPSExecutorAddr, uint64_t) SPSExecutorSharedMemoryMapperServiceReserveSignature
Definition: OrcRTBridge.h:86
LLVM_ABI const char * SimpleExecutorDylibManagerOpenWrapperName
Definition: OrcRTBridge.cpp:17
int32_t(shared::SPSExecutorAddr) SPSRunAsVoidFunctionSignature
Definition: OrcRTBridge.h:99
shared::SPSError(shared::SPSExecutorAddr, shared::SPSFinalizeRequest) SPSSimpleExecutorMemoryManagerFinalizeSignature
Definition: OrcRTBridge.h:78
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceDeinitializeWrapperName
Definition: OrcRTBridge.cpp:37
LLVM_ABI const char * SimpleExecutorDylibManagerLookupWrapperName
Definition: OrcRTBridge.cpp:19
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceReleaseWrapperName
Definition: OrcRTBridge.cpp:39
LLVM_ABI const char * MemoryWriteUInt64sWrapperName
Definition: OrcRTBridge.cpp:48
LLVM_ABI const char * MemoryWriteUInt8sWrapperName
Definition: OrcRTBridge.cpp:42
LLVM_ABI const char * MemoryWritePointersWrapperName
Definition: OrcRTBridge.cpp:50
LLVM_ABI const char * MemoryWriteUInt32sWrapperName
Definition: OrcRTBridge.cpp:46
LLVM_ABI const char * RegisterEHFrameSectionAllocActionName
Definition: OrcRTBridge.cpp:70
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceDeinitializeSignature
Definition: OrcRTBridge.h:93
LLVM_ABI const char * RunAsVoidFunctionWrapperName
Definition: OrcRTBridge.cpp:76
LLVM_ABI const char * MemoryWriteBuffersWrapperName
Definition: OrcRTBridge.cpp:52
int64_t(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSString >) SPSRunAsMainSignature
Definition: OrcRTBridge.h:98
LLVM_ABI const char * MemoryReadBuffersWrapperName
Definition: OrcRTBridge.cpp:65
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSString, uint64_t) SPSSimpleExecutorDylibManagerOpenSignature
Definition: OrcRTBridge.h:67
LLVM_ABI const char * RunAsMainWrapperName
Definition: OrcRTBridge.cpp:75
LLVM_ABI const char * SimpleExecutorDylibManagerInstanceName
Definition: OrcRTBridge.cpp:15
int32_t(shared::SPSExecutorAddr, int32_t) SPSRunAsIntFunctionSignature
Definition: OrcRTBridge.h:100
LLVM_ABI const char * MemoryReadUInt8sWrapperName
Definition: OrcRTBridge.cpp:55
LLVM_ABI const char * SimpleExecutorMemoryManagerInstanceName
Definition: OrcRTBridge.cpp:22
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceInitializeWrapperName
Definition: OrcRTBridge.cpp:35
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSimpleExecutorMemoryManagerDeallocateSignature
Definition: OrcRTBridge.h:80
SPSSequence< SPSRemoteSymbolLookupSetElement > SPSRemoteSymbolLookupSet
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18