Lines Matching refs:NewFunc
537 NewFunc = CloneFunction(OldFunc, VMap, nullptr); in CreateNewFunc()
547 Function* NewFunc; member in __anon375186cb0111::CloneFunc
554 EXPECT_NE(OldFunc, NewFunc); in TEST_F()
562 EXPECT_NE(NewFunc->getSubprogram(), OldFunc->getSubprogram()); in TEST_F()
572 inst_iterator NewIter = inst_begin(NewFunc); in TEST_F()
573 inst_iterator NewEnd = inst_end(NewFunc); in TEST_F()
592 EXPECT_EQ(NewFunc->getSubprogram(), NewSubprogram); in TEST_F()
609 inst_iterator NewIter = inst_begin(NewFunc); in TEST_F()
610 inst_iterator NewEnd = inst_end(NewFunc); in TEST_F()
622 EXPECT_EQ(NewFunc, cast<AllocaInst>(NewIntrin->getAddress())-> in TEST_F()
634 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()
646 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()
758 auto *NewFunc = ImplModule->getFunction("cloned"); in TEST() local
759 EXPECT_TRUE(NewFunc != nullptr); in TEST()
764 CloneFunctionInto(NewFunc, OldFunc, VMap, true, Returns, "", &CCI); in TEST()