Home
last modified time | relevance | path

Searched refs:NewCS (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp267 CallBase *NewCS = nullptr; in doPromotion() local
269 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in doPromotion()
275 NewCS = NewCall; in doPromotion()
277 NewCS->setCallingConv(CB.getCallingConv()); in doPromotion()
278 NewCS->setAttributes(AttributeList::get(F->getContext(), in doPromotion()
281 NewCS->copyMetadata(CB, {LLVMContext::MD_prof, LLVMContext::MD_dbg}); in doPromotion()
289 CB.replaceAllUsesWith(NewCS); in doPromotion()
290 NewCS->takeName(&CB); in doPromotion()
H A DWholeProgramDevirt.cpp1227 auto *NewCS = CallBase::removeOperandBundle( in applySingleImplDevirt() local
1229 CB.replaceAllUsesWith(NewCS); in applySingleImplDevirt()
1497 CallBase *NewCS = nullptr; in applyICallBranchFunnel() local
1499 NewCS = IRB.CreateCall(NewFT, IRB.CreateBitCast(JT, NewFTPtr), Args); in applyICallBranchFunnel()
1501 NewCS = IRB.CreateInvoke(NewFT, IRB.CreateBitCast(JT, NewFTPtr), in applyICallBranchFunnel()
1504 NewCS->setCallingConv(CB.getCallingConv()); in applyICallBranchFunnel()
1513 NewCS->setAttributes( in applyICallBranchFunnel()
1517 CallBases[&CB] = NewCS; in applyICallBranchFunnel()