Home
last modified time | relevance | path

Searched refs:newCall (Results 1 – 1 of 1) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenModule.cpp3923 llvm::CallSite newCall; in replaceUsesOfNonProtoConstant() local
3925 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()