Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp4764 llvm::CallBase *newCall; in replaceUsesOfNonProtoConstant() local
4766 newCall = in replaceUsesOfNonProtoConstant()
4770 newCall = llvm::InvokeInst::Create(newFn, oldInvoke->getNormalDest(), in replaceUsesOfNonProtoConstant()
4776 if (!newCall->getType()->isVoidTy()) in replaceUsesOfNonProtoConstant()
4777 newCall->takeName(callSite); in replaceUsesOfNonProtoConstant()
4778 newCall->setAttributes(llvm::AttributeList::get( in replaceUsesOfNonProtoConstant()
4781 newCall->setCallingConv(callSite->getCallingConv()); in replaceUsesOfNonProtoConstant()
4785 callSite->replaceAllUsesWith(newCall); in replaceUsesOfNonProtoConstant()
4789 newCall->setDebugLoc(callSite->getDebugLoc()); in replaceUsesOfNonProtoConstant()
H A DCGObjC.cpp2352 llvm::CallBase *newCall = llvm::CallBase::addOperandBundle( in emitOptimizedARCReturnCall() local
2354 newCall->copyMetadata(*oldCall); in emitOptimizedARCReturnCall()
2355 oldCall->replaceAllUsesWith(newCall); in emitOptimizedARCReturnCall()
2357 CGF.EmitARCNoopIntrinsicUse(newCall); in emitOptimizedARCReturnCall()
2358 return newCall; in emitOptimizedARCReturnCall()
H A DCGExprCXX.cpp1651 if (auto *newCall = dyn_cast<llvm::CallBase>(RV.getScalarVal())) in EmitCXXNewExpr() local
1652 getDebugInfo()->addHeapAllocSiteMetadata(newCall, allocType, in EmitCXXNewExpr()