Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjC.cpp2396 llvm::CallBase *newCall = llvm::CallBase::addOperandBundle( in emitOptimizedARCReturnCall() local
2398 newCall->copyMetadata(*oldCall); in emitOptimizedARCReturnCall()
2399 oldCall->replaceAllUsesWith(newCall); in emitOptimizedARCReturnCall()
2401 CGF.EmitARCNoopIntrinsicUse(newCall); in emitOptimizedARCReturnCall()
2402 return newCall; in emitOptimizedARCReturnCall()
H A DCodeGenModule.cpp5754 llvm::CallBase *newCall; in replaceUsesOfNonProtoConstant() local
5756 newCall = in replaceUsesOfNonProtoConstant()
5760 newCall = llvm::InvokeInst::Create(newFn, oldInvoke->getNormalDest(), in replaceUsesOfNonProtoConstant()
5766 if (!newCall->getType()->isVoidTy()) in replaceUsesOfNonProtoConstant()
5767 newCall->takeName(callSite); in replaceUsesOfNonProtoConstant()
5768 newCall->setAttributes( in replaceUsesOfNonProtoConstant()
5771 newCall->setCallingConv(callSite->getCallingConv()); in replaceUsesOfNonProtoConstant()
5775 callSite->replaceAllUsesWith(newCall); in replaceUsesOfNonProtoConstant()
5779 newCall->setDebugLoc(callSite->getDebugLoc()); in replaceUsesOfNonProtoConstant()
H A DCGExprCXX.cpp1675 if (auto *newCall = dyn_cast<llvm::CallBase>(RV.getScalarVal())) in EmitCXXNewExpr() local
1676 getDebugInfo()->addHeapAllocSiteMetadata(newCall, allocType, in EmitCXXNewExpr()