OpenASIP
2.0
|
#include <DDGPass.hh>
Public Member Functions | |
DDGPass (InterPassData &data) | |
virtual | ~DDGPass () |
virtual int | handleDDG (DataDependenceGraph &ddg, SimpleResourceManager &rm, const TTAMachine::Machine &targetMachine, int minCycle=0, bool testOnly=false) |
virtual int | handleLoopDDG (DataDependenceGraph &, SimpleResourceManager &, const TTAMachine::Machine &, int tripCount, SimpleResourceManager *prologRM=NULL, bool testOnly=false) |
Public Member Functions inherited from SchedulerPass | |
SchedulerPass (InterPassData &data) | |
virtual | ~SchedulerPass () |
InterPassData & | interPassData () |
virtual std::string | shortDescription () const =0 |
virtual std::string | longDescription () const |
Definition at line 51 of file DDGPass.hh.
DDGPass::DDGPass | ( | InterPassData & | data | ) |
|
virtual |
|
virtual |
Handles a given DDG.
ddg | DDG to handle |
rm | Resource manager that is to be used. |
machine | The target machine if any. (NullMachine::instance() if target machine is irrelevant). |
In | case handling is unsuccesful for any reason (basicBlock might still get modified). |
Reimplemented in BasicBlockScheduler, BF2Scheduler, and BUBasicBlockScheduler.
Definition at line 63 of file DDGPass.cc.
References abortWithError, SimpleResourceManager::largestCycle(), TTAMachine::Machine::machineTester(), and BoostGraph< GraphNode, GraphEdge >::nodeCount().
|
virtual |
For BasicBlockPass to be able to call this method...
Reimplemented in BUBasicBlockScheduler, BasicBlockScheduler, and BF2Scheduler.
Definition at line 77 of file DDGPass.cc.