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;
45
46extern const char *RegisterEHFrameSectionWrapperName;
48
49extern const char *RunAsMainWrapperName;
50extern const char *RunAsVoidFunctionWrapperName;
51extern const char *RunAsIntFunctionWrapperName;
52
56
61
64 uint64_t);
69
70// ExecutorSharedMemoryMapperService
80 shared::SPSError(shared::SPSExecutorAddr,
84
89} // end namespace rt
90} // end namespace orc
91} // end namespace llvm
92
93#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:64
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:78
const char * RunAsIntFunctionWrapperName
Definition: OrcRTBridge.cpp:61
const char * ExecutorSharedMemoryMapperServiceInstanceName
Definition: OrcRTBridge.cpp:31
shared::SPSExpected< shared::SPSSequence< shared::SPSExecutorSymbolDef > >(shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSRemoteSymbolLookupSet) SPSSimpleExecutorDylibManagerLookupSignature
Definition: OrcRTBridge.h:60
const char * SimpleExecutorMemoryManagerDeallocateWrapperName
Definition: OrcRTBridge.cpp:28
const char * DeregisterEHFrameSectionWrapperName
Definition: OrcRTBridge.cpp:55
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceReleaseSignature
Definition: OrcRTBridge.h:83
const char * RegisterEHFrameSectionWrapperName
Definition: OrcRTBridge.cpp:53
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:74
const char * SimpleExecutorDylibManagerOpenWrapperName
Definition: OrcRTBridge.cpp:17
int32_t(shared::SPSExecutorAddr) SPSRunAsVoidFunctionSignature
Definition: OrcRTBridge.h:87
shared::SPSError(shared::SPSExecutorAddr, shared::SPSFinalizeRequest) SPSSimpleExecutorMemoryManagerFinalizeSignature
Definition: OrcRTBridge.h:66
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 * MemoryWriteUInt32sWrapperName
Definition: OrcRTBridge.cpp:46
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceDeinitializeSignature
Definition: OrcRTBridge.h:81
const char * RunAsVoidFunctionWrapperName
Definition: OrcRTBridge.cpp:59
const char * MemoryWriteBuffersWrapperName
Definition: OrcRTBridge.cpp:50
int64_t(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSString >) SPSRunAsMainSignature
Definition: OrcRTBridge.h:86
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSString, uint64_t) SPSSimpleExecutorDylibManagerOpenSignature
Definition: OrcRTBridge.h:55
const char * RunAsMainWrapperName
Definition: OrcRTBridge.cpp:58
const char * SimpleExecutorDylibManagerInstanceName
Definition: OrcRTBridge.cpp:15
int32_t(shared::SPSExecutorAddr, int32_t) SPSRunAsIntFunctionSignature
Definition: OrcRTBridge.h:88
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:68
SPSSequence< SPSRemoteSymbolLookupSetElement > SPSRemoteSymbolLookupSet
This is an optimization pass for GlobalISel generic memory operations.
Definition: AddressRanges.h:18