• Home
  • Raw
  • Download

Lines Matching refs:ARC

491   LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A);  in TEST()  local
495 EXPECT_TRUE(ARC.isParentOf(BRC)); in TEST()
496 EXPECT_TRUE(ARC.isParentOf(CRC)); in TEST()
497 EXPECT_FALSE(ARC.isParentOf(DRC)); in TEST()
498 EXPECT_TRUE(ARC.isAncestorOf(DRC)); in TEST()
499 EXPECT_FALSE(DRC.isChildOf(ARC)); in TEST()
500 EXPECT_TRUE(DRC.isDescendantOf(ARC)); in TEST()
505 ARC.insertOutgoingEdge(A, D, LazyCallGraph::Edge::Call); in TEST()
514 EXPECT_TRUE(ARC.isParentOf(DRC)); in TEST()
515 EXPECT_TRUE(ARC.isAncestorOf(DRC)); in TEST()
516 EXPECT_TRUE(DRC.isChildOf(ARC)); in TEST()
517 EXPECT_TRUE(DRC.isDescendantOf(ARC)); in TEST()
522 EXPECT_EQ(&ARC, CG.lookupRefSCC(A)); in TEST()
527 ARC.switchOutgoingEdgeToRef(A, D); in TEST()
531 EXPECT_TRUE(ARC.isParentOf(DRC)); in TEST()
532 EXPECT_TRUE(ARC.isAncestorOf(DRC)); in TEST()
533 EXPECT_TRUE(DRC.isChildOf(ARC)); in TEST()
534 EXPECT_TRUE(DRC.isDescendantOf(ARC)); in TEST()
539 EXPECT_EQ(&ARC, CG.lookupRefSCC(A)); in TEST()
544 ARC.switchOutgoingEdgeToCall(A, D); in TEST()
548 EXPECT_TRUE(ARC.isParentOf(DRC)); in TEST()
549 EXPECT_TRUE(ARC.isAncestorOf(DRC)); in TEST()
550 EXPECT_TRUE(DRC.isChildOf(ARC)); in TEST()
551 EXPECT_TRUE(DRC.isDescendantOf(ARC)); in TEST()
556 EXPECT_EQ(&ARC, CG.lookupRefSCC(A)); in TEST()
561 ARC.removeOutgoingEdge(A, D); in TEST()
565 EXPECT_FALSE(ARC.isParentOf(DRC)); in TEST()
566 EXPECT_TRUE(ARC.isAncestorOf(DRC)); in TEST()
567 EXPECT_FALSE(DRC.isChildOf(ARC)); in TEST()
568 EXPECT_TRUE(DRC.isDescendantOf(ARC)); in TEST()
573 EXPECT_EQ(&ARC, CG.lookupRefSCC(A)); in TEST()
616 LazyCallGraph::RefSCC &ARC = *CG.lookupRefSCC(A1); in TEST() local
620 ASSERT_EQ(&ARC, CG.lookupRefSCC(A2)); in TEST()
621 ASSERT_EQ(&ARC, CG.lookupRefSCC(A3)); in TEST()
655 EXPECT_EQ(&ARC, CG.lookupRefSCC(A1)); in TEST()
656 EXPECT_EQ(&ARC, CG.lookupRefSCC(A2)); in TEST()
657 EXPECT_EQ(&ARC, CG.lookupRefSCC(A3)); in TEST()
669 EXPECT_TRUE(ARC.isParentOf(CRC)); in TEST()
740 LazyCallGraph::RefSCC &ARC = *I; in TEST() local
741 EXPECT_NE(&ARC, nullptr); in TEST()
742 EXPECT_EQ(&ARC, CG.lookupRefSCC(*CG.lookup(lookupFunction(*M, "a1")))); in TEST()
743 EXPECT_EQ(&ARC, CG.lookupRefSCC(*CG.lookup(lookupFunction(*M, "a2")))); in TEST()
744 EXPECT_EQ(&ARC, CG.lookupRefSCC(*CG.lookup(lookupFunction(*M, "a3")))); in TEST()
745 EXPECT_TRUE(ARC.isParentOf(CRC)); in TEST()