Lines Matching defs:OldFunc
221 OldFunc = Function::Create(FuncType, GlobalValue::PrivateLinkage, "f", M);
240 OldFunc->setSubprogram(Subprogram);
243 BasicBlock* Entry = BasicBlock::Create(C, "", OldFunc);
277 NewFunc = CloneFunction(OldFunc, VMap, nullptr);
286 Function* OldFunc;
294 EXPECT_NE(OldFunc, NewFunc);
308 EXPECT_TRUE(Sub == OldFunc->getSubprogram());
317 inst_iterator OldIter = inst_begin(OldFunc);
318 inst_iterator OldEnd = inst_end(OldFunc);
338 EXPECT_EQ(OldFunc->getSubprogram(), OldSubprogram);
354 inst_iterator OldIter = inst_begin(OldFunc);
355 inst_iterator OldEnd = inst_end(OldFunc);
366 EXPECT_EQ(OldFunc, cast<AllocaInst>(OldIntrin->getAddress())->
373 EXPECT_EQ(OldFunc->getSubprogram(),
383 EXPECT_EQ(OldFunc->getSubprogram(),