OpenASIP
2.0
|
#include <MoveNodeSet.hh>
Public Member Functions | |
MoveNodeSet () | |
int | count () const |
MoveNode & | at (int index) |
void | addMoveNode (MoveNode &) |
void | removeMoveNode (MoveNode &) |
std::string | toString () const |
std::vector< MoveNode * >::iterator | begin () |
std::vector< MoveNode * >::iterator | end () |
Private Attributes | |
std::vector< MoveNode * > | moveNodes_ |
Definition at line 41 of file MoveNodeSet.hh.
MoveNodeSet::MoveNodeSet | ( | ) |
void MoveNodeSet::addMoveNode | ( | MoveNode & | newMove | ) |
Add MoveNode to the MoveNodeSet
newMove | New MoveNode to add to set |
Definition at line 62 of file MoveNodeSet.cc.
References moveNodes_.
Referenced by ProgramOperation::addInputNode(), ProgramOperation::addOutputNode(), SequentialScheduler::scheduleMove(), BasicBlockScheduler::scheduleMove(), SequentialScheduler::scheduleOperation(), and BasicBlockScheduler::scheduleOperation().
|
inline |
Referenced by MemoryAliasAnalyzer::addressOperandMove(), LoopAnalyzer::analyze(), OffsetAliasAnalyzer::analyze(), BFSwapOperands::BFSwapOperands(), ExecutionPipelineResource::canAssignSource(), BF2Scheduler::countLoopInvariantValueUsages(), MemoryAliasAnalyzer::detectConstantScale(), LoopAnalyzer::findEndCond(), MemoryAliasAnalyzer::findIncrement(), LoopAnalyzer::findInitAndUpdate(), DataDependenceGraph::findLoopIndexUpdate(), DataDependenceGraph::findLoopLimitAndIndex(), BasicBlockScheduler::findTriggerFromUnit(), StackAliasAnalyzer::getStackOffset(), OffsetAliasAnalyzer::isAddressTraceable(), BF2Scheduler::preAllocateFunctionUnits(), BF2Scheduler::reservePreallocatedFUs(), MemoryAliasAnalyzer::searchLoopIndexBasedIncrement(), BF2Scheduler::swapToUntrigger(), and LoopAnalyzer::tryTrackCommonAncestor().
|
inline |
Definition at line 51 of file MoveNodeSet.hh.
References moveNodes_.
Referenced by ExecutionPipelineResource::nodeOfInputPort().
|
inline |
Referenced by MemoryAliasAnalyzer::addressOperandMove(), LoopAnalyzer::analyze(), OffsetAliasAnalyzer::analyze(), BFSwapOperands::BFSwapOperands(), ExecutionPipelineResource::canAssignSource(), BF2Scheduler::countLoopInvariantValueUsages(), MemoryAliasAnalyzer::detectConstantScale(), LoopAnalyzer::findEndCond(), MemoryAliasAnalyzer::findIncrement(), LoopAnalyzer::findInitAndUpdate(), DataDependenceGraph::findLoopIndexUpdate(), DataDependenceGraph::findLoopLimitAndIndex(), StackAliasAnalyzer::getStackOffset(), OffsetAliasAnalyzer::isAddressTraceable(), BF2Scheduler::preAllocateFunctionUnits(), BF2Scheduler::reservePreallocatedFUs(), MemoryAliasAnalyzer::searchLoopIndexBasedIncrement(), BF2Scheduler::swapToUntrigger(), toString(), and LoopAnalyzer::tryTrackCommonAncestor().
|
inline |
void MoveNodeSet::removeMoveNode | ( | MoveNode & | node | ) |
Definition at line 73 of file MoveNodeSet.cc.
References __func__, and moveNodes_.
Referenced by ProgramOperation::removeInputNode(), and ProgramOperation::removeOutputNode().
std::string MoveNodeSet::toString | ( | ) | const |
Returns the disassembly of the moves in the set in a single line.
Definition at line 48 of file MoveNodeSet.cc.
References count(), and moveNodes_.
|
private |
Definition at line 55 of file MoveNodeSet.hh.
Referenced by addMoveNode(), begin(), end(), removeMoveNode(), and toString().