LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::orc::PartitioningIRMaterializationUnit Class Reference
Inheritance diagram for llvm::orc::PartitioningIRMaterializationUnit:
Inheritance graph
Collaboration diagram for llvm::orc::PartitioningIRMaterializationUnit:
Collaboration graph

Public Member Functions

 PartitioningIRMaterializationUnit (ExecutionSession &ES, ThreadSafeModule TSM, VModuleKey K, CompileOnDemandLayer &Parent)
 PartitioningIRMaterializationUnit (ThreadSafeModule TSM, SymbolFlagsMap SymbolFlags, SymbolNameToDefinitionMap SymbolToDefinition, CompileOnDemandLayer &Parent)
- Public Member Functions inherited from llvm::orc::IRMaterializationUnit
 IRMaterializationUnit (ExecutionSession &ES, ThreadSafeModule TSM, VModuleKey K)
 Create an IRMaterializationLayer. More...
 IRMaterializationUnit (ThreadSafeModule TSM, VModuleKey K, SymbolFlagsMap SymbolFlags, SymbolNameToDefinitionMap SymbolToDefinition)
 Create an IRMaterializationLayer from a module, and pre-existing SymbolFlags and SymbolToDefinition maps. More...
StringRef getName () const override
 Return the ModuleIdentifier as the name for this MaterializationUnit. More...
const ThreadSafeModulegetModule () const
- Public Member Functions inherited from llvm::orc::MaterializationUnit
 MaterializationUnit (SymbolFlagsMap InitalSymbolFlags, VModuleKey K)
virtual ~MaterializationUnit ()
const SymbolFlagsMapgetSymbols () const
 Return the set of symbols that this source provides. More...
void doMaterialize (JITDylib &JD)
 Called by materialization dispatchers (see ExecutionSession::DispatchMaterializationFunction) to trigger materialization of this MaterializationUnit. More...
void doDiscard (const JITDylib &JD, const SymbolStringPtr &Name)
 Called by JITDylibs to notify MaterializationUnits that the given symbol has been overridden. More...

Additional Inherited Members

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

Detailed Description

Definition at line 68 of file CompileOnDemandLayer.cpp.

Constructor & Destructor Documentation

◆ PartitioningIRMaterializationUnit() [1/2]

llvm::orc::PartitioningIRMaterializationUnit::PartitioningIRMaterializationUnit ( ExecutionSession ES,
ThreadSafeModule  TSM,
VModuleKey  K,
CompileOnDemandLayer Parent 

Definition at line 70 of file CompileOnDemandLayer.cpp.

◆ PartitioningIRMaterializationUnit() [2/2]

llvm::orc::PartitioningIRMaterializationUnit::PartitioningIRMaterializationUnit ( ThreadSafeModule  TSM,
SymbolFlagsMap  SymbolFlags,
SymbolNameToDefinitionMap  SymbolToDefinition,
CompileOnDemandLayer Parent 

Definition at line 75 of file CompileOnDemandLayer.cpp.

References llvm_unreachable, and Name.

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