LLVM  14.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 
34 extern const char *MemoryWriteUInt8sWrapperName;
35 extern const char *MemoryWriteUInt16sWrapperName;
36 extern const char *MemoryWriteUInt32sWrapperName;
37 extern const char *MemoryWriteUInt64sWrapperName;
38 extern const char *MemoryWriteBuffersWrapperName;
39 
42 
43 extern const char *RunAsMainWrapperName;
44 
48 
52 
60 
63 
64 } // end namespace rt
65 } // end namespace orc
66 } // end namespace llvm
67 
68 #endif // LLVM_EXECUTIONENGINE_ORC_SHARED_ORCRTBRIDGE_H
TargetProcessControlTypes.h
llvm
This file implements support for optimizing divisions by a constant.
Definition: AllocatorList.h:23
llvm::orc::shared::SPSSequence
SPS tag type for sequences.
Definition: SimplePackedSerialization.h:193
SimpleRemoteEPCUtils.h
llvm::orc::rt::SPSSimpleExecutorMemoryManagerFinalizeSignature
shared::SPSError(shared::SPSExecutorAddr, shared::SPSFinalizeRequest) SPSSimpleExecutorMemoryManagerFinalizeSignature
Definition: OrcRTBridge.h:57
llvm::orc::shared::SPSRemoteSymbolLookupSet
SPSSequence< SPSRemoteSymbolLookupSetElement > SPSRemoteSymbolLookupSet
Definition: SimpleRemoteEPCUtils.h:157
llvm::orc::shared::SPSTuple
SPS tag type for tuples.
Definition: SimplePackedSerialization.h:183
llvm::orc::rt::SimpleExecutorMemoryManagerInstanceName
const char * SimpleExecutorMemoryManagerInstanceName
Definition: OrcRTBridge.cpp:21
llvm::orc::rt::MemoryWriteUInt64sWrapperName
const char * MemoryWriteUInt64sWrapperName
Definition: OrcRTBridge.cpp:35
llvm::orc::rt::SimpleExecutorMemoryManagerFinalizeWrapperName
const char * SimpleExecutorMemoryManagerFinalizeWrapperName
Definition: OrcRTBridge.cpp:25
llvm::orc::rt::SimpleExecutorMemoryManagerDeallocateWrapperName
const char * SimpleExecutorMemoryManagerDeallocateWrapperName
Definition: OrcRTBridge.cpp:27
llvm::orc::rt::MemoryWriteUInt32sWrapperName
const char * MemoryWriteUInt32sWrapperName
Definition: OrcRTBridge.cpp:33
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:55
llvm::orc::rt::MemoryWriteBuffersWrapperName
const char * MemoryWriteBuffersWrapperName
Definition: OrcRTBridge.cpp:37
llvm::orc::rt::SimpleExecutorDylibManagerInstanceName
const char * SimpleExecutorDylibManagerInstanceName
Definition: OrcRTBridge.cpp:15
llvm::orc::shared::SPSExecutorAddr
SPS tag type for executor addresseses.
Definition: SimplePackedSerialization.h:199
StringMap.h
llvm::orc::rt::SPSSimpleExecutorDylibManagerLookupSignature
shared::SPSExpected< shared::SPSSequence< shared::SPSExecutorAddr > >(shared::SPSExecutorAddr, uint64_t, shared::SPSRemoteSymbolLookupSet) SPSSimpleExecutorDylibManagerLookupSignature
Definition: OrcRTBridge.h:51
llvm::orc::rt::MemoryWriteUInt16sWrapperName
const char * MemoryWriteUInt16sWrapperName
Definition: OrcRTBridge.cpp:31
uint64_t
llvm::orc::rt::SPSSimpleExecutorDylibManagerOpenSignature
shared::SPSExpected< uint64_t >(shared::SPSExecutorAddr, shared::SPSString, uint64_t) SPSSimpleExecutorDylibManagerOpenSignature
Definition: OrcRTBridge.h:47
llvm::orc::rt::DeregisterEHFrameSectionCustomDirectWrapperName
const char * DeregisterEHFrameSectionCustomDirectWrapperName
Definition: OrcRTBridge.cpp:41
llvm::orc::shared::SPSExpected
SPS tag type for expecteds, which are either a T or a string representing an error.
Definition: SimplePackedSerialization.h:505
llvm::orc::rt::MemoryWriteUInt8sWrapperName
const char * MemoryWriteUInt8sWrapperName
Definition: OrcRTBridge.cpp:29
ExecutorAddress.h
llvm::orc::rt::SPSRunAsMainSignature
int64_t(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSString >) SPSRunAsMainSignature
Definition: OrcRTBridge.h:62
llvm::orc::rt::RegisterEHFrameSectionCustomDirectWrapperName
const char * RegisterEHFrameSectionCustomDirectWrapperName
Definition: OrcRTBridge.cpp:39
llvm::orc::rt::SimpleExecutorDylibManagerOpenWrapperName
const char * SimpleExecutorDylibManagerOpenWrapperName
Definition: OrcRTBridge.cpp:17
llvm::orc::rt::RunAsMainWrapperName
const char * RunAsMainWrapperName
Definition: OrcRTBridge.cpp:43
llvm::orc::rt::SimpleExecutorMemoryManagerReserveWrapperName
const char * SimpleExecutorMemoryManagerReserveWrapperName
Definition: OrcRTBridge.cpp:23
llvm::orc::rt::SPSSimpleExecutorMemoryManagerDeallocateSignature
shared::SPSError(shared::SPSExecutorAddr, shared::SPSSequence< shared::SPSExecutorAddr >) SPSSimpleExecutorMemoryManagerDeallocateSignature
Definition: OrcRTBridge.h:59