Lines Matching refs:NewFunc
278 NewFunc = CloneFunction(OldFunc, VMap, true, nullptr); in CreateNewFunc()
279 M->getFunctionList().push_back(NewFunc); in CreateNewFunc()
289 Function* NewFunc; member in __anon72aa56b60111::CloneFunc
296 EXPECT_NE(OldFunc, NewFunc); in TEST_F()
313 (Sub1 == OldFunc->getSubprogram() && Sub2 == NewFunc->getSubprogram()) || in TEST_F()
314 (Sub1 == NewFunc->getSubprogram() && Sub2 == OldFunc->getSubprogram())); in TEST_F()
339 inst_iterator NewIter = inst_begin(NewFunc); in TEST_F()
340 inst_iterator NewEnd = inst_end(NewFunc); in TEST_F()
359 EXPECT_EQ(NewFunc->getSubprogram(), NewSubprogram); in TEST_F()
376 inst_iterator NewIter = inst_begin(NewFunc); in TEST_F()
377 inst_iterator NewEnd = inst_end(NewFunc); in TEST_F()
389 EXPECT_EQ(NewFunc, cast<AllocaInst>(NewIntrin->getAddress())-> in TEST_F()
396 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()
406 EXPECT_EQ(NewFunc->getSubprogram(), in TEST_F()