Home | History | Annotate | Download | only in Analysis

Lines Matching full:lookupfunction

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