Searched refs:newCall (Results 1 – 1 of 1) sorted by relevance
3923 llvm::CallSite newCall; in replaceUsesOfNonProtoConstant() local3925 newCall = llvm::CallInst::Create(newFn, newArgs, newBundles, "", in replaceUsesOfNonProtoConstant()3929 newCall = llvm::InvokeInst::Create(newFn, in replaceUsesOfNonProtoConstant()3937 if (!newCall->getType()->isVoidTy()) in replaceUsesOfNonProtoConstant()3938 newCall->takeName(callSite.getInstruction()); in replaceUsesOfNonProtoConstant()3939 newCall.setAttributes(llvm::AttributeList::get( in replaceUsesOfNonProtoConstant()3942 newCall.setCallingConv(callSite.getCallingConv()); in replaceUsesOfNonProtoConstant()3946 callSite->replaceAllUsesWith(newCall.getInstruction()); in replaceUsesOfNonProtoConstant()3950 newCall->setDebugLoc(callSite->getDebugLoc()); in replaceUsesOfNonProtoConstant()