|
LLVM
3.7.0
|
This is the base ObjectCache type which can be provided to an ExecutionEngine for the purpose of avoiding compilation for Modules that have already been compiled and an object file is available. More...
#include <ObjectCache.h>
Public Member Functions | |
| ObjectCache () | |
| virtual | ~ObjectCache () |
| virtual void | notifyObjectCompiled (const Module *M, MemoryBufferRef Obj)=0 |
| notifyObjectCompiled - Provides a pointer to compiled code for Module M. More... | |
| virtual std::unique_ptr < MemoryBuffer > | getObject (const Module *M)=0 |
| Returns a pointer to a newly allocated MemoryBuffer that contains the object which corresponds with Module M, or 0 if an object is not available. More... | |
This is the base ObjectCache type which can be provided to an ExecutionEngine for the purpose of avoiding compilation for Modules that have already been compiled and an object file is available.
Definition at line 22 of file ObjectCache.h.
|
inline |
Definition at line 25 of file ObjectCache.h.
|
inlinevirtual |
Definition at line 27 of file ObjectCache.h.
|
pure virtual |
Returns a pointer to a newly allocated MemoryBuffer that contains the object which corresponds with Module M, or 0 if an object is not available.
Referenced by llvm::MCJIT::generateCodeForModule().
|
pure virtual |
notifyObjectCompiled - Provides a pointer to compiled code for Module M.
Referenced by llvm::orc::IRCompileLayer< ObjectLayerT >::addModuleSet(), and llvm::MCJIT::emitObject().
1.8.6