LLVM  11.0.0git
Public Member Functions | List of all members
llvm::orc::BasicIRLayerMaterializationUnit Class Reference

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

#include "llvm/ExecutionEngine/Orc/Layer.h"

Inheritance diagram for llvm::orc::BasicIRLayerMaterializationUnit:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::BasicIRLayerMaterializationUnit:
Collaboration graph
[legend]

Public Member Functions

 BasicIRLayerMaterializationUnit (IRLayer &L, const IRSymbolMapper::ManglingOptions &MO, ThreadSafeModule TSM, VModuleKey K)
 
- Public Member Functions inherited from llvm::orc::IRMaterializationUnit
 IRMaterializationUnit (ExecutionSession &ES, const IRSymbolMapper::ManglingOptions &MO, ThreadSafeModule TSM, VModuleKey K)
 Create an IRMaterializationLayer. More...
 
 IRMaterializationUnit (ThreadSafeModule TSM, VModuleKey K, SymbolFlagsMap SymbolFlags, SymbolStringPtr InitSymbol, 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
 Return a reference to the contained ThreadSafeModule. More...
 
- Public Member Functions inherited from llvm::orc::MaterializationUnit
 MaterializationUnit (SymbolFlagsMap InitalSymbolFlags, SymbolStringPtr InitSymbol, VModuleKey K)
 
virtual ~MaterializationUnit ()
 
const SymbolFlagsMapgetSymbols () const
 Return the set of symbols that this source provides. More...
 
const SymbolStringPtrgetInitializerSymbol () const
 Returns the initialization symbol for this MaterializationUnit (if any). 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
 
SymbolStringPtr InitSymbol
 
VModuleKey K
 

Detailed Description

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

Definition at line 113 of file Layer.h.

Constructor & Destructor Documentation

◆ BasicIRLayerMaterializationUnit()

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

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