OpenASIP
2.0
|
#include <BasicBlock.hh>
Public Member Functions | |
BasicBlockStatistics () | |
virtual | ~BasicBlockStatistics () |
virtual int | moveCount () const |
virtual int | immediateCount () const |
virtual int | instructionCount () const |
virtual int | bypassedCount () const |
virtual void | setMoveCount (int) |
virtual void | setImmediateCount (int) |
virtual void | setInstructionCount (int) |
virtual void | setBypassedCount (int) |
Private Attributes | |
int | moveCount_ |
int | immediateCount_ |
int | instructionCount_ |
int | bypassedCount_ |
Represents statistics about single basic block.
Definition at line 55 of file BasicBlock.hh.
BasicBlockStatistics::BasicBlockStatistics | ( | ) |
Constructor, creates statistics structure with zero content.
Definition at line 159 of file BasicBlock.cc.
|
virtual |
To prevent compiler warning of virtual destructor.
Definition at line 169 of file BasicBlock.cc.
|
virtual |
Returns bypassed move count from statistics object.
Definition at line 201 of file BasicBlock.cc.
References bypassedCount_.
Referenced by ControlFlowGraph::printStatistics(), TTAProgram::BasicBlock::statistics(), and ControlFlowGraph::statistics().
|
virtual |
Returns immediate count from statistics object.
Definition at line 185 of file BasicBlock.cc.
References immediateCount_.
Referenced by ControlFlowGraph::printStatistics(), TTAProgram::BasicBlock::statistics(), and ControlFlowGraph::statistics().
|
virtual |
Returns instruction count from statistics object.
Definition at line 193 of file BasicBlock.cc.
References instructionCount_.
Referenced by ControlFlowGraph::printStatistics(), and ControlFlowGraph::statistics().
|
virtual |
Returns move count from statistics object.
Definition at line 177 of file BasicBlock.cc.
References moveCount_.
Referenced by ControlFlowGraph::printStatistics(), TTAProgram::BasicBlock::statistics(), and ControlFlowGraph::statistics().
|
virtual |
Sets the bypassed move count in statistic object.
count | number of bypassed moves to store in object |
Definition at line 239 of file BasicBlock.cc.
References bypassedCount_.
Referenced by TTAProgram::BasicBlock::statistics(), and ControlFlowGraph::statistics().
|
virtual |
Sets the immediate count in statistic object.
count | number of immediates to store in object |
Definition at line 220 of file BasicBlock.cc.
References immediateCount_.
Referenced by TTAProgram::BasicBlock::statistics(), and ControlFlowGraph::statistics().
|
virtual |
Sets the instruction count in statistic object.
count | number of instructions to store in object |
Definition at line 230 of file BasicBlock.cc.
References instructionCount_.
Referenced by TTAProgram::BasicBlock::statistics(), and ControlFlowGraph::statistics().
|
virtual |
Sets the move count in statistic object.
count | number of moves to store in object |
Definition at line 210 of file BasicBlock.cc.
References moveCount_.
Referenced by TTAProgram::BasicBlock::statistics(), and ControlFlowGraph::statistics().
|
private |
Definition at line 71 of file BasicBlock.hh.
Referenced by bypassedCount(), and setBypassedCount().
|
private |
Definition at line 69 of file BasicBlock.hh.
Referenced by immediateCount(), and setImmediateCount().
|
private |
Definition at line 70 of file BasicBlock.hh.
Referenced by instructionCount(), and setInstructionCount().
|
private |
Definition at line 68 of file BasicBlock.hh.
Referenced by moveCount(), and setMoveCount().