Lines Matching defs:CurCycle
79 void scheduleNodeTopDown(SUnit *SU, unsigned CurCycle);
142 void ScheduleDAGVLIW::scheduleNodeTopDown(SUnit *SU, unsigned CurCycle) {
143 LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
147 assert(CurCycle >= SU->getDepth() && "Node scheduled above its depth!");
148 SU->setDepthToAtLeast(CurCycle);
158 unsigned CurCycle = 0;
180 if (PendingQueue[i]->getDepth() == CurCycle) {
188 assert(PendingQueue[i]->getDepth() > CurCycle && "Negative latency?");
197 ++CurCycle;
228 scheduleNodeTopDown(FoundSUnit, CurCycle);
233 if (FoundSUnit->Latency) // Don't increment CurCycle for pseudo-ops!
234 ++CurCycle;
241 ++CurCycle;
250 ++CurCycle;