LLVM 22.0.0git
llvm::orc::rt_bootstrap Namespace Reference

Classes

class  ExecutorSharedMemoryMapperService
class  SimpleExecutorDylibManager
 Simple page-based allocator. More...
class  SimpleExecutorMemoryManager
 Simple page-based allocator. More...

Functions

template<typename WriteT, typename SPSWriteT>
static llvm::orc::shared::CWrapperFunctionResult writeUIntsWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionResult writePointersWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionResult writeBuffersWrapper (const char *ArgData, size_t ArgSize)
template<typename ReadT>
static llvm::orc::shared::CWrapperFunctionResult readUIntsWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionResult readPointersWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionResult readBuffersWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionResult readStringsWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionResult runAsMainWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionResult runAsVoidFunctionWrapper (const char *ArgData, size_t ArgSize)
static llvm::orc::shared::CWrapperFunctionResult runAsIntFunctionWrapper (const char *ArgData, size_t ArgSize)
void addTo (StringMap< ExecutorAddr > &M)

Function Documentation

◆ addTo()

◆ readBuffersWrapper()

llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::readBuffersWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 92 of file OrcRTBootstrap.cpp.

References llvm::release, and llvm::orc::Result.

Referenced by addTo().

◆ readPointersWrapper()

llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::readPointersWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 77 of file OrcRTBootstrap.cpp.

References llvm::orc::ExecutorAddr::fromPtr(), llvm::release, and llvm::orc::Result.

Referenced by addTo().

◆ readStringsWrapper()

llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::readStringsWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 112 of file OrcRTBootstrap.cpp.

References llvm::release, and llvm::orc::Result.

Referenced by addTo().

◆ readUIntsWrapper()

template<typename ReadT>
llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::readUIntsWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 62 of file OrcRTBootstrap.cpp.

References llvm::release, and llvm::orc::Result.

Referenced by addTo().

◆ runAsIntFunctionWrapper()

llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::runAsIntFunctionWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 148 of file OrcRTBootstrap.cpp.

References llvm::release, llvm::orc::runAsIntFunction(), and llvm::orc::ExecutorAddr::toPtr().

Referenced by addTo().

◆ runAsMainWrapper()

llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::runAsMainWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 127 of file OrcRTBootstrap.cpp.

References llvm::release, llvm::orc::runAsMain(), and llvm::orc::ExecutorAddr::toPtr().

Referenced by addTo().

◆ runAsVoidFunctionWrapper()

llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::runAsVoidFunctionWrapper ( const char * ArgData,
size_t ArgSize )
static

◆ writeBuffersWrapper()

llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::writeBuffersWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 49 of file OrcRTBootstrap.cpp.

References llvm::release.

Referenced by addTo().

◆ writePointersWrapper()

llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::writePointersWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 37 of file OrcRTBootstrap.cpp.

References llvm::release.

Referenced by addTo().

◆ writeUIntsWrapper()

template<typename WriteT, typename SPSWriteT>
llvm::orc::shared::CWrapperFunctionResult llvm::orc::rt_bootstrap::writeUIntsWrapper ( const char * ArgData,
size_t ArgSize )
static

Definition at line 26 of file OrcRTBootstrap.cpp.

References llvm::release.

Referenced by addTo().