Lines Matching refs:TerminatedPath
576 struct TerminatedPath { struct in __anonb08d52880511::ClobberWalker
589 Optional<TerminatedPath>
593 SmallVectorImpl<TerminatedPath> &Terminated) { in getBlockingAccess()
635 TerminatedPath Term{Res.Result, PathIndex}; in getBlockingAccess()
703 TerminatedPath PrimaryClobber;
706 SmallVector<TerminatedPath, 4> OtherClobbers;
742 SmallVector<TerminatedPath, 4> TerminatedPaths; in tryOptimizePhi()
748 auto MoveDominatedPathToEnd = [&](SmallVectorImpl<TerminatedPath> &Paths) { in tryOptimizePhi()
767 assert(all_of(TerminatedPaths, [&](const TerminatedPath &P) { in tryOptimizePhi()
774 if (Optional<TerminatedPath> Blocker = getBlockingAccess( in tryOptimizePhi()
812 TerminatedPath Result{CurNode.Last, defPathIndex(CurNode)}; in tryOptimizePhi()
821 TerminatedPath Result = TerminatedPaths.pop_back_val(); in tryOptimizePhi()
826 SmallVector<TerminatedPath, 4> Clobbers; in tryOptimizePhi()
846 for (const TerminatedPath &TP : TerminatedPaths) { in tryOptimizePhi()
858 TerminatedPath Result = Clobbers.pop_back_val(); in tryOptimizePhi()
879 assert(all_of(R.OtherClobbers, [&](const TerminatedPath &P) { in verifyOptResult()