LLVM  10.0.0svn
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
Collaboration diagram for llvm::orc::BasicIRLayerMaterializationUnit:
Collaboration graph

Public Member Functions

 BasicIRLayerMaterializationUnit (IRLayer &L, VModuleKey K, ThreadSafeModule TSM)
- 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

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

Definition at line 99 of file Layer.h.

Constructor & Destructor Documentation

◆ BasicIRLayerMaterializationUnit()

llvm::orc::BasicIRLayerMaterializationUnit::BasicIRLayerMaterializationUnit ( IRLayer L,
VModuleKey  K,
ThreadSafeModule  TSM 

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