LLVM  10.0.0svn
Public Member Functions | List of all members
llvm::orc::TMOwningSimpleCompiler Class Reference

A SimpleCompiler that owns its TargetMachine. More...

#include "llvm/ExecutionEngine/Orc/CompileUtils.h"

Inheritance diagram for llvm::orc::TMOwningSimpleCompiler:
Inheritance graph
[legend]
Collaboration diagram for llvm::orc::TMOwningSimpleCompiler:
Collaboration graph
[legend]

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. More...
 
void setObjectCache (ObjectCache *NewCache)
 Set an ObjectCache to query before compiling. More...
 
CompileResult operator() (Module &M)
 Compile a Module to an ObjectFile. More...
 

Additional Inherited Members

- Public Types inherited from llvm::orc::SimpleCompiler
using CompileResult = std::unique_ptr< MemoryBuffer >
 

Detailed Description

A SimpleCompiler that owns its TargetMachine.

This convenient for clients who don't want to own their TargetMachines, e.g. LLJIT.

Definition at line 60 of file CompileUtils.h.

Constructor & Destructor Documentation

◆ TMOwningSimpleCompiler()

llvm::orc::TMOwningSimpleCompiler::TMOwningSimpleCompiler ( std::unique_ptr< TargetMachine TM,
ObjectCache ObjCache = nullptr 
)
inline

Definition at line 62 of file CompileUtils.h.


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