Lines Matching refs:TerminatedPath
607 struct TerminatedPath { struct in __anon72856b230511::ClobberWalker
621 std::optional<TerminatedPath>
625 SmallVectorImpl<TerminatedPath> &Terminated) { in getBlockingAccess()
669 TerminatedPath Term{Res.Result, PathIndex}; in getBlockingAccess()
737 TerminatedPath PrimaryClobber;
740 SmallVector<TerminatedPath, 4> OtherClobbers;
776 SmallVector<TerminatedPath, 4> TerminatedPaths; in tryOptimizePhi()
782 auto MoveDominatedPathToEnd = [&](SmallVectorImpl<TerminatedPath> &Paths) { in tryOptimizePhi()
801 assert(all_of(TerminatedPaths, [&](const TerminatedPath &P) { in tryOptimizePhi()
808 if (std::optional<TerminatedPath> Blocker = getBlockingAccess( in tryOptimizePhi()
846 TerminatedPath Result{CurNode.Last, defPathIndex(CurNode)}; in tryOptimizePhi()
855 TerminatedPath Result = TerminatedPaths.pop_back_val(); in tryOptimizePhi()
860 SmallVector<TerminatedPath, 4> Clobbers; in tryOptimizePhi()
881 for (const TerminatedPath &TP : TerminatedPaths) { in tryOptimizePhi()
893 TerminatedPath Result = Clobbers.pop_back_val(); in tryOptimizePhi()
914 assert(all_of(R.OtherClobbers, [&](const TerminatedPath &P) { in verifyOptResult()