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.cpp2395 llvm::CallBase *newCall = llvm::CallBase::addOperandBundle( in emitOptimizedARCReturnCall() local
2397 newCall->copyMetadata(*oldCall); in emitOptimizedARCReturnCall()
2398 oldCall->replaceAllUsesWith(newCall); in emitOptimizedARCReturnCall()
2400 CGF.EmitARCNoopIntrinsicUse(newCall); in emitOptimizedARCReturnCall()
2401 return newCall; in emitOptimizedARCReturnCall()
H A DCodeGenModule.cpp5901 llvm::CallBase *newCall; in replaceUsesOfNonProtoConstant() local
5903 newCall = in replaceUsesOfNonProtoConstant()
5907 newCall = llvm::InvokeInst::Create(newFn, oldInvoke->getNormalDest(), in replaceUsesOfNonProtoConstant()
5913 if (!newCall->getType()->isVoidTy()) in replaceUsesOfNonProtoConstant()
5914 newCall->takeName(callSite); in replaceUsesOfNonProtoConstant()
5915 newCall->setAttributes( in replaceUsesOfNonProtoConstant()
5918 newCall->setCallingConv(callSite->getCallingConv()); in replaceUsesOfNonProtoConstant()
5922 callSite->replaceAllUsesWith(newCall); in replaceUsesOfNonProtoConstant()
5926 newCall->setDebugLoc(callSite->getDebugLoc()); in replaceUsesOfNonProtoConstant()
H A DCGExprCXX.cpp1674 if (auto *newCall = dyn_cast<llvm::CallBase>(RV.getScalarVal())) in EmitCXXNewExpr() local
1675 getDebugInfo()->addHeapAllocSiteMetadata(newCall, allocType, in EmitCXXNewExpr()