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

References

unittests/Analysis/LazyCallGraphTest.cpp
  607   CG.buildRefSCCs();
  608   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
  611   LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a"));
  612   LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b"));
  613   LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c"));
  614   LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d"));
  615   LazyCallGraph::SCC &AC = *CG.lookupSCC(A);
  616   LazyCallGraph::SCC &BC = *CG.lookupSCC(B);
  617   LazyCallGraph::SCC &CC = *CG.lookupSCC(C);
  618   LazyCallGraph::SCC &DC = *CG.lookupSCC(D);
  619   LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A);
  620   LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B);
  621   LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C);
  622   LazyCallGraph::RefSCC &DRC = *CG.lookupRefSCC(D);
  658   EXPECT_EQ(&AC, CG.lookupSCC(A));
  659   EXPECT_EQ(&BC, CG.lookupSCC(B));
  660   EXPECT_EQ(&CC, CG.lookupSCC(C));
  661   EXPECT_EQ(&DC, CG.lookupSCC(D));
  662   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  663   EXPECT_EQ(&BRC, CG.lookupRefSCC(B));
  664   EXPECT_EQ(&CRC, CG.lookupRefSCC(C));
  665   EXPECT_EQ(&DRC, CG.lookupRefSCC(D));
  679   EXPECT_EQ(&AC, CG.lookupSCC(A));
  680   EXPECT_EQ(&BC, CG.lookupSCC(B));
  681   EXPECT_EQ(&CC, CG.lookupSCC(C));
  682   EXPECT_EQ(&DC, CG.lookupSCC(D));
  683   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  684   EXPECT_EQ(&BRC, CG.lookupRefSCC(B));
  685   EXPECT_EQ(&CRC, CG.lookupRefSCC(C));
  686   EXPECT_EQ(&DRC, CG.lookupRefSCC(D));
  700   EXPECT_EQ(&AC, CG.lookupSCC(A));
  701   EXPECT_EQ(&BC, CG.lookupSCC(B));
  702   EXPECT_EQ(&CC, CG.lookupSCC(C));
  703   EXPECT_EQ(&DC, CG.lookupSCC(D));
  704   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  705   EXPECT_EQ(&BRC, CG.lookupRefSCC(B));
  706   EXPECT_EQ(&CRC, CG.lookupRefSCC(C));
  707   EXPECT_EQ(&DRC, CG.lookupRefSCC(D));
  721   EXPECT_EQ(&AC, CG.lookupSCC(A));
  722   EXPECT_EQ(&BC, CG.lookupSCC(B));
  723   EXPECT_EQ(&CC, CG.lookupSCC(C));
  724   EXPECT_EQ(&DC, CG.lookupSCC(D));
  725   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  726   EXPECT_EQ(&BRC, CG.lookupRefSCC(B));
  727   EXPECT_EQ(&CRC, CG.lookupRefSCC(C));
  728   EXPECT_EQ(&DRC, CG.lookupRefSCC(D));