LLVM: llvm::orc::LLJITBuilderState Class Reference (original) (raw)
#include "[llvm/ExecutionEngine/Orc/LLJIT.h](llvm%5F2ExecutionEngine%5F2Orc%5F2LLJIT%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| using | ObjectLinkingLayerCreator |
| using | CompileFunctionCreator |
| using | ProcessSymbolsJITDylibSetupFunction |
| using | PlatformSetupFunction = unique_function<Expected<JITDylibSP>(LLJIT &J)> |
| using | NotifyCreatedFunction = std::function<Error(LLJIT &)> |
| Public Member Functions | |
|---|---|
| LLVM_ABI Error | prepareForConstruction () |
| Called prior to JIT class construcion to fix up defaults. |
| Public Attributes | |
|---|---|
| std::unique_ptr< ExecutorProcessControl > | EPC |
| std::unique_ptr< ExecutionSession > | ES |
| std::optional< JITTargetMachineBuilder > | JTMB |
| std::optional< DataLayout > | DL |
| bool | LinkProcessSymbolsByDefault = true |
| ProcessSymbolsJITDylibSetupFunction | SetupProcessSymbolsJITDylib |
| ObjectLinkingLayerCreator | CreateObjectLinkingLayer |
| CompileFunctionCreator | CreateCompileFunction |
| unique_function< Error(LLJIT &)> | PrePlatformSetup |
| PlatformSetupFunction | SetUpPlatform |
| NotifyCreatedFunction | NotifyCreated |
| unsigned | NumCompileThreads = 0 |
| std::optional< bool > | SupportConcurrentCompilation |
Definition at line 300 of file LLJIT.h.
◆ CompileFunctionCreator
Initial value:
std::function<Expected<std::unique_ptrIRCompileLayer::IRCompiler>(
A utility class for building TargetMachines for JITs.
std::optional< JITTargetMachineBuilder > JTMB
Definition at line 305 of file LLJIT.h.
◆ NotifyCreatedFunction
◆ ObjectLinkingLayerCreator
Initial value:
std::function<Expected<std::unique_ptr>(ExecutionSession &)>
An ExecutionSession represents a running JIT program.
Definition at line 302 of file LLJIT.h.
◆ PlatformSetupFunction
◆ ProcessSymbolsJITDylibSetupFunction
Initial value:
A pre-fabricated ORC JIT stack that can serve as an alternative to MCJIT.
unique_function is a type-erasing functor similar to std::function.
Definition at line 309 of file LLJIT.h.
◆ prepareForConstruction()
| Error llvm::orc::LLJITBuilderState::prepareForConstruction | ( | ) |
|---|
Called prior to JIT class construcion to fix up defaults.
Definition at line 679 of file LLJIT.cpp.
References llvm::Triple::aarch64, llvm::orc::JITDylib::addGenerator(), llvm::Triple::arm, llvm::Triple::armeb, llvm::orc::SelfExecutorProcessControl::Create(), llvm::orc::ExecutionSession::createBareJITDylib(), CreateCompileFunction, CreateObjectLinkingLayer, D(), llvm::dbgs(), llvm::orc::JITTargetMachineBuilder::detectHost(), DL, EPC, ES, G, llvm::orc::JITDylib::getExecutionSession(), llvm::orc::EPCDynamicLibrarySearchGenerator::GetForTargetProcess(), llvm::inconvertibleErrorCode(), JTMB, LinkProcessSymbolsByDefault, LLVM_DEBUG, llvm::Triple::loongarch64, llvm::make_error(), NumCompileThreads, llvm::Reloc::PIC_, llvm::Triple::ppc64, llvm::Triple::ppc64le, llvm::Triple::riscv64, SetUpPlatform, SetupProcessSymbolsJITDylib, llvm::CodeModel::Small, llvm::Error::success(), SupportConcurrentCompilation, llvm::Triple::thumb, llvm::Triple::thumbeb, and llvm::Triple::x86_64.
Referenced by llvm::orc::LLLazyJITBuilderState::prepareForConstruction().
◆ CreateCompileFunction
CompileFunctionCreator llvm::orc::LLJITBuilderState::CreateCompileFunction
◆ CreateObjectLinkingLayer
ObjectLinkingLayerCreator llvm::orc::LLJITBuilderState::CreateObjectLinkingLayer
◆ DL
std::optional<DataLayout> llvm::orc::LLJITBuilderState::DL
◆ EPC
◆ ES
◆ JTMB
◆ LinkProcessSymbolsByDefault
bool llvm::orc::LLJITBuilderState::LinkProcessSymbolsByDefault = true
◆ NotifyCreated
NotifyCreatedFunction llvm::orc::LLJITBuilderState::NotifyCreated
◆ NumCompileThreads
unsigned llvm::orc::LLJITBuilderState::NumCompileThreads = 0
◆ PrePlatformSetup
◆ SetUpPlatform
PlatformSetupFunction llvm::orc::LLJITBuilderState::SetUpPlatform
◆ SetupProcessSymbolsJITDylib
ProcessSymbolsJITDylibSetupFunction llvm::orc::LLJITBuilderState::SetupProcessSymbolsJITDylib
◆ SupportConcurrentCompilation
std::optional<bool> llvm::orc::LLJITBuilderState::SupportConcurrentCompilation
The documentation for this class was generated from the following files: