|
TPDE
|
#include <OrcCompiler.hpp>
Public Member Functions | |
| ConcurrentOrcCompiler (llvm::orc::JITTargetMachineBuilder jtmb) | |
A very simple thread-safe version of OrcCompiler, intended as a typical drop-in replacement for llvm::orc::ConcurrentIRCompiler. This is not the most efficient way, applications could (and probably should) cache a LLVMCompiler and TargetMachine in thread-local storage.
Definition at line 52 of file OrcCompiler.hpp.
|
inline |
Constructor. For every compilation, a new LLVMCompiler is constructed based on the target triple of the JITTargetMachineBuilder. Likewise, for every fallback, a new TargetMachine is constructed.
Definition at line 59 of file OrcCompiler.hpp.