LLVM 17.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 | PlatformSetupFunction = std::function< Error(LLJIT &J)> |
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 |
ObjectLinkingLayerCreator | CreateObjectLinkingLayer |
CompileFunctionCreator | CreateCompileFunction |
PlatformSetupFunction | SetUpPlatform |
unsigned | NumCompileThreads = 0 |
using llvm::orc::LLJITBuilderState::CompileFunctionCreator = std::function<Expected<std::unique_ptr<IRCompileLayer::IRCompiler> >( JITTargetMachineBuilder JTMB)> |
using llvm::orc::LLJITBuilderState::ObjectLinkingLayerCreator = std::function<Expected<std::unique_ptr<ObjectLayer> >(ExecutionSession &, const Triple &)> |
using llvm::orc::LLJITBuilderState::PlatformSetupFunction = std::function<Error(LLJIT &J)> |
Error llvm::orc::LLJITBuilderState::prepareForConstruction | ( | ) |
Called prior to JIT class construcion to fix up defaults.
Definition at line 659 of file LLJIT.cpp.
References llvm::Triple::aarch64, llvm::orc::EPCEHFrameRegistrar::Create(), llvm::orc::SelfExecutorProcessControl::Create(), llvm::dbgs(), llvm::orc::JITTargetMachineBuilder::detectHost(), llvm::orc::LLJIT::DL, llvm::orc::LLJIT::ES, llvm::Triple::getArch(), llvm::DataLayout::getStringRepresentation(), llvm::Triple::isOSBinFormatCOFF(), llvm::Triple::isOSBinFormatMachO(), LLVM_DEBUG, llvm::Triple::loongarch64, llvm::orc::LLJIT::ObjLinkingLayer, llvm::Reloc::PIC_, llvm::Triple::riscv64, llvm::CodeModel::Small, llvm::Error::success(), llvm::orc::LLJIT::TT, and llvm::Triple::x86_64.
Referenced by llvm::orc::LLLazyJITBuilderState::prepareForConstruction().
CompileFunctionCreator llvm::orc::LLJITBuilderState::CreateCompileFunction |
Definition at line 268 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::createCompileFunction().
ObjectLinkingLayerCreator llvm::orc::LLJITBuilderState::CreateObjectLinkingLayer |
Definition at line 267 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::createObjectLinkingLayer().
std::optional<DataLayout> llvm::orc::LLJITBuilderState::DL |
Definition at line 266 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().
std::unique_ptr<ExecutorProcessControl> llvm::orc::LLJITBuilderState::EPC |
Definition at line 263 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().
std::unique_ptr<ExecutionSession> llvm::orc::LLJITBuilderState::ES |
Definition at line 264 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().
std::optional<JITTargetMachineBuilder> llvm::orc::LLJITBuilderState::JTMB |
Definition at line 265 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::createObjectLinkingLayer(), llvm::orc::LLJIT::LLJIT(), and llvm::orc::LLLazyJITBuilderState::prepareForConstruction().
unsigned llvm::orc::LLJITBuilderState::NumCompileThreads = 0 |
Definition at line 270 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::createCompileFunction(), and llvm::orc::LLJIT::LLJIT().
PlatformSetupFunction llvm::orc::LLJITBuilderState::SetUpPlatform |
Definition at line 269 of file LLJIT.h.
Referenced by llvm::orc::LLJIT::LLJIT().