LLVM
8.0.1
|
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) |
std::unique_ptr< MemoryBuffer > | operator() (Module &M) |
A thread-safe version of SimpleCompiler.
This class creates a new TargetMachine and SimpleCompiler instance for each compile.
Definition at line 108 of file CompileUtils.h.
|
inline |
Definition at line 110 of file CompileUtils.h.
|
inline |
Definition at line 116 of file CompileUtils.h.
References C, and llvm::cantFail().
|
inline |
Definition at line 114 of file CompileUtils.h.