Lines Matching refs:KV
725 for (auto &KV : Roots) { in collectPossibleRoots() local
726 if (KV.first == 0) in collectPossibleRoots()
728 if (KV.second->getNumUses() != NumBaseUses) { in collectPossibleRoots()
731 KV.second->getNumUses() << "\n"); in collectPossibleRoots()
788 for (auto &KV : V) { in findRootsBase() local
790 DRS.BaseInst = KV.second; in findRootsBase()
793 DRS.Roots.push_back(KV.second); in findRootsBase()
794 } else if (V.find(KV.first - 1) != V.end()) { in findRootsBase()
795 DRS.Roots.push_back(KV.second); in findRootsBase()
799 DRS.BaseInst = KV.second; in findRootsBase()
1036 for (auto &KV : Uses) { in validate() local
1037 if (KV.second.count() != 1 && !isIgnorableInst(KV.first)) { in validate()
1039 << *KV.first << " (#uses=" << KV.second.count() << ")\n"); in validate()
1045 for (auto &KV : Uses) { in validate()
1046 dbgs() << "LRR: " << KV.second.find_first() << "\t" << *KV.first << "\n"; in validate()
1291 for (auto &KV : Uses) { in replace() local
1292 if (KV.second.find_first() == 0) in replace()
1293 KV.first->replaceUsesOfWith(DRS.BaseInst, NewIV); in replace()