Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:SUnit

23 bool latency_sort::operator()(const SUnit *LHS, const SUnit *RHS) const {
56 SUnit *LatencyPriorityQueue::getSingleUnscheduledPred(SUnit *SU) {
57 SUnit *OnlyAvailablePred = nullptr;
58 for (SUnit::const_pred_iterator I = SU->Preds.begin(), E = SU->Preds.end();
60 SUnit &Pred = *I->getSUnit();
73 void LatencyPriorityQueue::push(SUnit *SU) {
77 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end();
92 void LatencyPriorityQueue::scheduledNode(SUnit *SU) {
93 for (SUnit::const_succ_iterator I = SU->Succs.begin(), E = SU->Succs.end();
105 void LatencyPriorityQueue::AdjustPriorityOfUnscheduledPreds(SUnit *SU) {
108 SUnit *OnlyAvailablePred = getSingleUnscheduledPred(SU);
120 SUnit *LatencyPriorityQueue::pop() {
122 std::vector<SUnit *>::iterator Best = Queue.begin();
123 for (std::vector<SUnit *>::iterator I = std::next(Queue.begin()),
127 SUnit *V = *Best;
134 void LatencyPriorityQueue::remove(SUnit *SU) {
136 std::vector<SUnit *>::iterator I = std::find(Queue.begin(), Queue.end(), SU);