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
35
38LLVM_ABI extern const char
40LLVM_ABI extern const char
43
44LLVM_ABI extern const char *MemoryWriteUInt8sWrapperName;
50
51LLVM_ABI extern const char *MemoryReadUInt8sWrapperName;
52LLVM_ABI extern const char *MemoryReadUInt16sWrapperName;
53LLVM_ABI extern const char *MemoryReadUInt32sWrapperName;
54LLVM_ABI extern const char *MemoryReadUInt64sWrapperName;
56LLVM_ABI extern const char *MemoryReadBuffersWrapperName;
57LLVM_ABI extern const char *MemoryReadStringsWrapperName;
58
61
63
64LLVM_ABI extern const char *RunAsMainWrapperName;
65LLVM_ABI extern const char *RunAsVoidFunctionWrapperName;
66LLVM_ABI extern const char *RunAsIntFunctionWrapperName;
67
71
75
78 uint64_t);
86
87// ExecutorSharedMemoryMapperService
97 shared::SPSError(shared::SPSExecutorAddr,
101
102// SimpleNativeMemoryMap APIs.
105 uint64_t);
113
118} // end namespace rt
119
120namespace rt_alt {
123} // end namespace rt_alt
124} // end namespace orc
125} // end namespace llvm
126
127#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
LLVM_ABI const char * UnwindInfoManagerRegisterActionName
LLVM_ABI const char * SimpleExecutorMemoryManagerInitializeWrapperName
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, uint64_t) SPSSimpleExecutorMemoryManagerReserveSignature
Definition OrcRTBridge.h:76
int64_t(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSString >) SPSRunAsMainSignature
LLVM_ABI const char * MemoryReadUInt64sWrapperName
LLVM_ABI const char * MemoryWriteUInt16sWrapperName
LLVM_ABI const char * MemoryReadStringsWrapperName
LLVM_ABI const char * MemoryReadUInt16sWrapperName
LLVM_ABI const char * RunAsIntFunctionWrapperName
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceInstanceName
LLVM_ABI const char * MemoryReadPointersWrapperName
int32_t(shared::SPSExecutorAddr) SPSRunAsVoidFunctionSignature
shared::SPSExpected< shared::SPSTuple< shared::SPSExecutorAddr, shared::SPSString > >( shared::SPSExecutorAddr, uint64_t) SPSExecutorSharedMemoryMapperServiceReserveSignature
Definition OrcRTBridge.h:88
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSFinalizeRequest) SPSSimpleExecutorMemoryManagerInitializeSignature
Definition OrcRTBridge.h:79
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSString, uint64_t) SPSSimpleExecutorDylibManagerOpenSignature
Definition OrcRTBridge.h:68
LLVM_ABI const char * DeregisterEHFrameSectionAllocActionName
shared::SPSError( shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSimpleExecutorMemoryManagerDeinitializeSignature
Definition OrcRTBridge.h:82
LLVM_ABI const char * SimpleExecutorDylibManagerResolveWrapperName
LLVM_ABI const char * MemoryReadUInt32sWrapperName
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceReserveWrapperName
LLVM_ABI const char * SimpleExecutorMemoryManagerReserveWrapperName
LLVM_ABI const char * RegisterJITLoaderGDBAllocActionName
LLVM_ABI const char * SimpleExecutorDylibManagerOpenWrapperName
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, shared::SPSFinalizeRequest) SPSSimpleRemoteMemoryMapInitializeSignature
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceDeinitializeWrapperName
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceReleaseWrapperName
LLVM_ABI const char * MemoryWriteUInt64sWrapperName
LLVM_ABI const char * SimpleExecutorMemoryManagerReleaseWrapperName
LLVM_ABI const char * MemoryWriteUInt8sWrapperName
int32_t(shared::SPSExecutorAddr, int32_t) SPSRunAsIntFunctionSignature
LLVM_ABI const char * MemoryWritePointersWrapperName
LLVM_ABI const char * MemoryWriteUInt32sWrapperName
shared::SPSError( shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSimpleRemoteMemoryMapReleaseSignature
LLVM_ABI const char * RegisterEHFrameSectionAllocActionName
LLVM_ABI const char * SimpleExecutorMemoryManagerDeinitializeWrapperName
shared::SPSExpected< shared::SPSSequence< shared::SPSOptional< shared::SPSExecutorSymbolDef > > >( shared::SPSExecutorAddr, shared::SPSRemoteSymbolLookupSet) SPSSimpleExecutorDylibManagerResolveSignature
Definition OrcRTBridge.h:72
LLVM_ABI const char * RunAsVoidFunctionWrapperName
LLVM_ABI const char * MemoryWriteBuffersWrapperName
shared::SPSExpected< shared::SPSExecutorAddr >( shared::SPSExecutorAddr, shared::SPSExecutorAddr, shared::SPSSharedMemoryFinalizeRequest) SPSExecutorSharedMemoryMapperServiceInitializeSignature
Definition OrcRTBridge.h:92
shared::SPSError( shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSimpleExecutorMemoryManagerReleaseSignature
Definition OrcRTBridge.h:84
shared::SPSExpected< shared::SPSExecutorAddr >(shared::SPSExecutorAddr, uint64_t) SPSSimpleRemoteMemoryMapReserveSignature
LLVM_ABI const char * MemoryReadBuffersWrapperName
LLVM_ABI const char * RunAsMainWrapperName
shared::SPSError( shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSimpleRemoteMemoryMapDeinitializeSignature
LLVM_ABI const char * SimpleExecutorDylibManagerInstanceName
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceDeinitializeSignature
Definition OrcRTBridge.h:96
LLVM_ABI const char * MemoryReadUInt8sWrapperName
LLVM_ABI const char * SimpleExecutorMemoryManagerInstanceName
LLVM_ABI const char * ExecutorSharedMemoryMapperServiceInitializeWrapperName
shared::SPSError( shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSExecutorSharedMemoryMapperServiceReleaseSignature
Definition OrcRTBridge.h:99
SPSTuple< SPSSequence< SPSSegFinalizeRequest >, SPSSequence< SPSAllocActionCallPair > > SPSFinalizeRequest
SPSSequence< char > SPSString
SPS tag type for strings, which are equivalent to sequences of chars.
SPSSequence< SPSRemoteSymbolLookupSetElement > SPSRemoteSymbolLookupSet
SPSTuple< SPSSequence< SPSSharedMemorySegFinalizeRequest >, SPSSequence< SPSAllocActionCallPair > > SPSSharedMemoryFinalizeRequest
This is an optimization pass for GlobalISel generic memory operations.