LLVM 19.0.0git
Public Member Functions | List of all members
llvm::orc::PartitioningIRMaterializationUnit Class Reference
Inheritance diagram for llvm::orc::PartitioningIRMaterializationUnit:
Inheritance graph

Public Member Functions

 PartitioningIRMaterializationUnit (ExecutionSession &ES, const IRSymbolMapper::ManglingOptions &MO, ThreadSafeModule TSM, CompileOnDemandLayer &Parent)
 PartitioningIRMaterializationUnit (ThreadSafeModule TSM, Interface I, SymbolNameToDefinitionMap SymbolToDefinition, CompileOnDemandLayer &Parent)
- Public Member Functions inherited from llvm::orc::IRMaterializationUnit
 IRMaterializationUnit (ExecutionSession &ES, const IRSymbolMapper::ManglingOptions &MO, ThreadSafeModule TSM)
 Create an IRMaterializationLayer.
 IRMaterializationUnit (ThreadSafeModule TSM, Interface I, SymbolNameToDefinitionMap SymbolToDefinition)
 Create an IRMaterializationLayer from a module, and pre-existing SymbolFlags and SymbolToDefinition maps.
StringRef getName () const override
 Return the ModuleIdentifier as the name for this MaterializationUnit.
const ThreadSafeModulegetModule () const
 Return a reference to the contained ThreadSafeModule.
- Public Member Functions inherited from llvm::orc::MaterializationUnit
 MaterializationUnit (Interface I)
virtual ~MaterializationUnit ()=default
virtual StringRef getName () const =0
 Return the name of this materialization unit.
const SymbolFlagsMapgetSymbols () const
 Return the set of symbols that this source provides.
const SymbolStringPtrgetInitializerSymbol () const
 Returns the initialization symbol for this MaterializationUnit (if any).
virtual void materialize (std::unique_ptr< MaterializationResponsibility > R)=0
 Implementations of this method should materialize all symbols in the materialzation unit, except for those that have been previously discarded.
void doDiscard (const JITDylib &JD, const SymbolStringPtr &Name)
 Called by JITDylibs to notify MaterializationUnits that the given symbol has been overridden.

Additional Inherited Members

- Public Types inherited from llvm::orc::IRMaterializationUnit
using SymbolNameToDefinitionMap = std::map< SymbolStringPtr, GlobalValue * >
- Static Public Attributes inherited from llvm::orc::MaterializationUnit
static char ID
- Protected Attributes inherited from llvm::orc::IRMaterializationUnit
ThreadSafeModule TSM
SymbolNameToDefinitionMap SymbolToDefinition
- Protected Attributes inherited from llvm::orc::MaterializationUnit
SymbolFlagsMap SymbolFlags
SymbolStringPtr InitSymbol

Detailed Description

Definition at line 72 of file CompileOnDemandLayer.cpp.

Constructor & Destructor Documentation

◆ PartitioningIRMaterializationUnit() [1/2]

llvm::orc::PartitioningIRMaterializationUnit::PartitioningIRMaterializationUnit ( ExecutionSession ES,
const IRSymbolMapper::ManglingOptions MO,
ThreadSafeModule  TSM,
CompileOnDemandLayer Parent 

Definition at line 74 of file CompileOnDemandLayer.cpp.

◆ PartitioningIRMaterializationUnit() [2/2]

llvm::orc::PartitioningIRMaterializationUnit::PartitioningIRMaterializationUnit ( ThreadSafeModule  TSM,
Interface  I,
SymbolNameToDefinitionMap  SymbolToDefinition,
CompileOnDemandLayer Parent 

Definition at line 80 of file CompileOnDemandLayer.cpp.

The documentation for this class was generated from the following file: