class BasicIRLayerMaterializationUnit

Declaration

class BasicIRLayerMaterializationUnit : public IRMaterializationUnit { /* full declaration omitted */ };

Description

MaterializationUnit that materializes modules by calling the 'emit' method on the given IRLayer.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Layer.h:120

Inherits from: IRMaterializationUnit

Member Variables

private llvm::orc::IRLayer& L

Inherited from IRMaterializationUnit:

protected TSM
protected SymbolToDefinition

Inherited from MaterializationUnit:

protected SymbolFlags
protected InitSymbol
public static ID

Method Overview

  • public BasicIRLayerMaterializationUnit(llvm::orc::IRLayer & L, const IRSymbolMapper::ManglingOptions & MO, llvm::orc::ThreadSafeModule TSM)
  • private void materialize(std::unique_ptr<MaterializationResponsibility> R)

Inherited from IRMaterializationUnit:

Inherited from MaterializationUnit:

Methods

BasicIRLayerMaterializationUnit(
    llvm::orc::IRLayer& L,
    const IRSymbolMapper::ManglingOptions& MO,
    llvm::orc::ThreadSafeModule TSM)

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Layer.h:122

Parameters

llvm::orc::IRLayer& L
const IRSymbolMapper::ManglingOptions& MO
llvm::orc::ThreadSafeModule TSM

void materialize(
    std::unique_ptr<MaterializationResponsibility>
        R)

Description

Implementations of this method should materialize all symbols in the materialzation unit, except for those that have been previously discarded.

Declared at: llvm/include/llvm/ExecutionEngine/Orc/Layer.h:127

Parameters

std::unique_ptr<MaterializationResponsibility> R