Searched refs:newFn (Results 1 – 1 of 1) sorted by relevance
5833 llvm::Function *newFn) { in replaceUsesOfNonProtoConstant() argument5838 llvm::Type *newRetTy = newFn->getReturnType(); in replaceUsesOfNonProtoConstant()5851 replaceUsesOfNonProtoConstant(bitcast, newFn); in replaceUsesOfNonProtoConstant()5872 unsigned newNumArgs = newFn->arg_size(); in replaceUsesOfNonProtoConstant()5880 for (llvm::Argument &A : newFn->args()) { in replaceUsesOfNonProtoConstant()5904 llvm::CallInst::Create(newFn, newArgs, newBundles, "", callSite); in replaceUsesOfNonProtoConstant()5907 newCall = llvm::InvokeInst::Create(newFn, oldInvoke->getNormalDest(), in replaceUsesOfNonProtoConstant()5916 llvm::AttributeList::get(newFn->getContext(), oldAttrs.getFnAttrs(), in replaceUsesOfNonProtoConstant()