Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp2440 llvm::CallBase *newCall = llvm::CallBase::addOperandBundle( in emitOptimizedARCReturnCall() local
2443 newCall->copyMetadata(*oldCall); in emitOptimizedARCReturnCall()
2444 oldCall->replaceAllUsesWith(newCall); in emitOptimizedARCReturnCall()
2446 CGF.EmitARCNoopIntrinsicUse(newCall); in emitOptimizedARCReturnCall()
2447 return newCall; in emitOptimizedARCReturnCall()
H A DCodeGenModule.cpp6208 llvm::CallBase *newCall; in replaceUsesOfNonProtoConstant() local
6210 newCall = llvm::CallInst::Create(newFn, newArgs, newBundles, "", in replaceUsesOfNonProtoConstant()
6214 newCall = llvm::InvokeInst::Create( in replaceUsesOfNonProtoConstant()
6220 if (!newCall->getType()->isVoidTy()) in replaceUsesOfNonProtoConstant()
6221 newCall->takeName(callSite); in replaceUsesOfNonProtoConstant()
6222 newCall->setAttributes( in replaceUsesOfNonProtoConstant()
6225 newCall->setCallingConv(callSite->getCallingConv()); in replaceUsesOfNonProtoConstant()
6229 callSite->replaceAllUsesWith(newCall); in replaceUsesOfNonProtoConstant()
6233 newCall->setDebugLoc(callSite->getDebugLoc()); in replaceUsesOfNonProtoConstant()
H A DCGExprCXX.cpp1713 if (auto *newCall = dyn_cast<llvm::CallBase>(RV.getScalarVal())) in EmitCXXNewExpr() local
1714 getDebugInfo()->addHeapAllocSiteMetadata(newCall, allocType, in EmitCXXNewExpr()