reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
556 CG.buildRefSCCs(); 557 auto I = CG.postorder_ref_scc_begin(); 559 EXPECT_EQ(CG.postorder_ref_scc_end(), I); 561 LazyCallGraph::Node &N1 = *CG.lookup(lookupFunction(*M, "f1")); 562 LazyCallGraph::Node &N2 = *CG.lookup(lookupFunction(*M, "f2")); 563 LazyCallGraph::Node &N3 = *CG.lookup(lookupFunction(*M, "f3")); 564 LazyCallGraph::Node &N4 = *CG.lookup(lookupFunction(*M, "f4")); 565 LazyCallGraph::Node &N5 = *CG.lookup(lookupFunction(*M, "f4")); 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)); 575 EXPECT_EQ(&C, CG.lookupSCC(N1)); 576 EXPECT_EQ(&C, CG.lookupSCC(N2)); 577 EXPECT_EQ(&C, CG.lookupSCC(N3)); 578 EXPECT_EQ(&C, CG.lookupSCC(N4)); 579 EXPECT_EQ(&C, CG.lookupSCC(N5));