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

References

unittests/Analysis/LazyCallGraphTest.cpp
 1091   CG.buildRefSCCs();
 1092   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
 1095   LazyCallGraph::Node &A1 = *CG.lookup(lookupFunction(*M, "a1"));
 1096   LazyCallGraph::Node &A2 = *CG.lookup(lookupFunction(*M, "a2"));
 1097   LazyCallGraph::Node &A3 = *CG.lookup(lookupFunction(*M, "a3"));
 1098   LazyCallGraph::Node &B1 = *CG.lookup(lookupFunction(*M, "b1"));
 1099   LazyCallGraph::Node &B2 = *CG.lookup(lookupFunction(*M, "b2"));
 1100   LazyCallGraph::Node &B3 = *CG.lookup(lookupFunction(*M, "b3"));
 1101   LazyCallGraph::Node &C1 = *CG.lookup(lookupFunction(*M, "c1"));
 1102   LazyCallGraph::Node &C2 = *CG.lookup(lookupFunction(*M, "c2"));
 1103   LazyCallGraph::Node &C3 = *CG.lookup(lookupFunction(*M, "c3"));
 1104   LazyCallGraph::Node &D1 = *CG.lookup(lookupFunction(*M, "d1"));
 1105   LazyCallGraph::Node &D2 = *CG.lookup(lookupFunction(*M, "d2"));
 1106   LazyCallGraph::Node &D3 = *CG.lookup(lookupFunction(*M, "d3"));
 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));
 1163   LazyCallGraph::SCC &DC = *CG.lookupSCC(D2);
 1165   EXPECT_EQ(&DC, CG.lookupSCC(D2));
 1168   EXPECT_EQ(&NewDC, CG.lookupSCC(D1));
 1169   EXPECT_EQ(&NewDC, CG.lookupSCC(D3));
 1173   EXPECT_EQ(&NewDRC, CG.lookupRefSCC(D1));
 1174   EXPECT_EQ(&NewDRC, CG.lookupRefSCC(D3));
 1176   EXPECT_EQ(&D2RC, CG.lookupRefSCC(D2));
 1187   CG.removeDeadFunction(D2F);
 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));
 1204   auto I = CG.postorder_ref_scc_begin(), E = CG.postorder_ref_scc_end();
 1204   auto I = CG.postorder_ref_scc_begin(), E = CG.postorder_ref_scc_end();