#include <Memory.h>
|
| Memory (RuntimeManager &_runtimeManager, GasMeter &_gasMeter) |
|
llvm::Value * | loadWord (llvm::Value *_addr) |
|
void | storeWord (llvm::Value *_addr, llvm::Value *_word) |
|
void | storeByte (llvm::Value *_addr, llvm::Value *_byte) |
|
llvm::Value * | getData () |
|
llvm::Value * | getSize () |
|
llvm::Value * | getBytePtr (llvm::Value *_index) |
|
void | copyBytes (llvm::Value *_srcPtr, llvm::Value *_srcSize, llvm::Value *_srcIndex, llvm::Value *_destMemIdx, llvm::Value *_byteCount) |
|
void | require (llvm::Value *_offset, llvm::Value *_size) |
| Requires the amount of memory to for data defined by offset and size. And counts gas fee for that memory. More...
|
|
Definition at line 13 of file Memory.h.
void dev::eth::jit::Memory::copyBytes |
( |
llvm::Value * |
_srcPtr, |
|
|
llvm::Value * |
_srcSize, |
|
|
llvm::Value * |
_srcIndex, |
|
|
llvm::Value * |
_destMemIdx, |
|
|
llvm::Value * |
_byteCount |
|
) |
| |
llvm::Function * dev::eth::jit::Memory::createFunc |
( |
bool |
_isStore, |
|
|
llvm::Type * |
_type |
|
) |
| |
|
private |
llvm::Value * dev::eth::jit::Memory::getBytePtr |
( |
llvm::Value * |
_index | ) |
|
llvm::Value * dev::eth::jit::Memory::getData |
( |
| ) |
|
llvm::Function * dev::eth::jit::Memory::getLoadWordFunc |
( |
| ) |
|
|
private |
llvm::Function * dev::eth::jit::Memory::getRequireFunc |
( |
| ) |
|
|
private |
llvm::Value * dev::eth::jit::Memory::getSize |
( |
| ) |
|
llvm::Function * dev::eth::jit::Memory::getStoreByteFunc |
( |
| ) |
|
|
private |
llvm::Function * dev::eth::jit::Memory::getStoreWordFunc |
( |
| ) |
|
|
private |
llvm::Value * dev::eth::jit::Memory::loadWord |
( |
llvm::Value * |
_addr | ) |
|
void dev::eth::jit::Memory::require |
( |
llvm::Value * |
_offset, |
|
|
llvm::Value * |
_size |
|
) |
| |
Requires the amount of memory to for data defined by offset and size. And counts gas fee for that memory.
Definition at line 199 of file Memory.cpp.
void dev::eth::jit::Memory::storeByte |
( |
llvm::Value * |
_addr, |
|
|
llvm::Value * |
_byte |
|
) |
| |
void dev::eth::jit::Memory::storeWord |
( |
llvm::Value * |
_addr, |
|
|
llvm::Value * |
_word |
|
) |
| |
GasMeter& dev::eth::jit::Memory::m_gasMeter |
|
private |
llvm::Function* dev::eth::jit::Memory::m_loadWord = nullptr |
|
private |
Array dev::eth::jit::Memory::m_memory |
|
private |
llvm::Function* dev::eth::jit::Memory::m_require = nullptr |
|
private |
llvm::Function* dev::eth::jit::Memory::m_storeByte = nullptr |
|
private |
llvm::Function* dev::eth::jit::Memory::m_storeWord = nullptr |
|
private |
The documentation for this class was generated from the following files: