#include <Function.h>
Public Member Functions | |
MemoryOperation (Instruction insn, uint64_t addr, BasicBlock *bb, uint32_t idx) | |
~MemoryOperation () | |
bool | isDForm () |
bool | isDsForm () |
bool | isXForm () |
void | print () |
Operand | getAddressOperand1 () |
Operand | getAddressOperand2 () |
HashCode | getHashCode () |
BasicBlock * | getBasicBlock () |
uint32_t | getIndex () |
uint64_t | getInsnAddr () |
Instruction | getInstruction () |
Private Attributes | |
Instruction | instruction |
uint32_t | offset |
BasicBlock * | basicBlock |
uint32_t | index |
HashCode | hashCode |
|
Definition at line 160 of file Function.C. References ASSERT, basicBlock, BasicBlock::getBaseAddress(), BasicBlock::getFlowGraph(), FlowGraph::getFunction(), BasicBlock::getIndex(), Function::getIndex(), RawSection::getIndex(), FlowGraph::getRawSection(), hashCode, index, Instruction::isMemoryOperation(), and offset. |
|
Definition at line 29 of file Function.h. |
|
Definition at line 172 of file Function.C. References Instruction::getDFormSrc1(), Instruction::getXFormSrc1(), instruction, isDForm(), isDsForm(), and isXForm(). Referenced by CacheSimulator::byteCountForInst(), CacheSimulator::generateCodeForInst(), and print(). |
|
Definition at line 185 of file Function.C. References Instruction::getDFormImmediate(), Instruction::getDsFormImmediate(), Instruction::getXFormSrc2(), instruction, isDForm(), isDsForm(), Instruction::isMemoryXFormButNoSrc2(), isXForm(), and offset. Referenced by CacheSimulator::byteCountForInst(), CacheSimulator::generateCodeForInst(), and print(). |
|
Definition at line 37 of file Function.h. References basicBlock. |
|
Definition at line 36 of file Function.h. References hashCode. Referenced by print(). |
|
Definition at line 38 of file Function.h. References index. |
|
Definition at line 216 of file Function.C. References basicBlock, BasicBlock::getBaseAddress(), and offset. Referenced by CacheSimulator::byteCountForInst(), and CacheSimulator::generateCodeForInst(). |
|
Definition at line 40 of file Function.h. References instruction. Referenced by CacheSimulator::byteCountForInst(), and CacheSimulator::generateCodeForInst(). |
|
Definition at line 200 of file Function.C. References instruction, and Instruction::isMemoryDForm(). Referenced by getAddressOperand1(), and getAddressOperand2(). |
|
Definition at line 203 of file Function.C. References instruction, and Instruction::isMemoryDsForm(). Referenced by getAddressOperand1(), and getAddressOperand2(). |
|
Definition at line 206 of file Function.C. References instruction, and Instruction::isMemoryXForm(). Referenced by getAddressOperand1(), and getAddressOperand2(). |
|
Definition at line 209 of file Function.C. References basicBlock, getAddressOperand1(), getAddressOperand2(), BasicBlock::getBaseAddress(), getHashCode(), HashCode::getValue(), index, offset, Operand::print(), and PRINT_INFOR. Referenced by CacheSimulator::generateCodeForInst(), and BasicBlock::print(). |
|
Definition at line 24 of file Function.h. Referenced by getBasicBlock(), getInsnAddr(), MemoryOperation(), and print(). |
|
Definition at line 26 of file Function.h. Referenced by getHashCode(), and MemoryOperation(). |
|
Definition at line 25 of file Function.h. Referenced by getIndex(), MemoryOperation(), and print(). |
|
Definition at line 22 of file Function.h. Referenced by getAddressOperand1(), getAddressOperand2(), getInstruction(), isDForm(), isDsForm(), and isXForm(). |
|
Definition at line 23 of file Function.h. Referenced by getAddressOperand2(), getInsnAddr(), MemoryOperation(), and print(). |