LLVM 20.0.0git
|
#include "llvm/ExecutionEngine/Orc/LLJIT.h"
Public Types | |
using | ObjectLinkingLayerCreator = std::function< Expected< std::unique_ptr< ObjectLayer > >(ExecutionSession &, const Triple &)> |
using | CompileFunctionCreator = std::function< Expected< std::unique_ptr< IRCompileLayer::IRCompiler > >(JITTargetMachineBuilder JTMB)> |
using | ProcessSymbolsJITDylibSetupFunction = unique_function< Expected< JITDylibSP >(LLJIT &J)> |
using | PlatformSetupFunction = unique_function< Expected< JITDylibSP >(LLJIT &J)> |
using | NotifyCreatedFunction = std::function< Error(LLJIT &)> |
Public Member Functions | |
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 |
using llvm::orc::LLJITBuilderState::CompileFunctionCreator = std::function<Expected<std::unique_ptr<IRCompileLayer::IRCompiler> >( JITTargetMachineBuilder JTMB)> |
using llvm::orc::LLJITBuilderState::NotifyCreatedFunction = std::function<Error(LLJIT &)> |
using llvm::orc::LLJITBuilderState::ObjectLinkingLayerCreator = std::function<Expected<std::unique_ptr<ObjectLayer> >(ExecutionSession &, const Triple &)> |
Error llvm::orc::LLJITBuilderState::prepareForConstruction | ( | ) |
Called prior to JIT class construcion to fix up defaults.
Definition at line 684 of file LLJIT.cpp.
References llvm::Triple::aarch64, llvm::orc::JITDylib::addGenerator(), llvm::Triple::arm, llvm::Triple::armeb, llvm::orc::EPCEHFrameRegistrar::Create(), llvm::orc::SelfExecutorProcessControl::Create(), llvm::orc::ExecutionSession::createBareJITDylib(), D, llvm::dbgs(), llvm::orc::JITTargetMachineBuilder::detectHost(), llvm::orc::LLJIT::DL, llvm::orc::LLJIT::ES, G, llvm::Triple::getArch(), llvm::orc::JITDylib::getExecutionSession(), llvm::orc::EPCDynamicLibrarySearchGenerator::GetForTargetProcess(), llvm::DataLayout::getStringRepresentation(), llvm::inconvertibleErrorCode(), llvm::Triple::isOSBinFormatCOFF(), llvm::Triple::isOSBinFormatELF(), llvm::Triple::isPPC64ELFv2ABI(), LLVM_DEBUG, llvm::Triple::loongarch64, llvm::orc::LLJIT::ObjLinkingLayer, llvm::Reloc::PIC_, llvm::Triple::ppc64, llvm::Triple::ppc64le, llvm::Triple::riscv64, llvm::CodeModel::Small, llvm::Error::success(), llvm::Triple::thumb, llvm::Triple::thumbeb, llvm::orc::LLJIT::TT, and llvm::Triple::x86_64.
Referenced by llvm::orc::LLLazyJITBuilderState::prepareForConstruction().
CompileFunctionCreator llvm::orc::LLJITBuilderState::CreateCompileFunction |
Definition at line 325 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::createCompileFunction().
ObjectLinkingLayerCreator llvm::orc::LLJITBuilderState::CreateObjectLinkingLayer |
Definition at line 324 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::createObjectLinkingLayer().
std::optional<DataLayout> llvm::orc::LLJITBuilderState::DL |
std::unique_ptr<ExecutorProcessControl> llvm::orc::LLJITBuilderState::EPC |
Definition at line 318 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().
std::unique_ptr<ExecutionSession> llvm::orc::LLJITBuilderState::ES |
Definition at line 319 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().
std::optional<JITTargetMachineBuilder> llvm::orc::LLJITBuilderState::JTMB |
Definition at line 320 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::createObjectLinkingLayer(), llvm::orc::LLJIT::LLJIT(), and llvm::orc::LLLazyJITBuilderState::prepareForConstruction().
Definition at line 322 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().
NotifyCreatedFunction llvm::orc::LLJITBuilderState::NotifyCreated |
unsigned llvm::orc::LLJITBuilderState::NumCompileThreads = 0 |
unique_function<Error(LLJIT &)> llvm::orc::LLJITBuilderState::PrePlatformSetup |
Definition at line 326 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().
PlatformSetupFunction llvm::orc::LLJITBuilderState::SetUpPlatform |
Definition at line 327 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().
ProcessSymbolsJITDylibSetupFunction llvm::orc::LLJITBuilderState::SetupProcessSymbolsJITDylib |
Definition at line 323 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().
std::optional<bool> llvm::orc::LLJITBuilderState::SupportConcurrentCompilation |
Definition at line 330 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::createCompileFunction(), and llvm::orc::LLJIT::LLJIT().