TPDE
Loading...
Searching...
No Matches
tpde_llvm::ConcurrentOrcCompiler Class Reference

#include <OrcCompiler.hpp>

Public Member Functions

 ConcurrentOrcCompiler (llvm::orc::JITTargetMachineBuilder jtmb)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ConcurrentOrcCompiler()

tpde_llvm::ConcurrentOrcCompiler::ConcurrentOrcCompiler ( llvm::orc::JITTargetMachineBuilder jtmb)
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.


The documentation for this class was generated from the following file: