reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2047 CG.buildRefSCCs(); 2048 auto I = CG.postorder_ref_scc_begin(); 2051 EXPECT_EQ(CG.postorder_ref_scc_end(), I); 2057 LazyCallGraph::Node &AN = *CG.lookup(lookupFunction(*M, "a")); 2058 LazyCallGraph::Node &BN = *CG.lookup(lookupFunction(*M, "b")); 2059 LazyCallGraph::Node &CN = *CG.lookup(lookupFunction(*M, "c")); 2060 LazyCallGraph::Node &DN = *CG.lookup(lookupFunction(*M, "d")); 2061 EXPECT_EQ(&C1, CG.lookupSCC(DN)); 2062 EXPECT_EQ(&C1, CG.lookupSCC(CN)); 2063 EXPECT_EQ(&C2, CG.lookupSCC(BN)); 2064 EXPECT_EQ(&RC1, CG.lookupRefSCC(DN)); 2065 EXPECT_EQ(&RC1, CG.lookupRefSCC(CN)); 2066 EXPECT_EQ(&RC1, CG.lookupRefSCC(BN)); 2067 EXPECT_EQ(&RC2, CG.lookupRefSCC(AN));