#include <Loop.h>
Inheritance diagram for Loop:
Public Member Functions | |
Loop (BasicBlock *h, BasicBlock *t, FlowGraph *cfg, BitSet< BasicBlock * > *newBlocks) | |
~Loop () | |
BasicBlock * | getHead () |
BasicBlock * | getTail () |
uint32_t | getNumberOfBlocks () |
uint32_t | getAllBlocks (BasicBlock **arr) |
bool | isBlockIn (uint32_t idx) |
bool | isInnerLoop (Loop *loop) |
bool | isIdenticalLoop (Loop *loop) |
void | print () |
void | setIndex (uint32_t idx) |
uint32_t | getIndex () |
Protected Attributes | |
uint32_t | index |
FlowGraph * | flowGraph |
BitSet< BasicBlock * > * | blocks |
BasicBlock * | head |
BasicBlock * | tail |
|
Definition at line 9 of file Loop.C. References blocks, BitSet< BasicBlock * >::clear(), BitSet< T >::contains(), flowGraph, head, index, BitSet< BasicBlock * >::insert(), Invalid_UInteger_ID, and tail. |
|
Definition at line 5 of file Loop.C. References blocks. |
|
Definition at line 35 of file Loop.C. References ASSERT, blocks, BitSet< BasicBlock * >::contains(), flowGraph, FlowGraph::getBlock(), FlowGraph::getNumOfBasicBlocks(), and BitSet< BasicBlock * >::size(). Referenced by CacheSimulator::selectInstrumentationPoints(). |
|
Definition at line 18 of file Loop.h. References head. Referenced by compareLoopHeaderVaddr(). |
|
Definition at line 27 of file Loop.h. References index. Referenced by print(), and CommonMethods::printInstrumentationPoints(). |
|
Definition at line 20 of file Loop.h. References blocks, and BitSet< BasicBlock * >::size(). Referenced by CacheSimulator::selectInstrumentationPoints(). |
|
Definition at line 19 of file Loop.h. References tail. |
|
Definition at line 22 of file Loop.h. References blocks, and BitSet< BasicBlock * >::contains(). Referenced by isIdenticalLoop(), isInnerLoop(), CommonMethods::printInstrumentationPoints(), and CacheSimulator::selectInstrumentationPoints(). |
|
Definition at line 55 of file Loop.C. References flowGraph, FlowGraph::getNumOfBasicBlocks(), and isBlockIn(). |
|
Definition at line 46 of file Loop.C. References flowGraph, FlowGraph::getNumOfBasicBlocks(), and isBlockIn(). Referenced by FlowGraph::printInnerLoops(). |
|
Reimplemented from Base. Definition at line 23 of file Loop.C. References blocks, BitSet< BasicBlock * >::contains(), flowGraph, BasicBlock::getBaseAddress(), BasicBlock::getIndex(), FlowGraph::getIndex(), getIndex(), FlowGraph::getNumOfBasicBlocks(), head, PRINT_INFOR, and tail. Referenced by FlowGraph::buildLoops(), and FlowGraph::print(). |
|
Definition at line 26 of file Loop.h. References index. Referenced by FlowGraph::buildLoops(). |
|
Definition at line 12 of file Loop.h. Referenced by getAllBlocks(), getNumberOfBlocks(), isBlockIn(), Loop(), print(), and ~Loop(). |
|
Definition at line 11 of file Loop.h. Referenced by getAllBlocks(), isIdenticalLoop(), isInnerLoop(), Loop(), and print(). |
|
|
|
Definition at line 10 of file Loop.h. Referenced by getIndex(), Loop(), and setIndex(). |
|
|