Lines Matching refs:NF
161 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace(), in doPromotion() local
163 NF->copyAttributesFrom(F); in doPromotion()
164 NF->copyMetadata(F, 0); in doPromotion()
165 NF->setIsNewDbgInfoFormat(F->IsNewDbgInfoFormat); in doPromotion()
172 LLVM_DEBUG(dbgs() << "ARG PROMOTION: Promoting to:" << *NF << "\n" in doPromotion()
183 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttrs(), in doPromotion()
187 if (auto AllocSize = NF->getAttributes().getFnAttrs().getAllocSizeArgs()) { in doPromotion()
195 NF->addFnAttr(Attribute::getWithAllocSizeArgs(F->getContext(), Arg1, Arg2)); in doPromotion()
198 AttributeFuncs::updateMinLegalVectorWidthAttr(*NF, LargestVectorWidth); in doPromotion()
201 F->getParent()->getFunctionList().insert(F->getIterator(), NF); in doPromotion()
202 NF->takeName(F); in doPromotion()
269 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in doPromotion()
273 CallInst::Create(NF, Args, OpBundles, "", CB.getIterator()); in doPromotion()
303 NF->splice(NF->begin(), F); in doPromotion()
311 Function::arg_iterator I2 = NF->arg_begin(); in doPromotion()
338 IRBuilder<NoFolder> IRB(&NF->begin()->front()); in doPromotion()
416 auto &DT = FAM.getResult<DominatorTreeAnalysis>(*NF); in doPromotion()
417 auto &AC = FAM.getResult<AssumptionAnalysis>(*NF); in doPromotion()
421 return NF; in doPromotion()