#include <Cache.h>
|
static ObjectCache * | init (CacheMode _mode, JITListener *_listener) |
|
static std::unique_ptr< llvm::Module > | getObject (std::string const &id, llvm::LLVMContext &_llvmContext) |
|
static void | clear () |
| Clears cache storage. More...
|
|
static void | preload (llvm::ExecutionEngine &_ee, std::unordered_map< std::string, uint64_t > &_funcCache, llvm::LLVMContext &_llvmContext) |
| Loads all available cached objects to ExecutionEngine. More...
|
|
Definition at line 46 of file Cache.h.
void dev::evmjit::Cache::clear |
( |
| ) |
|
|
static |
Clears cache storage.
Definition at line 69 of file Cache.cpp.
std::unique_ptr< llvm::Module > dev::evmjit::Cache::getObject |
( |
std::string const & |
id, |
|
|
llvm::LLVMContext & |
_llvmContext |
|
) |
| |
|
static |
void dev::evmjit::Cache::preload |
( |
llvm::ExecutionEngine & |
_ee, |
|
|
std::unordered_map< std::string, uint64_t > & |
_funcCache, |
|
|
llvm::LLVMContext & |
_llvmContext |
|
) |
| |
|
static |
Loads all available cached objects to ExecutionEngine.
Definition at line 79 of file Cache.cpp.
The documentation for this class was generated from the following files:
- src/cpp-ethereum/evmjit/libevmjit/Cache.h
- src/cpp-ethereum/evmjit/libevmjit/Cache.cpp