Lines Matching refs:SuccSU
521 bool ScheduleDAGMI::canAddEdge(SUnit *SuccSU, SUnit *PredSU) { in canAddEdge() argument
522 return SuccSU == &ExitSU || !Topo.IsReachable(PredSU, SuccSU); in canAddEdge()
525 bool ScheduleDAGMI::addEdge(SUnit *SuccSU, const SDep &PredDep) { in addEdge() argument
526 if (SuccSU != &ExitSU) { in addEdge()
529 if (Topo.IsReachable(PredDep.getSUnit(), SuccSU)) in addEdge()
531 Topo.AddPred(SuccSU, PredDep.getSUnit()); in addEdge()
533 SuccSU->addPred(PredDep, /*Required=*/!PredDep.isArtificial()); in addEdge()
543 SUnit *SuccSU = SuccEdge->getSUnit(); in releaseSucc() local
546 --SuccSU->WeakPredsLeft; in releaseSucc()
548 NextClusterSucc = SuccSU; in releaseSucc()
552 if (SuccSU->NumPredsLeft == 0) { in releaseSucc()
554 SuccSU->dump(this); in releaseSucc()
561 if (SuccSU->TopReadyCycle < SU->TopReadyCycle + SuccEdge->getLatency()) in releaseSucc()
562 SuccSU->TopReadyCycle = SU->TopReadyCycle + SuccEdge->getLatency(); in releaseSucc()
564 --SuccSU->NumPredsLeft; in releaseSucc()
565 if (SuccSU->NumPredsLeft == 0 && SuccSU != &ExitSU) in releaseSucc()
566 SchedImpl->releaseTopNode(SuccSU); in releaseSucc()