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

References

unittests/Analysis/LazyCallGraphTest.cpp
 1236   CG.buildRefSCCs();
 1237   auto I = CG.postorder_ref_scc_begin();
 1239   EXPECT_EQ(CG.postorder_ref_scc_end(), I);
 1241   LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a"));
 1242   LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b"));
 1243   LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c"));
 1244   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1245   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1246   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1248   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(A));
 1249   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(B));
 1250   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(C));
 1255   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1256   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1257   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1259   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(A));
 1260   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(B));
 1261   EXPECT_EQ(&*RC.begin(), CG.lookupSCC(C));
 1267   EXPECT_EQ(&RC, CG.lookupRefSCC(A));
 1268   EXPECT_EQ(&RC, CG.lookupRefSCC(B));
 1269   EXPECT_EQ(&RC, CG.lookupRefSCC(C));
 1274   EXPECT_EQ(&*J++, CG.lookupSCC(B));
 1275   EXPECT_EQ(&*J++, CG.lookupSCC(A));
 1276   EXPECT_EQ(&*J++, CG.lookupSCC(C));
 1287   LazyCallGraph::SCC &AC = *CG.lookupSCC(A);
 1288   LazyCallGraph::SCC &CC = *CG.lookupSCC(C);
 1294   EXPECT_EQ(&CC, CG.lookupSCC(A));
 1295   EXPECT_EQ(&CC, CG.lookupSCC(C));
 1297   EXPECT_EQ(&*J++, CG.lookupSCC(B));
 1298   EXPECT_EQ(&*J++, CG.lookupSCC(C));