Searched refs:newFn (Results 1 – 1 of 1) sorted by relevance
5240 llvm::Function *newFn) { in replaceUsesOfNonProtoConstant() argument5244 llvm::Type *newRetTy = newFn->getReturnType(); in replaceUsesOfNonProtoConstant()5256 replaceUsesOfNonProtoConstant(bitcast, newFn); in replaceUsesOfNonProtoConstant()5276 unsigned newNumArgs = newFn->arg_size(); in replaceUsesOfNonProtoConstant()5284 for (llvm::Argument &A : newFn->args()) { in replaceUsesOfNonProtoConstant()5308 llvm::CallInst::Create(newFn, newArgs, newBundles, "", callSite); in replaceUsesOfNonProtoConstant()5311 newCall = llvm::InvokeInst::Create(newFn, oldInvoke->getNormalDest(), in replaceUsesOfNonProtoConstant()5320 llvm::AttributeList::get(newFn->getContext(), oldAttrs.getFnAttrs(), in replaceUsesOfNonProtoConstant()