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