LLVM: llvm::orc::SimpleCompiler Class Reference (original) (raw)

Simple compile functor: Takes a single IR module and returns an ObjectFile. More...

#include "[llvm/ExecutionEngine/Orc/CompileUtils.h](CompileUtils%5F8h%5Fsource.html)"

Inheritance diagram for llvm::orc::SimpleCompiler:

Public Member Functions
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

Detailed Description

Simple compile functor: Takes a single IR module and returns an ObjectFile.

This compiler supports a single compilation thread and LLVMContext only. For multithreaded compilation, use ConcurrentIRCompiler below.

Definition at line 37 of file CompileUtils.h.

Member Typedef Documentation

CompileResult

Constructor & Destructor Documentation

Member Function Documentation

operator()()

setObjectCache()

void llvm::orc::SimpleCompiler::setObjectCache ( ObjectCache * NewCache) inline

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