LLVM 20.0.0git
|
A SimpleCompiler that owns its TargetMachine. More...
#include "llvm/ExecutionEngine/Orc/CompileUtils.h"
Public Member Functions | |
TMOwningSimpleCompiler (std::unique_ptr< TargetMachine > TM, ObjectCache *ObjCache=nullptr) | |
Public Member Functions inherited from llvm::orc::SimpleCompiler | |
SimpleCompiler (TargetMachine &TM, ObjectCache *ObjCache=nullptr) | |
Construct a simple compile functor with the given target. | |
void | setObjectCache (ObjectCache *NewCache) |
Set an ObjectCache to query before compiling. | |
Expected< CompileResult > | operator() (Module &M) override |
Compile a Module to an ObjectFile. | |
Public Member Functions inherited from llvm::orc::IRCompileLayer::IRCompiler | |
IRCompiler (IRSymbolMapper::ManglingOptions MO) | |
virtual | ~IRCompiler () |
const IRSymbolMapper::ManglingOptions & | getManglingOptions () const |
virtual Expected< std::unique_ptr< MemoryBuffer > > | operator() (Module &M)=0 |
Additional Inherited Members | |
Public Types inherited from llvm::orc::SimpleCompiler | |
using | CompileResult = std::unique_ptr< MemoryBuffer > |
Protected Member Functions inherited from llvm::orc::IRCompileLayer::IRCompiler | |
IRSymbolMapper::ManglingOptions & | manglingOptions () |
A SimpleCompiler that owns its TargetMachine.
This is convenient for clients who don't want to own their TargetMachines, e.g. LLJIT.
Definition at line 66 of file CompileUtils.h.
|
inline |
Definition at line 68 of file CompileUtils.h.