Lines Matching refs:lookupFunction

271 static Function &lookupFunction(Module &M, StringRef Name) {  in lookupFunction()  function
296 LazyCallGraph::Node &A = CG.get(lookupFunction(*M, "a")); in TEST()
297 LazyCallGraph::Node &B = CG.get(lookupFunction(*M, "b")); in TEST()
301 CG.insertEdge(B, lookupFunction(*M, "c")); in TEST()
364 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
365 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
366 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
367 LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d")); in TEST()
368 LazyCallGraph::Node &E = *CG.lookup(lookupFunction(*M, "e")); in TEST()
404 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
405 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
406 LazyCallGraph::Node &C = *CG.lookup(lookupFunction(*M, "c")); in TEST()
407 LazyCallGraph::Node &D = *CG.lookup(lookupFunction(*M, "d")); in TEST()
453 LazyCallGraph::Node &A1 = *CG.lookup(lookupFunction(*M, "a1")); in TEST()
454 LazyCallGraph::Node &A2 = *CG.lookup(lookupFunction(*M, "a2")); in TEST()
455 LazyCallGraph::Node &A3 = *CG.lookup(lookupFunction(*M, "a3")); in TEST()
456 LazyCallGraph::Node &B1 = *CG.lookup(lookupFunction(*M, "b1")); in TEST()
457 LazyCallGraph::Node &B2 = *CG.lookup(lookupFunction(*M, "b2")); in TEST()
458 LazyCallGraph::Node &B3 = *CG.lookup(lookupFunction(*M, "b3")); in TEST()
459 LazyCallGraph::Node &C1 = *CG.lookup(lookupFunction(*M, "c1")); in TEST()
460 LazyCallGraph::Node &C2 = *CG.lookup(lookupFunction(*M, "c2")); in TEST()
461 LazyCallGraph::Node &C3 = *CG.lookup(lookupFunction(*M, "c3")); in TEST()
462 LazyCallGraph::Node &D1 = *CG.lookup(lookupFunction(*M, "d1")); in TEST()
463 LazyCallGraph::Node &D2 = *CG.lookup(lookupFunction(*M, "d2")); in TEST()
464 LazyCallGraph::Node &D3 = *CG.lookup(lookupFunction(*M, "d3")); in TEST()
534 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "a1"))); in TEST()
535 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "a2"))); in TEST()
536 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "a3"))); in TEST()
537 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "b1"))); in TEST()
538 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "b2"))); in TEST()
539 ASSERT_EQ(nullptr, CG.lookup(lookupFunction(*M, "b3"))); in TEST()
540 LazyCallGraph::Node &C1 = *CG.lookup(lookupFunction(*M, "c1")); in TEST()
541 LazyCallGraph::Node &C2 = *CG.lookup(lookupFunction(*M, "c2")); in TEST()
542 LazyCallGraph::Node &C3 = *CG.lookup(lookupFunction(*M, "c3")); in TEST()
543 LazyCallGraph::Node &D1 = *CG.lookup(lookupFunction(*M, "d1")); in TEST()
544 LazyCallGraph::Node &D2 = *CG.lookup(lookupFunction(*M, "d2")); in TEST()
545 LazyCallGraph::Node &D3 = *CG.lookup(lookupFunction(*M, "d3")); in TEST()
570 EXPECT_EQ(&BC, CG.lookupSCC(*CG.lookup(lookupFunction(*M, "b1")))); in TEST()
571 EXPECT_EQ(&BC, CG.lookupSCC(*CG.lookup(lookupFunction(*M, "b2")))); in TEST()
572 EXPECT_EQ(&BC, CG.lookupSCC(*CG.lookup(lookupFunction(*M, "b3")))); in TEST()
577 EXPECT_EQ(&AC, CG.lookupSCC(*CG.lookup(lookupFunction(*M, "a1")))); in TEST()
578 EXPECT_EQ(&AC, CG.lookupSCC(*CG.lookup(lookupFunction(*M, "a2")))); in TEST()
579 EXPECT_EQ(&AC, CG.lookupSCC(*CG.lookup(lookupFunction(*M, "a3")))); in TEST()
601 LazyCallGraph::Node &A = *CG.lookup(lookupFunction(*M, "a")); in TEST()
602 LazyCallGraph::Node &B = *CG.lookup(lookupFunction(*M, "b")); in TEST()
641 LazyCallGraph::Node &A = *CG1.lookup(lookupFunction(*M1, "a")); in TEST()
642 LazyCallGraph::Node &B = *CG1.lookup(lookupFunction(*M1, "b")); in TEST()
643 LazyCallGraph::Node &C = *CG1.lookup(lookupFunction(*M1, "c")); in TEST()
694 LazyCallGraph::Node &A = *CG1.lookup(lookupFunction(*M1, "a")); in TEST()
695 LazyCallGraph::Node &B = *CG1.lookup(lookupFunction(*M1, "b")); in TEST()
696 LazyCallGraph::Node &C = *CG1.lookup(lookupFunction(*M1, "c")); in TEST()