Go to the documentation of this file.
33 #ifndef TTA_RESOURCE_CONSTRAINT_ANALYZER_HH
34 #define TTA_RESOURCE_CONSTRAINT_ANALYZER_HH
77 const std::map<
int, std::list<MoveNode*> >& schedule);
void dumpGraphWithStats(DataDependenceGraph &ddg, TCEString dotFileName, const std::map< int, std::list< MoveNode * > > &schedule)
ResourceConstraintAnalyzer(DataDependenceGraph &ddg, SimpleResourceManager &rm, TCEString graphName)
int rfReadPortConstrained_
RFCountMap writePortConstrainedRfs_
SimpleResourceManager & rm_
bool analyzeRegisterAntideps(DataDependenceGraph &ddg, std::ostream &s)
virtual ~ResourceConstraintAnalyzer()
void memoryBoundScheduleResourceUsage(DataDependenceGraph &ddg, TCEString graphName)
void optimalScheduleResourceUsage(DataDependenceGraph &ddg, TCEString graphName)
OperationCountMap operationConstrainedMoves_
MoveNode * findResourceConstrainedParent(MoveNode *child)
bool analyzeMoveNode(const MoveNode &node)
std::map< std::string, int > RFCountMap
void analyzePreSchedule()
DataDependenceGraph & origDDG_
int rfWritePortConstrained_
RFCountMap readPortConstrainedRfs_
std::map< std::string, int > OperationCountMap
std::set< MoveNode * > foundMoves_
int operationConstrained_