Lines Matching refs:Succ
201 for (auto *Succ : successors(BB)) in hasIrreducibleCFG() local
202 if (L.contains(Succ) && !LI.isLoopHeader(Succ) && RPO[BB] > RPO[Succ]) in hasIrreducibleCFG()
251 for (BasicBlock *Succ : successors(BB)) in analyze()
252 if (!TakeFoldCandidate || TheOnlySucc == Succ) { in analyze()
253 if (L.contains(Succ)) in analyze()
254 LiveLoopBlocks.insert(Succ); in analyze()
256 LiveExitBlocks.insert(Succ); in analyze()
299 return any_of(successors(BB), [&](BasicBlock *Succ) { in analyze() argument
300 return BlocksInLoopAfterFolding.count(Succ) && IsEdgeLive(BB, Succ); in analyze()
497 for (auto *Succ : successors(BB)) in foldTerminators() local
498 if (Succ != TheOnlySucc) { in foldTerminators()
499 DeadSuccessors.insert(Succ); in foldTerminators()
502 bool PreserveLCSSAPhi = !L.contains(Succ); in foldTerminators()
503 Succ->removePredecessor(BB, PreserveLCSSAPhi); in foldTerminators()
505 MSSAU->removeEdge(BB, Succ); in foldTerminators()
661 BasicBlock *Succ = cast_or_null<BasicBlock>(Block); in mergeBlocksIntoPredecessors() local
662 if (!Succ) in mergeBlocksIntoPredecessors()
665 BasicBlock *Pred = Succ->getSinglePredecessor(); in mergeBlocksIntoPredecessors()
670 MergeBlockIntoPredecessor(Succ, &DTU, &LI, MSSAU); in mergeBlocksIntoPredecessors()