Lines Matching refs:CurCycle
181 void ScheduleNodeTopDown(SUnit *SU, unsigned CurCycle);
185 void emitNoop(unsigned CurCycle);
483 void SchedulePostRATDList::ScheduleNodeTopDown(SUnit *SU, unsigned CurCycle) { in ScheduleNodeTopDown() argument
484 DEBUG(dbgs() << "*** Scheduling [" << CurCycle << "]: "); in ScheduleNodeTopDown()
488 assert(CurCycle >= SU->getDepth() && in ScheduleNodeTopDown()
490 SU->setDepthToAtLeast(CurCycle); in ScheduleNodeTopDown()
498 void SchedulePostRATDList::emitNoop(unsigned CurCycle) { in emitNoop() argument
499 DEBUG(dbgs() << "*** Emitting noop in cycle " << CurCycle << '\n'); in emitNoop()
508 unsigned CurCycle = 0; in ListScheduleTopDown() local
541 if (PendingQueue[i]->getDepth() <= CurCycle) { in ListScheduleTopDown()
607 emitNoop(CurCycle); in ListScheduleTopDown()
610 ScheduleNodeTopDown(FoundSUnit, CurCycle); in ListScheduleTopDown()
614 DEBUG(dbgs() << "*** Max instructions per cycle " << CurCycle << '\n'); in ListScheduleTopDown()
616 ++CurCycle; in ListScheduleTopDown()
621 DEBUG(dbgs() << "*** Finished cycle " << CurCycle << '\n'); in ListScheduleTopDown()
626 DEBUG(dbgs() << "*** Stall in cycle " << CurCycle << '\n'); in ListScheduleTopDown()
633 emitNoop(CurCycle); in ListScheduleTopDown()
636 ++CurCycle; in ListScheduleTopDown()