Lines Matching defs:SU
85 void releaseSucc(SUnit *SU, const SDep &D);
86 void releaseSuccessors(SUnit *SU);
87 void scheduleNodeTopDown(SUnit *SU, unsigned CurCycle);
113 void ScheduleDAGVLIW::releaseSucc(SUnit *SU, const SDep &D) {
128 SuccSU->setDepthToAtLeast(SU->getDepth() + D.getLatency());
137 void ScheduleDAGVLIW::releaseSuccessors(SUnit *SU) {
139 for (SUnit::succ_iterator I = SU->Succs.begin(), E = SU->Succs.end();
144 releaseSucc(SU, *I);
151 void ScheduleDAGVLIW::scheduleNodeTopDown(SUnit *SU, unsigned CurCycle) {
153 LLVM_DEBUG(dumpNode(*SU));
155 Sequence.push_back(SU);
156 assert(CurCycle >= SU->getDepth() && "Node scheduled above its depth!");
157 SU->setDepthToAtLeast(CurCycle);
159 releaseSuccessors(SU);
160 SU->isScheduled = true;
161 AvailableQueue->scheduledNode(SU);