Lines Matching refs:SU
56 SUnit *LatencyPriorityQueue::getSingleUnscheduledPred(SUnit *SU) { in getSingleUnscheduledPred() argument
58 for (SUnit::const_pred_iterator I = SU->Preds.begin(), E = SU->Preds.end(); in getSingleUnscheduledPred()
73 void LatencyPriorityQueue::push(SUnit *SU) { in push() argument
77 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in push()
79 if (getSingleUnscheduledPred(I->getSUnit()) == SU) in push()
82 NumNodesSolelyBlocking[SU->NodeNum] = NumNodesBlocking; in push()
84 Queue.push_back(SU); in push()
92 void LatencyPriorityQueue::scheduledNode(SUnit *SU) { in scheduledNode() argument
93 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end(); in scheduledNode()
105 void LatencyPriorityQueue::AdjustPriorityOfUnscheduledPreds(SUnit *SU) { in AdjustPriorityOfUnscheduledPreds() argument
106 if (SU->isAvailable) return; // All preds scheduled. in AdjustPriorityOfUnscheduledPreds()
108 SUnit *OnlyAvailablePred = getSingleUnscheduledPred(SU); in AdjustPriorityOfUnscheduledPreds()
134 void LatencyPriorityQueue::remove(SUnit *SU) { in remove() argument
136 std::vector<SUnit *>::iterator I = std::find(Queue.begin(), Queue.end(), SU); in remove()