|
Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
|
#include <JitEngineHost.hpp>


Public Member Functions | |
| ~JitEngineHost () | |
| void | specializeIR (Module &M, StringRef FnName, StringRef Suffix, ArrayRef< RuntimeConstant > RCArray) |
| void * | compileAndLink (StringRef FnName, char *IR, int IRSize, void **Args, ArrayRef< RuntimeConstantInfo * > RCInfoArray) |
| std::unique_ptr< MemoryBuffer > | compileOnly (Module &M, bool DisableIROpt=false) |
| void | loadCompiledLibrary (CompiledLibrary &Library) |
| void * | getFunctionAddress (StringRef FnName, CompiledLibrary &Library) |
Public Member Functions inherited from proteus::JitEngine | |
| bool | isProteusDisabled () |
| void | enable () |
| void | disable () |
Static Public Member Functions | |
| static JitEngineHost & | instance () |
| static void | dumpSymbolInfo (const object::ObjectFile &LoadedObj, const RuntimeDyld::LoadedObjectInfo &ObjInfo) |
| static void | notifyLoaded (orc::MaterializationResponsibility &R, const object::ObjectFile &Obj, const RuntimeDyld::LoadedObjectInfo &LOI) |
Public Attributes | |
| std::unique_ptr< orc::LLJIT > | LLJITPtr |
| ExitOnError | ExitOnErr |
Public Attributes inherited from proteus::JitEngine | |
| InitLLVMTargets | Init |
Additional Inherited Members | |
Protected Member Functions inherited from proteus::JitEngine | |
| SmallVector< RuntimeConstant > | getRuntimeConstantValues (void **KernelArgs, ArrayRef< RuntimeConstantInfo * > RCInfoArray) |
| JitEngine () | |
| std::string | mangleSuffix (HashT &HashValue) |
| JitEngineHost::~JitEngineHost | ( | ) |
| void * JitEngineHost::compileAndLink | ( | StringRef | FnName, |
| char * | IR, | ||
| int | IRSize, | ||
| void ** | Args, | ||
| ArrayRef< RuntimeConstantInfo * > | RCInfoArray | ||
| ) |
| std::unique_ptr< MemoryBuffer > JitEngineHost::compileOnly | ( | Module & | M, |
| bool | DisableIROpt = false |
||
| ) |
|
static |
| void * JitEngineHost::getFunctionAddress | ( | StringRef | FnName, |
| CompiledLibrary & | Library | ||
| ) |
|
static |
| void JitEngineHost::loadCompiledLibrary | ( | CompiledLibrary & | Library | ) |
|
static |
| void JitEngineHost::specializeIR | ( | Module & | M, |
| StringRef | FnName, | ||
| StringRef | Suffix, | ||
| ArrayRef< RuntimeConstant > | RCArray | ||
| ) |
| ExitOnError proteus::JitEngineHost::ExitOnErr |
| std::unique_ptr<orc::LLJIT> proteus::JitEngineHost::LLJITPtr |