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

Inherited from LLJIT:

Methods

LLLazyJIT(llvm::orc::LLLazyJITBuilderState& S,
          llvm::Error& Err)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:245

Parameters

llvm::orc::LLLazyJITBuilderState& S
llvm::Error& Err

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::orc::JITDylib& JD
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::ThreadSafeModule M

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)

Description

Sets the partition function.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/LLJIT.h:227

Parameters

CompileOnDemandLayer::PartitionFunction Partition