Lines Matching defs:CurCycle
183 void ScheduleNodeTopDown(SUnit *SU, unsigned CurCycle);
187 void emitNoop(unsigned CurCycle);
479 void SchedulePostRATDList::ScheduleNodeTopDown(SUnit *SU, unsigned CurCycle) {
480 LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
484 assert(CurCycle >= SU->getDepth() &&
486 SU->setDepthToAtLeast(CurCycle);
494 void SchedulePostRATDList::emitNoop(unsigned CurCycle) {
495 LLVM_DEBUG(dbgs() << "*** Emitting noop in cycle " << CurCycle << '\n');
504 unsigned CurCycle = 0;
537 if (PendingQueue[i]->getDepth() <= CurCycle) {
605 emitNoop(CurCycle);
608 ScheduleNodeTopDown(FoundSUnit, CurCycle);
612 LLVM_DEBUG(dbgs() << "*** Max instructions per cycle " << CurCycle
615 ++CurCycle;
620 LLVM_DEBUG(dbgs() << "*** Finished cycle " << CurCycle << '\n');
625 LLVM_DEBUG(dbgs() << "*** Stall in cycle " << CurCycle << '\n');
632 emitNoop(CurCycle);
635 ++CurCycle;