Lines Matching refs:NF
219 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace(), in doPromotion() local
221 NF->copyAttributesFrom(F); in doPromotion()
222 NF->copyMetadata(F, 0); in doPromotion()
229 LLVM_DEBUG(dbgs() << "ARG PROMOTION: Promoting to:" << *NF << "\n" in doPromotion()
234 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttributes(), in doPromotion()
238 F->getParent()->getFunctionList().insert(F->getIterator(), NF); in doPromotion()
239 NF->takeName(F); in doPromotion()
336 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in doPromotion()
339 auto *NewCall = CallInst::Create(NF, Args, OpBundles, "", &CB); in doPromotion()
368 NF->getBasicBlockList().splice(NF->begin(), F->getBasicBlockList()); in doPromotion()
373 I2 = NF->arg_begin(); in doPromotion()
387 Instruction *InsertPt = &NF->begin()->front(); in doPromotion()
460 << "' of function '" << NF->getName() << "'\n"); in doPromotion()
476 return NF; in doPromotion()