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.cpp282 CallBase *NewCS = nullptr; in doPromotion() local
284 NewCS = InvokeInst::Create(NF, II->getNormalDest(), II->getUnwindDest(), in doPromotion()
290 NewCS = NewCall; in doPromotion()
292 NewCS->setCallingConv(CB.getCallingConv()); in doPromotion()
293 NewCS->setAttributes(AttributeList::get(F->getContext(), in doPromotion()
296 NewCS->copyMetadata(CB, {LLVMContext::MD_prof, LLVMContext::MD_dbg}); in doPromotion()
304 CB.replaceAllUsesWith(NewCS); in doPromotion()
305 NewCS->takeName(&CB); in doPromotion()
H A DWholeProgramDevirt.cpp1266 auto *NewCS = CallBase::removeOperandBundle( in applySingleImplDevirt() local
1268 CB.replaceAllUsesWith(NewCS); in applySingleImplDevirt()
1550 CallBase *NewCS = nullptr; in applyICallBranchFunnel() local
1552 NewCS = IRB.CreateCall(NewFT, JT, Args); in applyICallBranchFunnel()
1554 NewCS = in applyICallBranchFunnel()
1557 NewCS->setCallingConv(CB.getCallingConv()); in applyICallBranchFunnel()
1566 NewCS->setAttributes( in applyICallBranchFunnel()
1570 CallBases[&CB] = NewCS; in applyICallBranchFunnel()