reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Analysis/CGSCCPassManager.cpp
  558     assert(G.lookupRefSCC(N) == RC && "Failed to update current RefSCC!");
lib/Analysis/LazyCallGraph.cpp
  359         if (G->lookupRefSCC(E.getNode()) == &RC)
  381           auto *ChildRC = G->lookupRefSCC(E.getNode());
  689   assert(G->lookupRefSCC(SourceN) == this &&
  691   assert(G->lookupRefSCC(TargetN) == this &&
  711   assert(G->lookupRefSCC(SourceN) == this &&
  713   assert(G->lookupRefSCC(TargetN) == this &&
  891   assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
  892   assert(G->lookupRefSCC(TargetN) != this &&
  913   assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
  914   assert(G->lookupRefSCC(TargetN) != this &&
  933   assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
  934   assert(G->lookupRefSCC(TargetN) == this && "Target must be in this RefSCC.");
  949   assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
  951   assert(G->lookupRefSCC(TargetN) != this &&
  966   assert(G->lookupRefSCC(TargetN) == this && "Target must be in this RefSCC.");
  967   RefSCC &SourceC = *G->lookupRefSCC(SourceN);
 1001             if (Set.count(G->lookupRefSCC(E.getNode())))
 1026             RefSCC &EdgeRC = *G->lookupRefSCC(E.getNode());
 1109   assert(G->lookupRefSCC(SourceN) == this &&
 1111   assert(G->lookupRefSCC(TargetN) != this &&
 1370   assert(G->lookupRefSCC(SourceN) == this && "Source must be in this RefSCC.");
 1371   RefSCC &TargetRC = *G->lookupRefSCC(TargetN);
 1452   assert(G->lookupRefSCC(N) == this &&
unittests/Analysis/LazyCallGraphTest.cpp
  566   EXPECT_EQ(&RC, CG.lookupRefSCC(N1));
  567   EXPECT_EQ(&RC, CG.lookupRefSCC(N2));
  568   EXPECT_EQ(&RC, CG.lookupRefSCC(N3));
  569   EXPECT_EQ(&RC, CG.lookupRefSCC(N4));
  570   EXPECT_EQ(&RC, CG.lookupRefSCC(N5));
  619   LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A);
  620   LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B);
  621   LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C);
  622   LazyCallGraph::RefSCC &DRC = *CG.lookupRefSCC(D);
  662   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  663   EXPECT_EQ(&BRC, CG.lookupRefSCC(B));
  664   EXPECT_EQ(&CRC, CG.lookupRefSCC(C));
  665   EXPECT_EQ(&DRC, CG.lookupRefSCC(D));
  683   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  684   EXPECT_EQ(&BRC, CG.lookupRefSCC(B));
  685   EXPECT_EQ(&CRC, CG.lookupRefSCC(C));
  686   EXPECT_EQ(&DRC, CG.lookupRefSCC(D));
  704   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  705   EXPECT_EQ(&BRC, CG.lookupRefSCC(B));
  706   EXPECT_EQ(&CRC, CG.lookupRefSCC(C));
  707   EXPECT_EQ(&DRC, CG.lookupRefSCC(D));
  725   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  726   EXPECT_EQ(&BRC, CG.lookupRefSCC(B));
  727   EXPECT_EQ(&CRC, CG.lookupRefSCC(C));
  728   EXPECT_EQ(&DRC, CG.lookupRefSCC(D));
  769   LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A1);
  770   LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B1);
  771   LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C1);
  772   LazyCallGraph::RefSCC &DRC = *CG.lookupRefSCC(D1);
  773   ASSERT_EQ(&ARC, CG.lookupRefSCC(A2));
  774   ASSERT_EQ(&ARC, CG.lookupRefSCC(A3));
  775   ASSERT_EQ(&BRC, CG.lookupRefSCC(B2));
  776   ASSERT_EQ(&BRC, CG.lookupRefSCC(B3));
  777   ASSERT_EQ(&CRC, CG.lookupRefSCC(C2));
  778   ASSERT_EQ(&CRC, CG.lookupRefSCC(C3));
  779   ASSERT_EQ(&DRC, CG.lookupRefSCC(D2));
  780   ASSERT_EQ(&DRC, CG.lookupRefSCC(D3));
  808   EXPECT_EQ(&ARC, CG.lookupRefSCC(A1));
  809   EXPECT_EQ(&ARC, CG.lookupRefSCC(A2));
  810   EXPECT_EQ(&ARC, CG.lookupRefSCC(A3));
  811   EXPECT_EQ(&BRC, CG.lookupRefSCC(B1));
  812   EXPECT_EQ(&BRC, CG.lookupRefSCC(B2));
  813   EXPECT_EQ(&BRC, CG.lookupRefSCC(B3));
  814   EXPECT_EQ(&CRC, CG.lookupRefSCC(C1));
  815   EXPECT_EQ(&CRC, CG.lookupRefSCC(C2));
  816   EXPECT_EQ(&CRC, CG.lookupRefSCC(C3));
  817   EXPECT_EQ(&CRC, CG.lookupRefSCC(D1));
  818   EXPECT_EQ(&CRC, CG.lookupRefSCC(D2));
  819   EXPECT_EQ(&CRC, CG.lookupRefSCC(D3));
  861   LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A1);
  862   LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B1);
  863   LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C1);
  864   LazyCallGraph::RefSCC &DRC = *CG.lookupRefSCC(D1);
  865   ASSERT_EQ(&ARC, CG.lookupRefSCC(A2));
  866   ASSERT_EQ(&ARC, CG.lookupRefSCC(A3));
  867   ASSERT_EQ(&BRC, CG.lookupRefSCC(B2));
  868   ASSERT_EQ(&BRC, CG.lookupRefSCC(B3));
  869   ASSERT_EQ(&CRC, CG.lookupRefSCC(C2));
  870   ASSERT_EQ(&CRC, CG.lookupRefSCC(C3));
  871   ASSERT_EQ(&DRC, CG.lookupRefSCC(D2));
  872   ASSERT_EQ(&DRC, CG.lookupRefSCC(D3));
  900   EXPECT_EQ(&ARC, CG.lookupRefSCC(A1));
  901   EXPECT_EQ(&ARC, CG.lookupRefSCC(A2));
  902   EXPECT_EQ(&ARC, CG.lookupRefSCC(A3));
  903   EXPECT_EQ(&BRC, CG.lookupRefSCC(B1));
  904   EXPECT_EQ(&BRC, CG.lookupRefSCC(B2));
  905   EXPECT_EQ(&BRC, CG.lookupRefSCC(B3));
  906   EXPECT_EQ(&CRC, CG.lookupRefSCC(C1));
  907   EXPECT_EQ(&CRC, CG.lookupRefSCC(C2));
  908   EXPECT_EQ(&CRC, CG.lookupRefSCC(C3));
  909   EXPECT_EQ(&CRC, CG.lookupRefSCC(D1));
  910   EXPECT_EQ(&CRC, CG.lookupRefSCC(D2));
  911   EXPECT_EQ(&CRC, CG.lookupRefSCC(D3));
  964   LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A);
  965   LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B);
  966   LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C);
  967   LazyCallGraph::RefSCC &DRC = *CG.lookupRefSCC(D);
  982   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  983   EXPECT_EQ(&ARC, CG.lookupRefSCC(B));
  984   EXPECT_EQ(&ARC, CG.lookupRefSCC(C));
  985   EXPECT_EQ(&ARC, CG.lookupRefSCC(D));
 1037   LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A);
 1038   LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B);
 1039   LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C);
 1040   LazyCallGraph::RefSCC &DRC = *CG.lookupRefSCC(D);
 1056   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
 1057   EXPECT_EQ(&ARC, CG.lookupRefSCC(B));
 1058   EXPECT_EQ(&ARC, CG.lookupRefSCC(C));
 1059   EXPECT_EQ(&ARC, CG.lookupRefSCC(D));
 1107   LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A1);
 1108   LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B1);
 1109   LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C1);
 1110   LazyCallGraph::RefSCC &DRC = *CG.lookupRefSCC(D1);
 1111   ASSERT_EQ(&ARC, CG.lookupRefSCC(A2));
 1112   ASSERT_EQ(&ARC, CG.lookupRefSCC(A3));
 1113   ASSERT_EQ(&BRC, CG.lookupRefSCC(B2));
 1114   ASSERT_EQ(&BRC, CG.lookupRefSCC(B3));
 1115   ASSERT_EQ(&CRC, CG.lookupRefSCC(C2));
 1116   ASSERT_EQ(&CRC, CG.lookupRefSCC(C3));
 1117   ASSERT_EQ(&DRC, CG.lookupRefSCC(D2));
 1118   ASSERT_EQ(&DRC, CG.lookupRefSCC(D3));
 1173   EXPECT_EQ(&NewDRC, CG.lookupRefSCC(D1));
 1174   EXPECT_EQ(&NewDRC, CG.lookupRefSCC(D3));
 1176   EXPECT_EQ(&D2RC, CG.lookupRefSCC(D2));
 1190   EXPECT_EQ(&ARC, CG.lookupRefSCC(A1));
 1191   EXPECT_EQ(&ARC, CG.lookupRefSCC(A2));
 1192   EXPECT_EQ(&ARC, CG.lookupRefSCC(A3));
 1193   EXPECT_EQ(&BRC, CG.lookupRefSCC(B1));
 1194   EXPECT_EQ(&BRC, CG.lookupRefSCC(B2));
 1195   EXPECT_EQ(&BRC, CG.lookupRefSCC(B3));
 1196   EXPECT_EQ(&CRC, CG.lookupRefSCC(C1));
 1197   EXPECT_EQ(&CRC, CG.lookupRefSCC(C2));
 1198   EXPECT_EQ(&CRC, CG.lookupRefSCC(C3));
 1199   EXPECT_EQ(&NewDRC, CG.lookupRefSCC(D1));
 1200   EXPECT_EQ(&NewDRC, CG.lookupRefSCC(D3));
 1244   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1245   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1246   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1255   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1256   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1257   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1267   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1268   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1269   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1338   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1339   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1340   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1347   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1348   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1349   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1365   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
 1367   EXPECT_EQ(&BCRC, CG.lookupRefSCC(B));
 1368   EXPECT_EQ(&BCRC, CG.lookupRefSCC(C));
 1416   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1417   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1418   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1431   EXPECT_EQ(&BRC, CG.lookupRefSCC(B));
 1433   EXPECT_EQ(&ACRC, CG.lookupRefSCC(A));
 1434   EXPECT_EQ(&ACRC, CG.lookupRefSCC(C));
 1486   EXPECT_EQ(&RC, CG.lookupRefSCC(AN));
 1487   EXPECT_EQ(&RC, CG.lookupRefSCC(BN));
 1488   EXPECT_EQ(&RC, CG.lookupRefSCC(CN));
 1497   EXPECT_EQ(&RC, CG.lookupRefSCC(AN));
 1498   EXPECT_EQ(&RC, CG.lookupRefSCC(BN));
 1499   EXPECT_EQ(&RC, CG.lookupRefSCC(CN));
 1513   EXPECT_EQ(&RC, CG.lookupRefSCC(AN));
 1514   EXPECT_EQ(&RC, CG.lookupRefSCC(BN));
 1515   EXPECT_EQ(&RC, CG.lookupRefSCC(CN));
 1977   EXPECT_EQ(&FRC, CG.lookupRefSCC(F));
 1978   EXPECT_EQ(&GRC, CG.lookupRefSCC(G));
 2005   EXPECT_EQ(&FRC, CG.lookupRefSCC(F));
 2006   EXPECT_EQ(&GRC, CG.lookupRefSCC(G));
 2064   EXPECT_EQ(&RC1, CG.lookupRefSCC(DN));
 2065   EXPECT_EQ(&RC1, CG.lookupRefSCC(CN));
 2066   EXPECT_EQ(&RC1, CG.lookupRefSCC(BN));
 2067   EXPECT_EQ(&RC2, CG.lookupRefSCC(AN));
 2152   EXPECT_EQ(&DeadRC, CG.lookupRefSCC(DeadN));
 2156   EXPECT_EQ(&RC1, CG.lookupRefSCC(DN));
 2157   EXPECT_EQ(&RC1, CG.lookupRefSCC(CN));
 2158   EXPECT_EQ(&RC1, CG.lookupRefSCC(BN));
 2159   EXPECT_EQ(&RC2, CG.lookupRefSCC(AN));