Lines Matching refs:SU
87 void releaseSucc(SUnit *SU, const SDep &D);
88 void releaseSuccessors(SUnit *SU);
89 void scheduleNodeTopDown(SUnit *SU, unsigned CurCycle);
116 void ScheduleDAGVLIW::releaseSucc(SUnit *SU, const SDep &D) {
131 SuccSU->setDepthToAtLeast(SU->getDepth() + D.getLatency());
140 void ScheduleDAGVLIW::releaseSuccessors(SUnit *SU) {
142 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end();
147 releaseSucc(SU, *I);
154 void ScheduleDAGVLIW::scheduleNodeTopDown(SUnit *SU, unsigned CurCycle) {
156 DEBUG(SU->dump(this));
158 Sequence.push_back(SU);
159 assert(CurCycle >= SU->getDepth() && "Node scheduled above its depth!");
160 SU->setDepthToAtLeast(CurCycle);
162 releaseSuccessors(SU);
163 SU->isScheduled = true;
164 AvailableQueue->scheduledNode(SU);