Lines Matching defs:CurCycle
189 void ScheduleNodeTopDown(SUnit *SU, unsigned CurCycle);
193 void emitNoop(unsigned CurCycle);
494 void SchedulePostRATDList::ScheduleNodeTopDown(SUnit *SU, unsigned CurCycle) {
495 LLVM_DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: ");
499 assert(CurCycle >= SU->getDepth() &&
501 SU->setDepthToAtLeast(CurCycle);
509 void SchedulePostRATDList::emitNoop(unsigned CurCycle) {
510 LLVM_DEBUG(dbgs() << "*** Emitting noop in cycle " << CurCycle << '\n');
519 unsigned CurCycle = 0;
552 if (PendingQueue[i]->getDepth() <= CurCycle) {
620 emitNoop(CurCycle);
623 ScheduleNodeTopDown(FoundSUnit, CurCycle);
627 LLVM_DEBUG(dbgs() << "*** Max instructions per cycle " << CurCycle
630 ++CurCycle;
635 LLVM_DEBUG(dbgs() << "*** Finished cycle " << CurCycle << '\n');
640 LLVM_DEBUG(dbgs() << "*** Stall in cycle " << CurCycle << '\n');
647 emitNoop(CurCycle);
650 ++CurCycle;