Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenModule.cpp5305 llvm::CallBase *newCall; in replaceUsesOfNonProtoConstant() local
5307 newCall = in replaceUsesOfNonProtoConstant()
5311 newCall = llvm::InvokeInst::Create(newFn, oldInvoke->getNormalDest(), in replaceUsesOfNonProtoConstant()
5317 if (!newCall->getType()->isVoidTy()) in replaceUsesOfNonProtoConstant()
5318 newCall->takeName(callSite); in replaceUsesOfNonProtoConstant()
5319 newCall->setAttributes( in replaceUsesOfNonProtoConstant()
5322 newCall->setCallingConv(callSite->getCallingConv()); in replaceUsesOfNonProtoConstant()
5326 callSite->replaceAllUsesWith(newCall); in replaceUsesOfNonProtoConstant()
5330 newCall->setDebugLoc(callSite->getDebugLoc()); in replaceUsesOfNonProtoConstant()
H A DCGObjC.cpp2418 llvm::CallBase *newCall = llvm::CallBase::addOperandBundle( in emitOptimizedARCReturnCall() local
2420 newCall->copyMetadata(*oldCall); in emitOptimizedARCReturnCall()
2421 oldCall->replaceAllUsesWith(newCall); in emitOptimizedARCReturnCall()
2423 CGF.EmitARCNoopIntrinsicUse(newCall); in emitOptimizedARCReturnCall()
2424 return newCall; in emitOptimizedARCReturnCall()
H A DCGExprCXX.cpp1649 if (auto *newCall = dyn_cast<llvm::CallBase>(RV.getScalarVal())) in EmitCXXNewExpr() local
1650 getDebugInfo()->addHeapAllocSiteMetadata(newCall, allocType, in EmitCXXNewExpr()