Lines Matching defs:CurCycle
87 void scheduleNodeTopDown(SUnit *SU, unsigned CurCycle);
151 void ScheduleDAGVLIW::scheduleNodeTopDown(SUnit *SU, unsigned CurCycle) {
152 LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
156 assert(CurCycle >= SU->getDepth() && "Node scheduled above its depth!");
157 SU->setDepthToAtLeast(CurCycle);
167 unsigned CurCycle = 0;
189 if (PendingQueue[i]->getDepth() == CurCycle) {
197 assert(PendingQueue[i]->getDepth() > CurCycle && "Negative latency?");
206 ++CurCycle;
237 scheduleNodeTopDown(FoundSUnit, CurCycle);
242 if (FoundSUnit->Latency) // Don't increment CurCycle for pseudo-ops!
243 ++CurCycle;
250 ++CurCycle;
259 ++CurCycle;