Lines Matching refs:Pred

91         for (auto *Pred : MBB->predecessors()) {  in ReachabilityGraph()  local
92 assert(inRegion(Pred)); in ReachabilityGraph()
158 for (auto *Pred : MBB->predecessors()) { in calculate() local
159 if (Reachable[Pred].insert(Succ).second) { in calculate()
160 WorkList.emplace_back(Pred, Succ); in calculate()
177 for (auto *Pred : Looper->predecessors()) { in calculate() local
180 if (!canReach(Looper, Pred)) { in calculate()
182 LoopEnterers[Looper].insert(Pred); in calculate()
212 for (auto *Pred : Entry->predecessors()) { in calculate() local
213 if (!Enterers.count(Pred)) { in calculate()
214 WorkList.push_back(Pred); in calculate()
215 AddedToWorkList.insert(Pred); in calculate()
223 for (auto *Pred : MBB->predecessors()) { in calculate() local
224 if (!AddedToWorkList.count(Pred)) { in calculate()
225 WorkList.push_back(Pred); in calculate()
226 AddedToWorkList.insert(Pred); in calculate()
395 for (auto *Pred : Entry->predecessors()) { in makeSingleEntryLoop() local
396 if (Pred != Dispatch) { in makeSingleEntryLoop()
397 AllPreds.push_back(Pred); in makeSingleEntryLoop()
404 for (auto *Pred : AllPreds) { in makeSingleEntryLoop() local
405 for (auto *Entry : Pred->successors()) { in makeSingleEntryLoop()
408 if (Graph.canReach(Entry, Pred)) { in makeSingleEntryLoop()
409 InLoop.insert(Pred); in makeSingleEntryLoop()
419 for (auto *Pred : AllPreds) { in makeSingleEntryLoop() local
420 bool PredInLoop = InLoop.count(Pred); in makeSingleEntryLoop()
421 for (auto *Entry : Pred->successors()) in makeSingleEntryLoop()
422 if (Entries.count(Entry) && Pred->isLayoutSuccessor(Entry)) in makeSingleEntryLoop()
423 EntryToLayoutPred[{Entry, PredInLoop}] = Pred; in makeSingleEntryLoop()
432 for (auto *Pred : AllPreds) { in makeSingleEntryLoop() local
433 bool PredInLoop = InLoop.count(Pred); in makeSingleEntryLoop()
434 for (auto *Entry : Pred->successors()) { in makeSingleEntryLoop()
441 if (OtherPred != Pred) in makeSingleEntryLoop()
446 MF.insert(Pred->isLayoutSuccessor(Entry) in makeSingleEntryLoop()
462 for (auto *Pred : AllPreds) { in makeSingleEntryLoop() local
463 bool PredInLoop = InLoop.count(Pred); in makeSingleEntryLoop()
465 for (MachineInstr &Term : Pred->terminators()) in makeSingleEntryLoop()
470 for (auto *Succ : Pred->successors()) { in makeSingleEntryLoop()
474 Pred->replaceSuccessor(Succ, Routing); in makeSingleEntryLoop()