Lines Matching refs:SuccSU
533 bool ScheduleDAGMI::canAddEdge(SUnit *SuccSU, SUnit *PredSU) { in canAddEdge() argument
534 return SuccSU == &ExitSU || !Topo.IsReachable(PredSU, SuccSU); in canAddEdge()
537 bool ScheduleDAGMI::addEdge(SUnit *SuccSU, const SDep &PredDep) { in addEdge() argument
538 if (SuccSU != &ExitSU) { in addEdge()
541 if (Topo.IsReachable(PredDep.getSUnit(), SuccSU)) in addEdge()
543 Topo.AddPred(SuccSU, PredDep.getSUnit()); in addEdge()
545 SuccSU->addPred(PredDep, /*Required=*/!PredDep.isArtificial()); in addEdge()
555 SUnit *SuccSU = SuccEdge->getSUnit(); in releaseSucc() local
558 --SuccSU->WeakPredsLeft; in releaseSucc()
560 NextClusterSucc = SuccSU; in releaseSucc()
564 if (SuccSU->NumPredsLeft == 0) { in releaseSucc()
566 SuccSU->dump(this); in releaseSucc()
573 if (SuccSU->TopReadyCycle < SU->TopReadyCycle + SuccEdge->getLatency()) in releaseSucc()
574 SuccSU->TopReadyCycle = SU->TopReadyCycle + SuccEdge->getLatency(); in releaseSucc()
576 --SuccSU->NumPredsLeft; in releaseSucc()
577 if (SuccSU->NumPredsLeft == 0 && SuccSU != &ExitSU) in releaseSucc()
578 SchedImpl->releaseTopNode(SuccSU); in releaseSucc()