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

References

unittests/Analysis/LazyCallGraphTest.cpp
 1475   CG.buildRefSCCs();
 1476   auto I = CG.postorder_ref_scc_begin(), E = CG.postorder_ref_scc_end();
 1476   auto I = CG.postorder_ref_scc_begin(), E = CG.postorder_ref_scc_end();
 1483   LazyCallGraph::Node &AN = *CG.lookup(lookupFunction(*M, "a"));
 1484   LazyCallGraph::Node &BN = *CG.lookup(lookupFunction(*M, "b"));
 1485   LazyCallGraph::Node &CN = *CG.lookup(lookupFunction(*M, "c"));
 1486   EXPECT_EQ(&RC, CG.lookupRefSCC(AN));
 1487   EXPECT_EQ(&RC, CG.lookupRefSCC(BN));
 1488   EXPECT_EQ(&RC, CG.lookupRefSCC(CN));
 1489   EXPECT_EQ(&C, CG.lookupSCC(AN));
 1490   EXPECT_EQ(&C, CG.lookupSCC(BN));
 1491   EXPECT_EQ(&C, CG.lookupSCC(CN));
 1497   EXPECT_EQ(&RC, CG.lookupRefSCC(AN));
 1498   EXPECT_EQ(&RC, CG.lookupRefSCC(BN));
 1499   EXPECT_EQ(&RC, CG.lookupRefSCC(CN));
 1500   EXPECT_EQ(&C, CG.lookupSCC(AN));
 1501   EXPECT_EQ(&C, CG.lookupSCC(BN));
 1502   EXPECT_EQ(&C, CG.lookupSCC(CN));
 1503   auto J = CG.postorder_ref_scc_begin();
 1513   EXPECT_EQ(&RC, CG.lookupRefSCC(AN));
 1514   EXPECT_EQ(&RC, CG.lookupRefSCC(BN));
 1515   EXPECT_EQ(&RC, CG.lookupRefSCC(CN));
 1516   EXPECT_EQ(&C, CG.lookupSCC(AN));
 1517   EXPECT_EQ(&C, CG.lookupSCC(BN));
 1518   EXPECT_EQ(&C, CG.lookupSCC(CN));
 1519   J = CG.postorder_ref_scc_begin();