• Home
  • Raw
  • Download

Lines Matching refs:lookupFunction

276 static Function &lookupFunction(Module &M, StringRef Name) {  in lookupFunction()  function
301 LazyCallGraph::Node &A = CG.get(lookupFunction(*M, "a")); in TEST()
302 LazyCallGraph::Node &B = CG.get(lookupFunction(*M, "b")); in TEST()
306 CG.insertEdge(B, lookupFunction(*M, "c"), LazyCallGraph::Edge::Call); in TEST()
338 CG.insertEdge(lookupFunction(*M, "d1"), lookupFunction(*M, "a1"), in TEST()
434 LazyCallGraph::Node &N1 = *CG.lookup(lookupFunction(*M, "f1")); in TEST()
435 LazyCallGraph::Node &N2 = *CG.lookup(lookupFunction(*M, "f2")); in TEST()
436 LazyCallGraph::Node &N3 = *CG.lookup(lookupFunction(*M, "f3")); in TEST()
437 LazyCallGraph::Node &N4 = *CG.lookup(lookupFunction(*M, "f4")); in TEST()
438 LazyCallGraph::Node &N5 = *CG.lookup(lookupFunction(*M, "f4")); in TEST()
483 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
484 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
485 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
486 LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d")); in TEST()
604 LazyCallGraph::Node &A1 = *CG.lookup(lookupFunction(*M, "a1")); in TEST()
605 LazyCallGraph::Node &A2 = *CG.lookup(lookupFunction(*M, "a2")); in TEST()
606 LazyCallGraph::Node &A3 = *CG.lookup(lookupFunction(*M, "a3")); in TEST()
607 LazyCallGraph::Node &B1 = *CG.lookup(lookupFunction(*M, "b1")); in TEST()
608 LazyCallGraph::Node &B2 = *CG.lookup(lookupFunction(*M, "b2")); in TEST()
609 LazyCallGraph::Node &B3 = *CG.lookup(lookupFunction(*M, "b3")); in TEST()
610 LazyCallGraph::Node &C1 = *CG.lookup(lookupFunction(*M, "c1")); in TEST()
611 LazyCallGraph::Node &C2 = *CG.lookup(lookupFunction(*M, "c2")); in TEST()
612 LazyCallGraph::Node &C3 = *CG.lookup(lookupFunction(*M, "c3")); in TEST()
613 LazyCallGraph::Node &D1 = *CG.lookup(lookupFunction(*M, "d1")); in TEST()
614 LazyCallGraph::Node &D2 = *CG.lookup(lookupFunction(*M, "d2")); in TEST()
615 LazyCallGraph::Node &D3 = *CG.lookup(lookupFunction(*M, "d3")); in TEST()
690 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "a1"))); in TEST()
691 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "a2"))); in TEST()
692 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "a3"))); in TEST()
693 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "b1"))); in TEST()
694 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "b2"))); in TEST()
695 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "b3"))); in TEST()
696 LazyCallGraph::Node &C1 = *CG.lookup(lookupFunction(*M, "c1")); in TEST()
697 LazyCallGraph::Node &C2 = *CG.lookup(lookupFunction(*M, "c2")); in TEST()
698 LazyCallGraph::Node &C3 = *CG.lookup(lookupFunction(*M, "c3")); in TEST()
699 LazyCallGraph::Node &D1 = *CG.lookup(lookupFunction(*M, "d1")); in TEST()
700 LazyCallGraph::Node &D2 = *CG.lookup(lookupFunction(*M, "d2")); in TEST()
701 LazyCallGraph::Node &D3 = *CG.lookup(lookupFunction(*M, "d3")); in TEST()
734 EXPECT_EQ(&BRC, CG.lookupRefSCC(*CG.lookup(lookupFunction(*M, "b1")))); in TEST()
735 EXPECT_EQ(&BRC, CG.lookupRefSCC(*CG.lookup(lookupFunction(*M, "b2")))); in TEST()
736 EXPECT_EQ(&BRC, CG.lookupRefSCC(*CG.lookup(lookupFunction(*M, "b3")))); 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()
774 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
775 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
776 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
862 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
863 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
864 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
923 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
924 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
925 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
1007 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
1008 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
1009 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
1010 LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d")); in TEST()
1119 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
1120 LazyCallGraph::Node &B1 = *CG.lookup(lookupFunction(*M, "b1")); in TEST()
1121 LazyCallGraph::Node &B2 = *CG.lookup(lookupFunction(*M, "b2")); in TEST()
1122 LazyCallGraph::Node &B3 = *CG.lookup(lookupFunction(*M, "b3")); in TEST()
1123 LazyCallGraph::Node &C1 = *CG.lookup(lookupFunction(*M, "c1")); in TEST()
1124 LazyCallGraph::Node &C2 = *CG.lookup(lookupFunction(*M, "c2")); in TEST()
1125 LazyCallGraph::Node &C3 = *CG.lookup(lookupFunction(*M, "c3")); in TEST()
1126 LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d")); in TEST()
1249 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
1250 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
1251 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
1252 LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d")); in TEST()
1253 LazyCallGraph::Node &E = *CG.lookup(lookupFunction(*M, "e")); in TEST()
1254 LazyCallGraph::Node &F = *CG.lookup(lookupFunction(*M, "f")); in TEST()
1255 LazyCallGraph::Node &G = *CG.lookup(lookupFunction(*M, "g")); in TEST()