Lines Matching defs:DefPath
496 struct DefPath {
504 DefPath(const MemoryLocation &Loc, MemoryAccess *First, MemoryAccess *Last,
508 DefPath(const MemoryLocation &Loc, MemoryAccess *Init,
510 : DefPath(Loc, Init, Init, Previous) {}
520 // List of DefPath to process during the current phi optimization walk.
521 SmallVector<DefPath, 32> Paths;
555 walkToPhiOrClobber(DefPath &Desc, const MemoryAccess *StopAt = nullptr,
632 DefPath &Node = Paths[PathIndex];
722 using def_path_iterator = generic_def_path_iterator<DefPath, ClobberWalker>;
724 generic_def_path_iterator<const DefPath, const ClobberWalker>;
743 ListIndex defPathIndex(const DefPath &N) const {
745 const DefPath *NP = &N;
747 "Out of bounds DefPath!");
813 auto Iter = find_if(def_path(Blocker->LastNode), [&](const DefPath &N) {
818 DefPath &CurNode = *Iter;
945 DefPath FirstDesc(Q.StartingLoc, Current, Current, std::nullopt);