MLIR
20.0.0git
|
A simple object cache following Lang's LLJITWithObjectCache example. More...
#include "mlir/ExecutionEngine/ExecutionEngine.h"
Public Member Functions | |
void | notifyObjectCompiled (const llvm::Module *m, llvm::MemoryBufferRef objBuffer) override |
std::unique_ptr< llvm::MemoryBuffer > | getObject (const llvm::Module *m) override |
void | dumpToObjectFile (StringRef filename) |
Dump cached object to output file filename . More... | |
bool | isEmpty () |
Returns true if cache hasn't been populated yet. More... | |
A simple object cache following Lang's LLJITWithObjectCache example.
Definition at line 41 of file ExecutionEngine.h.
void SimpleObjectCache::dumpToObjectFile | ( | StringRef | filename | ) |
Dump cached object to output file filename
.
Definition at line 83 of file ExecutionEngine.cpp.
References mlir::openOutputFile().
|
override |
Definition at line 71 of file ExecutionEngine.cpp.
bool SimpleObjectCache::isEmpty | ( | ) |
Returns true
if cache hasn't been populated yet.
Definition at line 99 of file ExecutionEngine.cpp.
|
override |
Definition at line 65 of file ExecutionEngine.cpp.