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

References

unittests/Analysis/LazyCallGraphTest.cpp
 1244   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1245   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1246   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1247   EXPECT_EQ(1, RC.size());
 1248   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(A));
 1249   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(B));
 1250   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(C));
 1253   RC.insertInternalRefEdge(A, C);
 1255   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1256   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1257   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1258   EXPECT_EQ(1, RC.size());
 1259   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(A));
 1260   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(B));
 1261   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(C));
 1266   auto NewCs = RC.switchInternalEdgeToRef(B, C);
 1267   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1268   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1269   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1270   auto J = RC.begin();
 1277   EXPECT_EQ(RC.end(), J);
 1280   EXPECT_EQ(RC.begin(), NewCs.begin());
 1281   EXPECT_EQ(std::prev(RC.end()), NewCs.end());
 1289   EXPECT_TRUE(RC.switchInternalEdgeToCall(A, C, [&](ArrayRef<LazyCallGraph::SCC *> MergedCs) {
 1296   J = RC.begin();
 1299   EXPECT_EQ(RC.end(), J);