reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4279 if (!callSite) continue; 4280 if (!callSite->isCallee(&*use)) 4285 if (callSite->getType() != newRetTy && !callSite->use_empty()) 4285 if (callSite->getType() != newRetTy && !callSite->use_empty()) 4290 llvm::AttributeList oldAttrs = callSite->getAttributes(); 4294 if (callSite->arg_size() < newNumArgs) 4302 if (callSite->getArgOperand(argNo)->getType() != A.getType()) { 4316 newArgs.append(callSite->arg_begin(), callSite->arg_begin() + argNo); 4316 newArgs.append(callSite->arg_begin(), callSite->arg_begin() + argNo); 4319 callSite->getOperandBundlesAsDefs(newBundles); 4322 if (dyn_cast<llvm::CallInst>(callSite)) { 4324 llvm::CallInst::Create(newFn, newArgs, newBundles, "", callSite); 4326 auto *oldInvoke = cast<llvm::InvokeInst>(callSite); 4329 newBundles, "", callSite); 4334 newCall->takeName(callSite); 4338 newCall->setCallingConv(callSite->getCallingConv()); 4341 if (!callSite->use_empty()) 4342 callSite->replaceAllUsesWith(newCall); 4345 if (callSite->getDebugLoc()) 4346 newCall->setDebugLoc(callSite->getDebugLoc()); 4348 callSite->eraseFromParent();