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

References

unittests/Analysis/LazyCallGraphTest.cpp
  952   CG.buildRefSCCs();
  953   for (LazyCallGraph::RefSCC &RC : CG.postorder_ref_sccs())
  956   LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a"));
  957   LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b"));
  958   LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c"));
  959   LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d"));
  960   LazyCallGraph::SCC &AC = *CG.lookupSCC(A);
  961   LazyCallGraph::SCC &BC = *CG.lookupSCC(B);
  962   LazyCallGraph::SCC &CC = *CG.lookupSCC(C);
  963   LazyCallGraph::SCC &DC = *CG.lookupSCC(D);
  964   LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A);
  965   LazyCallGraph::RefSCC &BRC = *CG.lookupRefSCC(B);
  966   LazyCallGraph::RefSCC &CRC = *CG.lookupRefSCC(C);
  967   LazyCallGraph::RefSCC &DRC = *CG.lookupRefSCC(D);
  982   EXPECT_EQ(&ARC, CG.lookupRefSCC(A));
  983   EXPECT_EQ(&ARC, CG.lookupRefSCC(B));
  984   EXPECT_EQ(&ARC, CG.lookupRefSCC(C));
  985   EXPECT_EQ(&ARC, CG.lookupRefSCC(D));
  995   auto I = CG.postorder_ref_scc_begin(), E = CG.postorder_ref_scc_end();
  995   auto I = CG.postorder_ref_scc_begin(), E = CG.postorder_ref_scc_end();