Searched refs:NewCS (Results 1 – 2 of 2) sorted by relevance
282 CallBase *NewCS = nullptr; in doPromotion() local284 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()
1266 auto *NewCS = CallBase::removeOperandBundle( in applySingleImplDevirt() local1268 CB.replaceAllUsesWith(NewCS); in applySingleImplDevirt()1550 CallBase *NewCS = nullptr; in applyICallBranchFunnel() local1552 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()