Searched refs:NewCB (Results 1 – 4 of 4) sorted by relevance
207 CallBase *NewCB; in insertCFGuardDispatch() local209 NewCB = CallInst::Create(CI, Bundles, CB); in insertCFGuardDispatch()213 NewCB = llvm::InvokeInst::Create(II, Bundles, CB); in insertCFGuardDispatch()217 NewCB->setCalledOperand(GuardDispatchLoad); in insertCFGuardDispatch()220 CB->replaceAllUsesWith(NewCB); in insertCFGuardDispatch()
125 MDNode *NewCB) { in mergeCallbackEncodings() argument127 return MDNode::get(Context, {NewCB}); in mergeCallbackEncodings()129 auto *NewCBCalleeIdxAsCM = cast<ConstantAsMetadata>(NewCB->getOperand(0)); in mergeCallbackEncodings()149 Ops[NumExistingOps] = NewCB; in mergeCallbackEncodings()
110 MDNode *mergeCallbackEncodings(MDNode *ExistingCallbacks, MDNode *NewCB);
6359 CallBase *NewCB; in rewriteFunctionSignatures() local6361 NewCB = in rewriteFunctionSignatures()6368 NewCB = NewCI; in rewriteFunctionSignatures()6374 NewCB->setProfWeight(W); in rewriteFunctionSignatures()6375 NewCB->setCallingConv(OldCB->getCallingConv()); in rewriteFunctionSignatures()6376 NewCB->setDebugLoc(OldCB->getDebugLoc()); in rewriteFunctionSignatures()6377 NewCB->takeName(OldCB); in rewriteFunctionSignatures()6378 NewCB->setAttributes(AttributeList::get( in rewriteFunctionSignatures()6382 CallSitePairs.push_back({OldCB, NewCB}); in rewriteFunctionSignatures()6411 CallBase &NewCB = *CallSitePair.second; in rewriteFunctionSignatures() local[all …]