Lines Matching refs:newFn
2260 llvm::Function *newFn) { in replaceUsesOfNonProtoConstant() argument
2264 llvm::Type *newRetTy = newFn->getReturnType(); in replaceUsesOfNonProtoConstant()
2276 replaceUsesOfNonProtoConstant(bitcast, newFn); in replaceUsesOfNonProtoConstant()
2297 llvm::AttributeSet::get(newFn->getContext(), in replaceUsesOfNonProtoConstant()
2301 unsigned newNumArgs = newFn->arg_size(); in replaceUsesOfNonProtoConstant()
2308 for (llvm::Function::arg_iterator ai = newFn->arg_begin(), in replaceUsesOfNonProtoConstant()
2309 ae = newFn->arg_end(); ai != ae; ++ai, ++argNo) { in replaceUsesOfNonProtoConstant()
2319 AttributeSet::get(newFn->getContext(), in replaceUsesOfNonProtoConstant()
2326 newAttrs.push_back(llvm::AttributeSet::get(newFn->getContext(), in replaceUsesOfNonProtoConstant()
2335 newCall = llvm::CallInst::Create(newFn, newArgs, "", in replaceUsesOfNonProtoConstant()
2339 newCall = llvm::InvokeInst::Create(newFn, in replaceUsesOfNonProtoConstant()
2350 llvm::AttributeSet::get(newFn->getContext(), newAttrs)); in replaceUsesOfNonProtoConstant()