Lines Matching refs:UR
64 LazyCallGraph &G, CGSCCUpdateResult &UR) { in run() argument
92 PassPA = Pass->run(*C, AM, G, UR); in run()
95 if (UR.InvalidatedSCCs.count(C)) in run()
101 C = UR.UpdatedC ? UR.UpdatedC : C; in run()
102 if (UR.UpdatedC) { in run()
111 if (UR.InvalidatedSCCs.count(C)) { in run()
137 UR.CrossSCCPA.intersect(PA); in run()
177 CGSCCUpdateResult UR = { in run() local
272 CGAM.invalidate(*C, UR.CrossSCCPA); in run()
281 LastUpdatedC = UR.UpdatedC; in run()
282 UR.UpdatedRC = nullptr; in run()
283 UR.UpdatedC = nullptr; in run()
294 PassPA = Pass->run(*C, CGAM, CG, UR); in run()
297 if (UR.InvalidatedSCCs.count(C)) in run()
303 C = UR.UpdatedC ? UR.UpdatedC : C; in run()
304 RC = UR.UpdatedRC ? UR.UpdatedRC : RC; in run()
306 if (UR.UpdatedC) { in run()
315 if (UR.InvalidatedSCCs.count(C)) { in run()
334 UR.CrossSCCPA.intersect(PassPA); in run()
346 if (UR.UpdatedC) in run()
350 << *UR.UpdatedC << "\n"); in run()
355 } while (UR.UpdatedC); in run()
377 CGSCCUpdateResult &UR) { in run() argument
419 UR.IndirectVHs.clear(); in run()
421 auto CallCounts = ScanSCC(*C, UR.IndirectVHs); in run()
427 PreservedAnalyses PassPA = Pass->run(*C, AM, CG, UR); in run()
429 if (UR.InvalidatedSCCs.count(C)) in run()
436 if (UR.UpdatedC && UR.UpdatedC != C) { in run()
442 assert(!UR.InvalidatedSCCs.count(C) && "Processing an invalid SCC!"); in run()
446 bool Devirt = llvm::any_of(UR.IndirectVHs, [](auto &P) -> bool { in run()
461 UR.IndirectVHs.clear(); in run()
462 auto NewCallCounts = ScanSCC(*C, UR.IndirectVHs); in run()
524 CGSCCUpdateResult &UR) { in run() argument
577 AM, UR, FAM); in run()
837 CGSCCAnalysisManager &AM, CGSCCUpdateResult &UR) { in incorporateNewSCCRange() argument
844 UR.CWorklist.insert(C); in incorporateNewSCCRange()
883 UR.CWorklist.insert(&NewC); in incorporateNewSCCRange()
899 CGSCCAnalysisManager &AM, CGSCCUpdateResult &UR, in updateCGAndAnalysisManagerForPass() argument
950 auto *Entry = UR.IndirectVHs.find(CB); in updateCGAndAnalysisManagerForPass()
951 if (Entry == UR.IndirectVHs.end()) in updateCGAndAnalysisManagerForPass()
952 UR.IndirectVHs.insert({CB, WeakTrackingVH(CB)}); in updateCGAndAnalysisManagerForPass()
1038 G, N, C, AM, UR); in updateCGAndAnalysisManagerForPass()
1068 UR.InvalidatedRefSCCs.insert(RC); in updateCGAndAnalysisManagerForPass()
1089 UR.RCWorklist.insert(NewRC); in updateCGAndAnalysisManagerForPass()
1123 C, AM, UR); in updateCGAndAnalysisManagerForPass()
1165 UR.InvalidatedSCCs.insert(MergedC); in updateCGAndAnalysisManagerForPass()
1209 UR.CWorklist.insert(C); in updateCGAndAnalysisManagerForPass()
1215 UR.CWorklist.insert(&MovedC); in updateCGAndAnalysisManagerForPass()
1222 assert(!UR.InvalidatedSCCs.count(C) && "Invalidated the current SCC!"); in updateCGAndAnalysisManagerForPass()
1223 assert(!UR.InvalidatedRefSCCs.count(RC) && "Invalidated the current RefSCC!"); in updateCGAndAnalysisManagerForPass()
1229 UR.UpdatedRC = RC; in updateCGAndAnalysisManagerForPass()
1231 UR.UpdatedC = C; in updateCGAndAnalysisManagerForPass()
1238 CGSCCAnalysisManager &AM, CGSCCUpdateResult &UR, in updateCGAndAnalysisManagerForFunctionPass() argument
1240 return updateCGAndAnalysisManagerForPass(G, InitialC, N, AM, UR, FAM, in updateCGAndAnalysisManagerForFunctionPass()
1245 CGSCCAnalysisManager &AM, CGSCCUpdateResult &UR, in updateCGAndAnalysisManagerForCGSCCPass() argument
1247 return updateCGAndAnalysisManagerForPass(G, InitialC, N, AM, UR, FAM, in updateCGAndAnalysisManagerForCGSCCPass()