|
LLVM
10.0.0
|
A thread-safe version of SimpleCompiler. More...
#include "llvm/ExecutionEngine/Orc/CompileUtils.h"
Public Member Functions | |
| ConcurrentIRCompiler (JITTargetMachineBuilder JTMB, ObjectCache *ObjCache=nullptr) | |
| void | setObjectCache (ObjectCache *ObjCache) |
| Expected< std::unique_ptr< MemoryBuffer > > | operator() (Module &M) override |
Public Member Functions inherited from llvm::orc::IRCompileLayer::IRCompiler | |
| IRCompiler (IRMaterializationUnit::ManglingOptions MO) | |
| virtual | ~IRCompiler () |
| const IRMaterializationUnit::ManglingOptions & | getManglingOptions () const |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::orc::IRCompileLayer::IRCompiler | |
| IRMaterializationUnit::ManglingOptions & | manglingOptions () |
A thread-safe version of SimpleCompiler.
This class creates a new TargetMachine and SimpleCompiler instance for each compile.
Definition at line 85 of file CompileUtils.h.
| llvm::orc::ConcurrentIRCompiler::ConcurrentIRCompiler | ( | JITTargetMachineBuilder | JTMB, |
| ObjectCache * | ObjCache = nullptr |
||
| ) |
Definition at line 81 of file CompileUtils.cpp.
|
overridevirtual |
Implements llvm::orc::IRCompileLayer::IRCompiler.
Definition at line 87 of file CompileUtils.cpp.
References C, llvm::cantFail(), llvm::orc::JITTargetMachineBuilder::createTargetMachine(), and llvm::SystemZISD::TM.
|
inline |
Definition at line 90 of file CompileUtils.h.
References llvm::orc::SimpleCompiler::operator()().
1.8.13