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

#include <OrcCompiler.hpp>

Public Member Functions

 OrcCompiler (LLVMCompiler *compiler, llvm::TargetMachine *tm=nullptr)
 
 OrcCompiler (const llvm::Triple &triple, llvm::TargetMachine *tm=nullptr)
 
 OrcCompiler (llvm::TargetMachine &tm)
 Constructor, compatible with llvm::orc::SimpleCompiler.
 

Detailed Description

ORC Compiler functor using TPDE-LLVM, which can transparently fall back to LLVM's SimpleCompiler (if a target machine is provided). Intended as a typical drop-in replacement for llvm::orc::SimpleCompiler.

Definition at line 20 of file OrcCompiler.hpp.

Constructor & Destructor Documentation

◆ OrcCompiler() [1/2]

tpde_llvm::OrcCompiler::OrcCompiler ( LLVMCompiler * compiler,
llvm::TargetMachine * tm = nullptr )
inline

Constructor. If the TargetMachine non-null, a failure within TPDE (e.g., due to unsupported IR constructs) will fall back to LLVM.

Definition at line 28 of file OrcCompiler.hpp.

◆ OrcCompiler() [2/2]

tpde_llvm::OrcCompiler::OrcCompiler ( const llvm::Triple & triple,
llvm::TargetMachine * tm = nullptr )
inline

Constructor. If the TargetMachine non-null, a failure within TPDE (e.g., due to unsupported IR constructs) will fall back to LLVM.

Definition at line 32 of file OrcCompiler.hpp.


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