Go to the documentation of this file.
13 #ifndef LLVM_EXECUTIONENGINE_ORC_IRCOMPILELAYER_H
14 #define LLVM_EXECUTIONENGINE_ORC_IRCOMPILELAYER_H
53 std::unique_ptr<IRCompiler> Compile);
59 void emit(std::unique_ptr<MaterializationResponsibility> R,
63 mutable std::mutex IRLayerMutex;
65 std::unique_ptr<IRCompiler> Compile;
73 #endif // LLVM_EXECUTIONENGINE_ORC_IRCOMPILELAYER_H
Tracks responsibility for materialization, and mediates interactions between MaterializationUnits and...
This is an optimization pass for GlobalISel generic memory operations.
Tagged union holding either a T or a Error.
void emit(std::unique_ptr< MaterializationResponsibility > R, ThreadSafeModule TSM) override
Emit should materialize the given IR.
IRCompiler(IRSymbolMapper::ManglingOptions MO)
IRCompileLayer(ExecutionSession &ES, ObjectLayer &BaseLayer, std::unique_ptr< IRCompiler > Compile)
std::function< void(MaterializationResponsibility &R, ThreadSafeModule TSM)> NotifyCompiledFunction
Interface for Layers that accept object files.
IRCompiler & getCompiler()
IRSymbolMapper::ManglingOptions & manglingOptions()
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
print Print MemDeps of function
A Module instance is used to store all the information related to an LLVM module.
virtual Expected< std::unique_ptr< MemoryBuffer > > operator()(Module &M)=0
Machine Check Debug Module
An ExecutionSession represents a running JIT program.
void setNotifyCompiled(NotifyCompiledFunction NotifyCompiled)
const IRSymbolMapper::ManglingOptions & getManglingOptions() const
An LLVM Module together with a shared ThreadSafeContext.
Interface for layers that accept LLVM IR.