class TMOwningSimpleCompiler
Declaration
class TMOwningSimpleCompiler : public SimpleCompiler { /* full declaration omitted */ };
Description
A SimpleCompiler that owns its TargetMachine. This convenient for clients who don't want to own their TargetMachines, e.g. LLJIT.
Declared at: llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h:66
Inherits from: SimpleCompiler
Member Variables
- private std::shared_ptr<llvm::TargetMachine> TM
Method Overview
- public TMOwningSimpleCompiler(std::unique_ptr<TargetMachine> TM, llvm::ObjectCache * ObjCache = nullptr)
Inherited from SimpleCompiler:
Inherited from IRCompileLayer::IRCompiler:
Methods
ΒΆTMOwningSimpleCompiler(
std::unique_ptr<TargetMachine> TM,
llvm::ObjectCache* ObjCache = nullptr)
TMOwningSimpleCompiler(
std::unique_ptr<TargetMachine> TM,
llvm::ObjectCache* ObjCache = nullptr)
Declared at: llvm/include/llvm/ExecutionEngine/Orc/CompileUtils.h:68
Parameters
- std::unique_ptr<TargetMachine> TM
- llvm::ObjectCache* ObjCache = nullptr