|
LLVM 24.0.0git
|
Classes | |
| class | HandlerSpec |
| Base class for specs that bind handlers for calls with the SPS signature SPSSigT. More... | |
| class | ProxySpec |
| Dispatches proxies for the call described by CI, which must provide: More... | |
| class | ProxySpec< CI, SPSRetTagT(SPSArgTagTs...)> |
Functions | |
| LLVM_ABI Expected< std::unique_ptr< EPCGenericDylibManager > > | createEPCGenericDylibManager (JITDylib &JD) |
| Create an EPCGenericDylibManager for the ORC runtime's NativeDylibManager interface, resolving its symbols in the given JITDylib. | |
| LLVM_ABI Expected< std::unique_ptr< EPCGenericDylibManager > > | createEPCGenericDylibManager (ExecutionSession &ES) |
| Create an EPCGenericDylibManager for the ORC runtime's NativeDylibManager interface, resolving its symbols in the given ExecutionSession's bootstrap JITDylib. | |
| LLVM_ABI Expected< std::unique_ptr< EPCGenericJITLinkMemoryManager > > | createEPCGenericJITLinkMemoryManager (JITDylib &JD) |
| Create an EPCGenericJITLinkMemoryManager for the ORC runtime's SimpleNativeMemoryMap interface, resolving its symbols in the given JITDylib. | |
| LLVM_ABI Expected< std::unique_ptr< EPCGenericJITLinkMemoryManager > > | createEPCGenericJITLinkMemoryManager (ExecutionSession &ES) |
| Create an EPCGenericJITLinkMemoryManager for the ORC runtime's SimpleNativeMemoryMap interface, resolving its symbols in the given ExecutionSession's bootstrap JITDylib. | |
| LLVM_ABI Expected< std::unique_ptr< EPCGenericMemoryAccess > > | createEPCGenericMemoryAccess (JITDylib &JD) |
| Create an EPCGenericMemoryAccess that reaches the memory-access wrappers in the given JITDylib via the runtime's SPS controller interface. | |
| LLVM_ABI Expected< std::unique_ptr< EPCGenericMemoryAccess > > | createEPCGenericMemoryAccess (ExecutionSession &ES) |
| Create an EPCGenericMemoryAccess that reaches the memory-access wrappers in ES's bootstrap JITDylib via the runtime's SPS controller interface. | |
| LLVM_ABI std::unique_ptr< InstanceSymbolGenerator > | createInstanceSymbolGenerator (ExecutorAddr LookupFnAddr) |
| Create an InstanceSymbolGenerator that calls the ORC runtime's SPS instance-symbol lookup function at the given address. | |
| LLVM_ABI Expected< SharedMemoryMapBindings > | createSharedMemoryMapBindings (JITDylib &JD) |
| Build bindings over the SPS controller interface, resolving the operations in the given JITDylib under the specs' default names. | |
| LLVM_ABI Expected< SharedMemoryMapBindings > | createSharedMemoryMapBindings (ExecutionSession &ES) |
| As above, resolving the operations in ES's bootstrap JITDylib. | |
| LLVM_ABI Expected< SimpleMemoryMapBindings > | createSimpleMemoryMapBindings (JITDylib &JD) |
| Build bindings over the SPS controller interface, resolving the operations in the given JITDylib under the specs' default (SimpleNativeMemoryMap) names. | |
| LLVM_ABI Expected< SimpleMemoryMapBindings > | createSimpleMemoryMapBindings (ExecutionSession &ES) |
| As above, resolving the operations in ES's bootstrap JITDylib. | |
SPS proxy for CallInt32Int32Proxy: runs an int32_t(int32_t) function in the executor.
WARNING: This Proxy is experimental and may be removed.
Definition at line 40 of file CallProxiesSPS.h.
SPS proxy for CallInt32VoidProxy: runs an int32_t() function in the executor.
WARNING: This Proxy is experimental and may be removed.
Definition at line 35 of file CallProxiesSPS.h.
SPS proxy for CallMainProxy: runs a main-like function (int(int argc, char *argv[])) in the executor.
Definition at line 26 of file CallProxiesSPS.h.
SPS proxy for CallVoidVoidProxy: runs a void() function in the executor.
WARNING: This Proxy is experimental and may be removed.
Definition at line 30 of file CallProxiesSPS.h.
SPS proxy for DlfcnCloseProxy (dlclose).
Definition at line 31 of file DlfcnSPS.h.
SPS proxy for DlfcnOpenProxy (dlopen).
Definition at line 25 of file DlfcnSPS.h.
SPS proxy for DlfcnUpdateProxy (dlupdate).
Definition at line 28 of file DlfcnSPS.h.
Definition at line 34 of file EPCGenericDylibManagerSPS.h.
Definition at line 35 of file EPCGenericDylibManagerSPS.h.
Definition at line 33 of file SimpleMemoryMapSPS.h.
Definition at line 32 of file SimpleMemoryMapSPS.h.
Definition at line 34 of file SimpleMemoryMapSPS.h.
Definition at line 31 of file SimpleMemoryMapSPS.h.
Definition at line 44 of file EPCGenericMemoryAccessSPS.h.
Definition at line 43 of file EPCGenericMemoryAccessSPS.h.
Definition at line 45 of file EPCGenericMemoryAccessSPS.h.
Definition at line 40 of file EPCGenericMemoryAccessSPS.h.
Definition at line 41 of file EPCGenericMemoryAccessSPS.h.
Definition at line 42 of file EPCGenericMemoryAccessSPS.h.
Definition at line 39 of file EPCGenericMemoryAccessSPS.h.
Definition at line 38 of file EPCGenericMemoryAccessSPS.h.
Definition at line 37 of file EPCGenericMemoryAccessSPS.h.
Definition at line 34 of file EPCGenericMemoryAccessSPS.h.
Definition at line 35 of file EPCGenericMemoryAccessSPS.h.
Definition at line 36 of file EPCGenericMemoryAccessSPS.h.
Definition at line 33 of file EPCGenericMemoryAccessSPS.h.
Definition at line 31 of file InstanceSymbolGeneratorSPS.h.
Definition at line 33 of file SharedMemoryMapSPS.h.
Definition at line 31 of file SharedMemoryMapSPS.h.
Definition at line 35 of file SharedMemoryMapSPS.h.
A ProxySpec per operation, built from the operation's controller-interface descriptor in Shared/SPSCI/SharedMemoryMapperSPSCI.h, which supplies the wrapper name and wire signature.
The specs are public so that clients can resolve the operations under non-default names, using recordProxy<Spec>(&P, Name) with lookupAndApply.
Definition at line 29 of file SharedMemoryMapSPS.h.
| Expected< std::unique_ptr< EPCGenericDylibManager > > llvm::orc::sps::createEPCGenericDylibManager | ( | ExecutionSession & | ES | ) |
Create an EPCGenericDylibManager for the ORC runtime's NativeDylibManager interface, resolving its symbols in the given ExecutionSession's bootstrap JITDylib.
Definition at line 34 of file EPCGenericDylibManagerSPS.cpp.
References createEPCGenericDylibManager(), and llvm::orc::ExecutionSession::getBootstrapJITDylib().
| Expected< std::unique_ptr< EPCGenericDylibManager > > llvm::orc::sps::createEPCGenericDylibManager | ( | JITDylib & | JD | ) |
Create an EPCGenericDylibManager for the ORC runtime's NativeDylibManager interface, resolving its symbols in the given JITDylib.
Definition at line 18 of file EPCGenericDylibManagerSPS.cpp.
References B(), llvm::orc::JITDylib::getExecutionSession(), llvm::orc::lookupAndApply(), llvm::orc::rt::sps_ci::NativeDylibManagerInstanceName, llvm::orc::recordAddr(), and llvm::orc::recordProxy().
Referenced by llvm::orc::InProcessEPC::createDefaultDylibMgr(), llvm::orc::SimpleRemoteEPC::createDefaultDylibMgr(), and createEPCGenericDylibManager().
| Expected< std::unique_ptr< EPCGenericJITLinkMemoryManager > > llvm::orc::sps::createEPCGenericJITLinkMemoryManager | ( | ExecutionSession & | ES | ) |
Create an EPCGenericJITLinkMemoryManager for the ORC runtime's SimpleNativeMemoryMap interface, resolving its symbols in the given ExecutionSession's bootstrap JITDylib.
Definition at line 25 of file EPCGenericJITLinkMemoryManagerSPS.cpp.
References createEPCGenericJITLinkMemoryManager(), and llvm::orc::ExecutionSession::getBootstrapJITDylib().
| Expected< std::unique_ptr< EPCGenericJITLinkMemoryManager > > llvm::orc::sps::createEPCGenericJITLinkMemoryManager | ( | JITDylib & | JD | ) |
Create an EPCGenericJITLinkMemoryManager for the ORC runtime's SimpleNativeMemoryMap interface, resolving its symbols in the given JITDylib.
Definition at line 16 of file EPCGenericJITLinkMemoryManagerSPS.cpp.
References B(), createSimpleMemoryMapBindings(), and llvm::orc::JITDylib::getExecutionSession().
Referenced by llvm::orc::InProcessEPC::createDefaultMemoryManager(), llvm::orc::SimpleRemoteEPC::createDefaultMemoryManager(), and createEPCGenericJITLinkMemoryManager().
| Expected< std::unique_ptr< EPCGenericMemoryAccess > > llvm::orc::sps::createEPCGenericMemoryAccess | ( | ExecutionSession & | ES | ) |
Create an EPCGenericMemoryAccess that reaches the memory-access wrappers in ES's bootstrap JITDylib via the runtime's SPS controller interface.
Definition at line 41 of file EPCGenericMemoryAccessSPS.cpp.
References createEPCGenericMemoryAccess(), and llvm::orc::ExecutionSession::getBootstrapJITDylib().
| Expected< std::unique_ptr< EPCGenericMemoryAccess > > llvm::orc::sps::createEPCGenericMemoryAccess | ( | JITDylib & | JD | ) |
Create an EPCGenericMemoryAccess that reaches the memory-access wrappers in the given JITDylib via the runtime's SPS controller interface.
Definition at line 18 of file EPCGenericMemoryAccessSPS.cpp.
References llvm::orc::JITDylib::getExecutionSession(), llvm::orc::lookupAndApply(), llvm::orc::EPCGenericMemoryAccess::Funcs::ReadBuffers, llvm::orc::EPCGenericMemoryAccess::Funcs::ReadPointers, llvm::orc::EPCGenericMemoryAccess::Funcs::ReadStrings, llvm::orc::EPCGenericMemoryAccess::Funcs::ReadUInt16s, llvm::orc::EPCGenericMemoryAccess::Funcs::ReadUInt32s, llvm::orc::EPCGenericMemoryAccess::Funcs::ReadUInt64s, llvm::orc::EPCGenericMemoryAccess::Funcs::ReadUInt8s, llvm::orc::recordProxy(), llvm::orc::EPCGenericMemoryAccess::Funcs::WriteBuffers, llvm::orc::EPCGenericMemoryAccess::Funcs::WritePointers, llvm::orc::EPCGenericMemoryAccess::Funcs::WriteUInt16s, llvm::orc::EPCGenericMemoryAccess::Funcs::WriteUInt32s, llvm::orc::EPCGenericMemoryAccess::Funcs::WriteUInt64s, and llvm::orc::EPCGenericMemoryAccess::Funcs::WriteUInt8s.
Referenced by llvm::orc::InProcessEPC::createDefaultMemoryAccess(), llvm::orc::SimpleRemoteEPC::createDefaultMemoryAccess(), and createEPCGenericMemoryAccess().
| std::unique_ptr< InstanceSymbolGenerator > llvm::orc::sps::createInstanceSymbolGenerator | ( | ExecutorAddr | LookupFnAddr | ) |
Create an InstanceSymbolGenerator that calls the ORC runtime's SPS instance-symbol lookup function at the given address.
Definition at line 14 of file InstanceSymbolGeneratorSPS.cpp.
Referenced by llvm::orc::ExecutionSession::ExecutionSession().
| Expected< SharedMemoryMapBindings > llvm::orc::sps::createSharedMemoryMapBindings | ( | ExecutionSession & | ES | ) |
As above, resolving the operations in ES's bootstrap JITDylib.
Definition at line 32 of file SharedMemoryMapSPS.cpp.
References createSharedMemoryMapBindings(), and llvm::orc::ExecutionSession::getBootstrapJITDylib().
| Expected< SharedMemoryMapBindings > llvm::orc::sps::createSharedMemoryMapBindings | ( | JITDylib & | JD | ) |
Build bindings over the SPS controller interface, resolving the operations in the given JITDylib under the specs' default names.
Definition at line 16 of file SharedMemoryMapSPS.cpp.
References B(), llvm::orc::lookupAndApply(), llvm::orc::recordAddr(), llvm::orc::recordProxy(), and llvm::orc::rt::sps_ci::SharedMemoryMapperInstanceName.
Referenced by createSharedMemoryMapBindings().
| Expected< SimpleMemoryMapBindings > llvm::orc::sps::createSimpleMemoryMapBindings | ( | ExecutionSession & | ES | ) |
As above, resolving the operations in ES's bootstrap JITDylib.
Definition at line 33 of file SimpleMemoryMapSPS.cpp.
References createSimpleMemoryMapBindings(), and llvm::orc::ExecutionSession::getBootstrapJITDylib().
| Expected< SimpleMemoryMapBindings > llvm::orc::sps::createSimpleMemoryMapBindings | ( | JITDylib & | JD | ) |
Build bindings over the SPS controller interface, resolving the operations in the given JITDylib under the specs' default (SimpleNativeMemoryMap) names.
To bind a different executor-side implementation, use the specs above with recordProxy<Spec>(&P, Name) to resolve its own names instead.
Definition at line 16 of file SimpleMemoryMapSPS.cpp.
References B(), llvm::orc::lookupAndApply(), llvm::orc::recordAddr(), llvm::orc::recordProxy(), and llvm::orc::rt::sps_ci::SimpleNativeMemoryMapInstanceName.
Referenced by createEPCGenericJITLinkMemoryManager(), and createSimpleMemoryMapBindings().