class LLLazyJIT
Declaration
class LLLazyJIT : public LLJIT { /* full declaration omitted */ };
Description
An extended version of LLJIT that supports lazy function-at-a-time compilation of LLVM IR.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:220
Inherits from: LLJIT
Member Variables
- private std::unique_ptr<LazyCallThroughManager> LCTMgr
- private std::unique_ptr<CompileOnDemandLayer> CODLayer
Inherited from LLJIT:
- protected ES
- protected PS
- protected Main = nullptr
- protected DL
- protected TT
- protected CompileThreads
- protected ObjLinkingLayer
- protected ObjTransformLayer
- protected CompileLayer
- protected TransformLayer
- protected InitHelperTransformLayer
Method Overview
- private LLLazyJIT(llvm::orc::LLLazyJITBuilderState & S, llvm::Error & Err)
- public llvm::Error addLazyIRModule(llvm::orc::JITDylib & JD, llvm::orc::ThreadSafeModule M)
- public llvm::Error addLazyIRModule(llvm::orc::ThreadSafeModule M)
- public llvm::orc::CompileOnDemandLayer & getCompileOnDemandLayer()
- public void setPartitionFunction(CompileOnDemandLayer::PartitionFunction Partition)
Inherited from LLJIT:
- public addIRModule
- public addIRModule
- public addIRModule
- public addObjectFile
- public addObjectFile
- public addObjectFile
- protected applyDataLayout
- protected createCompileFunction
- public createJITDylib
- protected createObjectLinkingLayer
- public deinitialize
- public getDataLayout
- public getExecutionSession
- public getIRCompileLayer
- public getIRTransformLayer
- public getJITDylibByName
- public getMainJITDylib
- public getObjLinkingLayer
- public getObjTransformLayer
- public getPlatformSupport
- public getTargetTriple
- public initialize
- public lookup
- public lookup
- public lookupLinkerMangled
- public lookupLinkerMangled
- public lookupLinkerMangled
- public mangle
- public mangleAndIntern
- protected recordCtorDtors
- public setPlatformSupport
Methods
¶LLLazyJIT(llvm::orc::LLLazyJITBuilderState& S,
llvm::Error& Err)
LLLazyJIT(llvm::orc::LLLazyJITBuilderState& S,
llvm::Error& Err)
Declared at: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:245
Parameters
¶llvm::Error addLazyIRModule(
llvm::orc::JITDylib& JD,
llvm::orc::ThreadSafeModule M)
llvm::Error addLazyIRModule(
llvm::orc::JITDylib& JD,
llvm::orc::ThreadSafeModule M)
Description
Add a module to be lazily compiled to JITDylib JD.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:235
Parameters
¶llvm::Error addLazyIRModule(
llvm::orc::ThreadSafeModule M)
llvm::Error addLazyIRModule(
llvm::orc::ThreadSafeModule M)
Description
Add a module to be lazily compiled to the main JITDylib.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:238
Parameters
¶llvm::orc::CompileOnDemandLayer&
getCompileOnDemandLayer()
llvm::orc::CompileOnDemandLayer&
getCompileOnDemandLayer()
Description
Returns a reference to the on-demand layer.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:232
¶void setPartitionFunction(
CompileOnDemandLayer::PartitionFunction
Partition)
void setPartitionFunction(
CompileOnDemandLayer::PartitionFunction
Partition)
Description
Sets the partition function.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:227
Parameters
- CompileOnDemandLayer::PartitionFunction Partition