Lines Matching refs:Roots
344 SmallInstructionVector Roots; member
378 std::map<int64_t,Instruction*> &Roots);
381 void collectInLoopUserSet(const SmallInstructionVector &Roots,
734 const SmallInstructionVector &Roots, in collectInLoopUserSet() argument
738 for (Instruction *Root : Roots) in collectInLoopUserSet()
791 collectPossibleRoots(Instruction *Base, std::map<int64_t,Instruction*> &Roots) { in collectPossibleRoots() argument
823 if (Roots.find(V) != Roots.end()) in collectPossibleRoots()
827 Roots[V] = cast<Instruction>(I); in collectPossibleRoots()
830 if (Roots.empty()) in collectPossibleRoots()
837 if (Roots.find(0) != Roots.end()) { in collectPossibleRoots()
841 Roots[0] = Base; in collectPossibleRoots()
847 NumBaseUses = Roots.begin()->second->getNumUses(); in collectPossibleRoots()
850 for (auto &KV : Roots) { in collectPossibleRoots()
917 } else if (DRS.Roots.empty()) { in findRootsBase()
918 DRS.Roots.push_back(KV.second); in findRootsBase()
920 DRS.Roots.push_back(KV.second); in findRootsBase()
926 DRS.Roots.clear(); in findRootsBase()
957 if (V.Roots.empty() || V.Roots.size() != RootSets[0].Roots.size()) { in findRoots()
981 unsigned N = V.Roots.size() + 1; in findRoots()
982 const SCEV *StepSCEV = SE->getMinusSCEV(SE->getSCEV(V.Roots[0]), ADR); in findRoots()
989 Scale = RootSets[0].Roots.size() + 1; in findRoots()
1012 Exclude.insert(DRS.Roots.begin(), DRS.Roots.end()); in collectUsedInstructions()
1026 for (auto *Root : DRS.Roots) { in collectUsedInstructions()
1052 Exclude.insert(DRS.Roots.begin(), DRS.Roots.end()); in collectUsedInstructions()
1091 if (std::find(DRS.Roots.begin(), DRS.Roots.end(), I) != DRS.Roots.end()) in isRootInst()
1357 if (DRS.Roots[Iter-1] == (Instruction*) Op2) { in validate()