reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
247 IRBuilder<NoFolder> IRB(Call); 328 if (InvokeInst *II = dyn_cast<InvokeInst>(Call)) { 330 Args, OpBundles, "", Call); 332 auto *NewCall = CallInst::Create(NF, Args, OpBundles, "", Call); 333 NewCall->setTailCallKind(cast<CallInst>(Call)->getTailCallKind()); 340 NewCS->setDebugLoc(Call->getDebugLoc()); 342 if (Call->extractProfTotalWeight(W)) 351 if (!Call->use_empty()) { 352 Call->replaceAllUsesWith(NewCS.getInstruction()); 353 NewCS->takeName(Call); 358 Call->eraseFromParent();