Lines Matching refs:NF
160 Function *NF = Function::Create(NFTy, F->getLinkage(), F->getAddressSpace(), in doPromotion() local
162 NF->copyAttributesFrom(F); in doPromotion()
163 NF->copyMetadata(F, 0); in doPromotion()
164 NF->setIsNewDbgInfoFormat(F->IsNewDbgInfoFormat); in doPromotion()
171 LLVM_DEBUG(dbgs() << "ARG PROMOTION: Promoting to:" << *NF << "\n" in doPromotion()
182 NF->setAttributes(AttributeList::get(F->getContext(), PAL.getFnAttrs(), in doPromotion()
186 if (auto AllocSize = NF->getAttributes().getFnAttrs().getAllocSizeArgs()) { in doPromotion()
194 NF->addFnAttr(Attribute::getWithAllocSizeArgs(F->getContext(), Arg1, Arg2)); in doPromotion()
197 AttributeFuncs::updateMinLegalVectorWidthAttr(*NF, LargestVectorWidth); in doPromotion()
200 F->getParent()->getFunctionList().insert(F->getIterator(), NF); in doPromotion()
201 NF->takeName(F); in doPromotion()
268 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in doPromotion()
271 auto *NewCall = CallInst::Create(NF, Args, OpBundles, "", &CB); in doPromotion()
301 NF->splice(NF->begin(), F); in doPromotion()
309 Function::arg_iterator I2 = NF->arg_begin(); in doPromotion()
336 IRBuilder<NoFolder> IRB(&NF->begin()->front()); in doPromotion()
414 auto &DT = FAM.getResult<DominatorTreeAnalysis>(*NF); in doPromotion()
415 auto &AC = FAM.getResult<AssumptionAnalysis>(*NF); in doPromotion()
419 return NF; in doPromotion()