reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
845 CG.buildRefSCCs(); 846 for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs()) 849 LazyCallGraph::Node &A1 = *CG.lookup(lookupFunction(*M, "a1")); 850 LazyCallGraph::Node &A2 = *CG.lookup(lookupFunction(*M, "a2")); 851 LazyCallGraph::Node &A3 = *CG.lookup(lookupFunction(*M, "a3")); 852 LazyCallGraph::Node &B1 = *CG.lookup(lookupFunction(*M, "b1")); 853 LazyCallGraph::Node &B2 = *CG.lookup(lookupFunction(*M, "b2")); 854 LazyCallGraph::Node &B3 = *CG.lookup(lookupFunction(*M, "b3")); 855 LazyCallGraph::Node &C1 = *CG.lookup(lookupFunction(*M, "c1")); 856 LazyCallGraph::Node &C2 = *CG.lookup(lookupFunction(*M, "c2")); 857 LazyCallGraph::Node &C3 = *CG.lookup(lookupFunction(*M, "c3")); 858 LazyCallGraph::Node &D1 = *CG.lookup(lookupFunction(*M, "d1")); 859 LazyCallGraph::Node &D2 = *CG.lookup(lookupFunction(*M, "d2")); 860 LazyCallGraph::Node &D3 = *CG.lookup(lookupFunction(*M, "d3")); 861 LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A1); 862 LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B1); 863 LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C1); 864 LazyCallGraph::RefSCC &DRC = *CG.lookupRefSCC(D1); 865 ASSERT_EQ(&ARC, CG.lookupRefSCC(A2)); 866 ASSERT_EQ(&ARC, CG.lookupRefSCC(A3)); 867 ASSERT_EQ(&BRC, CG.lookupRefSCC(B2)); 868 ASSERT_EQ(&BRC, CG.lookupRefSCC(B3)); 869 ASSERT_EQ(&CRC, CG.lookupRefSCC(C2)); 870 ASSERT_EQ(&CRC, CG.lookupRefSCC(C3)); 871 ASSERT_EQ(&DRC, CG.lookupRefSCC(D2)); 872 ASSERT_EQ(&DRC, CG.lookupRefSCC(D3)); 900 EXPECT_EQ(&ARC, CG.lookupRefSCC(A1)); 901 EXPECT_EQ(&ARC, CG.lookupRefSCC(A2)); 902 EXPECT_EQ(&ARC, CG.lookupRefSCC(A3)); 903 EXPECT_EQ(&BRC, CG.lookupRefSCC(B1)); 904 EXPECT_EQ(&BRC, CG.lookupRefSCC(B2)); 905 EXPECT_EQ(&BRC, CG.lookupRefSCC(B3)); 906 EXPECT_EQ(&CRC, CG.lookupRefSCC(C1)); 907 EXPECT_EQ(&CRC, CG.lookupRefSCC(C2)); 908 EXPECT_EQ(&CRC, CG.lookupRefSCC(C3)); 909 EXPECT_EQ(&CRC, CG.lookupRefSCC(D1)); 910 EXPECT_EQ(&CRC, CG.lookupRefSCC(D2)); 911 EXPECT_EQ(&CRC, CG.lookupRefSCC(D3)); 918 auto I = CG.postorder_ref_scc_begin(), E = CG.postorder_ref_scc_end(); 918 auto I = CG.postorder_ref_scc_begin(), E = CG.postorder_ref_scc_end();