14 #ifndef LLVM_EXECUTIONENGINE_ORC_LAYER_H 15 #define LLVM_EXECUTIONENGINE_ORC_LAYER_H 37 std::unique_ptr<Module> M) = 0;
64 std::unique_ptr<Module>
M;
76 std::unique_ptr<Module> M);
99 std::unique_ptr<MemoryBuffer> O) = 0;
115 std::unique_ptr<MemoryBuffer>
O);
123 std::unique_ptr<MemoryBuffer>
O;
129 #endif // LLVM_EXECUTIONENGINE_ORC_LAYER_H IRLayer(ExecutionSession &ES)
virtual Error add(VSO &V, VModuleKey K, std::unique_ptr< Module > M)
Adds a MaterializationUnit representing the given IR to the given VSO.
Compute iterated dominance frontiers using a linear time algorithm.
A symbol table that supports asynchoronous symbol queries.
SymbolNameToDefinitionMap SymbolToDefinition
std::unique_ptr< Module > M
uint64_t VModuleKey
VModuleKey provides a unique identifier (allocated and managed by ExecutionSessions) for a module add...
Materializes the given object file (represented by a MemoryBuffer instance) by calling 'emit' on the ...
std::map< SymbolStringPtr, JITSymbolFlags > SymbolFlagsMap
A map from symbol names (as SymbolStringPtrs) to JITSymbolFlags.
std::map< SymbolStringPtr, GlobalValue * > SymbolNameToDefinitionMap
Tracks responsibility for materialization, and mediates interactions between MaterializationUnits and...
virtual void emit(MaterializationResponsibility R, VModuleKey K, std::unique_ptr< Module > M)=0
Emit should materialize the given IR.
IRMaterializationUnit is a convenient base class for MaterializationUnits wrapping LLVM IR...
ExecutionSession & getExecutionSession()
Returns the execution session for this layer.
MaterializationUnit that materializes modules by calling the 'emit' method on the given IRLayer...
ExecutionSession & getExecutionSession()
Returns the ExecutionSession for this layer.
Pointer to a pooled string representing a symbol name.
Interface for layers that accept LLVM IR.
A MaterializationUnit represents a set of symbol definitions that can be materialized as a group...
Module.h This file contains the declarations for the Module class.
An ExecutionSession represents a running JIT program.
Lightweight error class with error context and mandatory checking.
Interface for Layers that accept object files.