LLVM 20.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
20
21namespace llvm {
22namespace orc {
23namespace rt {
24
28
33
39
40extern const char *MemoryWriteUInt8sWrapperName;
41extern const char *MemoryWriteUInt16sWrapperName;
42extern const char *MemoryWriteUInt32sWrapperName;
43extern const char *MemoryWriteUInt64sWrapperName;
44extern const char *MemoryWriteBuffersWrapperName;
45extern const char *MemoryWritePointersWrapperName;
46
47extern const char *RegisterEHFrameSectionWrapperName;
49
50extern const char *RunAsMainWrapperName;
51extern const char *RunAsVoidFunctionWrapperName;
52extern const char *RunAsIntFunctionWrapperName;
53
57
62
65 uint64_t);
70
71// ExecutorSharedMemoryMapperService
81 shared::SPSError(shared::SPSExecutorAddr,
85
90} // end namespace rt
91} // end namespace orc
92} // end namespace llvm
93
94#endif // LLVM_EXECUTIONENGINE_ORC_SHARED_ORCRTBRIDGE_H
SPS tag type for expecteds, which are either a T or a string representing an error.
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, uint64_t) SPSSimpleExecutorMemoryManagerReserveSignature
Definition: OrcRTBridge.h:65
const char * SimpleExecutorMemoryManagerFinalizeWrapperName
Definition: OrcRTBridge.cpp:26
const char * MemoryWriteUInt16sWrapperName
Definition: OrcRTBridge.cpp:44
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSSharedMemoryFinalizeRequest) SPSExecutorSharedMemoryMapperServiceInitializeSignature
Definition: OrcRTBridge.h:79
const char * RunAsIntFunctionWrapperName
Definition: OrcRTBridge.cpp:63
const char * ExecutorSharedMemoryMapperServiceInstanceName
Definition: OrcRTBridge.cpp:31
shared::SPSExpected< shared::SPSSequence< shared::SPSExecutorSymbolDef > >(shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSRemoteSymbolLookupSet) SPSSimpleExecutorDylibManagerLookupSignature
Definition: OrcRTBridge.h:61
const char * SimpleExecutorMemoryManagerDeallocateWrapperName
Definition: OrcRTBridge.cpp:28
const char * DeregisterEHFrameSectionWrapperName
Definition: OrcRTBridge.cpp:57
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceReleaseSignature
Definition: OrcRTBridge.h:84
const char * RegisterEHFrameSectionWrapperName
Definition: OrcRTBridge.cpp:55
const char * ExecutorSharedMemoryMapperServiceReserveWrapperName
Definition: OrcRTBridge.cpp:33
const char * SimpleExecutorMemoryManagerReserveWrapperName
Definition: OrcRTBridge.cpp:24
shared::SPSExpected< shared::SPSTuple< shared::SPSExecutorAddr, shared::SPSString > >(shared::SPSExecutorAddr, uint64_t) SPSExecutorSharedMemoryMapperServiceReserveSignature
Definition: OrcRTBridge.h:75
const char * SimpleExecutorDylibManagerOpenWrapperName
Definition: OrcRTBridge.cpp:17
int32_t(shared::SPSExecutorAddr) SPSRunAsVoidFunctionSignature
Definition: OrcRTBridge.h:88
shared::SPSError(shared::SPSExecutorAddr, shared::SPSFinalizeRequest) SPSSimpleExecutorMemoryManagerFinalizeSignature
Definition: OrcRTBridge.h:67
const char * ExecutorSharedMemoryMapperServiceDeinitializeWrapperName
Definition: OrcRTBridge.cpp:37
const char * SimpleExecutorDylibManagerLookupWrapperName
Definition: OrcRTBridge.cpp:19
const char * ExecutorSharedMemoryMapperServiceReleaseWrapperName
Definition: OrcRTBridge.cpp:39
const char * MemoryWriteUInt64sWrapperName
Definition: OrcRTBridge.cpp:48
const char * MemoryWriteUInt8sWrapperName
Definition: OrcRTBridge.cpp:42
const char * MemoryWritePointersWrapperName
Definition: OrcRTBridge.cpp:52
const char * MemoryWriteUInt32sWrapperName
Definition: OrcRTBridge.cpp:46
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceDeinitializeSignature
Definition: OrcRTBridge.h:82
const char * RunAsVoidFunctionWrapperName
Definition: OrcRTBridge.cpp:61
const char * MemoryWriteBuffersWrapperName
Definition: OrcRTBridge.cpp:50
int64_t(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSString >) SPSRunAsMainSignature
Definition: OrcRTBridge.h:87
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSString, uint64_t) SPSSimpleExecutorDylibManagerOpenSignature
Definition: OrcRTBridge.h:56
const char * RunAsMainWrapperName
Definition: OrcRTBridge.cpp:60
const char * SimpleExecutorDylibManagerInstanceName
Definition: OrcRTBridge.cpp:15
int32_t(shared::SPSExecutorAddr, int32_t) SPSRunAsIntFunctionSignature
Definition: OrcRTBridge.h:89
const char * SimpleExecutorMemoryManagerInstanceName
Definition: OrcRTBridge.cpp:22
const char * ExecutorSharedMemoryMapperServiceInitializeWrapperName
Definition: OrcRTBridge.cpp:35
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSimpleExecutorMemoryManagerDeallocateSignature
Definition: OrcRTBridge.h:69
SPSSequence< SPSRemoteSymbolLookupSetElement > SPSRemoteSymbolLookupSet
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18