LLVM 20.0.0git
|
Public Member Functions | |
PartitioningIRMaterializationUnit (ExecutionSession &ES, const IRSymbolMapper::ManglingOptions &MO, ThreadSafeModule TSM, IRPartitionLayer &Parent) | |
PartitioningIRMaterializationUnit (ThreadSafeModule TSM, Interface I, SymbolNameToDefinitionMap SymbolToDefinition, IRPartitionLayer &Parent) | |
![]() | |
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 ThreadSafeModule & | getModule () const |
Return a reference to the contained ThreadSafeModule. | |
![]() | |
MaterializationUnit (Interface I) | |
virtual | ~MaterializationUnit ()=default |
virtual StringRef | getName () const =0 |
Return the name of this materialization unit. | |
const SymbolFlagsMap & | getSymbols () const |
Return the set of symbols that this source provides. | |
const SymbolStringPtr & | getInitializerSymbol () 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 | |
![]() | |
using | SymbolNameToDefinitionMap = std::map< SymbolStringPtr, GlobalValue * > |
![]() | |
static char | ID |
![]() | |
ThreadSafeModule | TSM |
SymbolNameToDefinitionMap | SymbolToDefinition |
![]() | |
SymbolFlagsMap | SymbolFlags |
SymbolStringPtr | InitSymbol |
Definition at line 68 of file IRPartitionLayer.cpp.
|
inline |
Definition at line 70 of file IRPartitionLayer.cpp.
|
inline |
Definition at line 76 of file IRPartitionLayer.cpp.