Lines Matching refs:getUser
1039 assert(isa<CallBase>(U->getUser()) && in verify()
1041 assert(cast<CallBase>(U->getUser())->isArgOperand(U) && in verify()
1044 assert(cast<CallBase>(U->getUser())->getArgOperandNo(U) == in verify()
1182 Instruction *UserI = dyn_cast<Instruction>(U.getUser()); in isAssumedDead()
1369 if (isa<PHINode>(U->getUser()) && !Visited.insert(U).second) in checkForAllUses()
1372 if (auto *Fn = dyn_cast<Function>(U->getUser())) in checkForAllUses()
1376 dbgs() << "[Attributor] Check use: " << **U << " in " << *U->getUser() in checkForAllUses()
1385 if (IgnoreDroppableUses && U->getUser()->isDroppable()) { in checkForAllUses()
1390 if (auto *SI = dyn_cast<StoreInst>(U->getUser())) { in checkForAllUses()
1415 User &Usr = *U->getUser(); in checkForAllUses()
1476 << *U.getUser() << "\n"; in checkForAllCallSites()
1478 dbgs() << "[Attributor] Check use: " << *U << " in " << *U.getUser() in checkForAllCallSites()
1486 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(U.getUser())) { in checkForAllCallSites()
1502 << *U.getUser() << "\n"); in checkForAllCallSites()
1504 if (isa<BlockAddress>(U.getUser())) in checkForAllCallSites()
1513 LLVM_DEBUG(dbgs() << "[Attributor] User " << *EffectiveUse->getUser() in checkForAllCallSites()
1518 LLVM_DEBUG(dbgs() << "[Attributor] User " << *EffectiveUse->getUser() in checkForAllCallSites()
2007 Instruction *I = dyn_cast<Instruction>(U->getUser()); in cleanupIR()
2029 LLVM_DEBUG(dbgs() << "Use " << *NewV << " in " << *U->getUser() in cleanupIR()
2039 if (isa<UndefValue>(NewV) && isa<CallBase>(U->getUser())) { in cleanupIR()
2040 auto *CB = cast<CallBase>(U->getUser()); in cleanupIR()
2049 if (isa<Constant>(NewV) && isa<BranchInst>(U->getUser())) { in cleanupIR()
2050 Instruction *UserI = cast<Instruction>(U->getUser()); in cleanupIR()
2072 if (Entry.second || !U.getUser()->isDroppable()) in cleanupIR()
2075 if (auto *I = dyn_cast<Instruction>(U->getUser())) in cleanupIR()
2411 if (auto *CB = dyn_cast<CallBase>(U.getUser())) in internalizeFunctions()
2890 if (const auto *CB = dyn_cast<CallBase>(U.getUser())) in identifyDefaultAbstractAttributes()
3315 if (CallBase *CB = dyn_cast<CallBase>(U.getUser())) { in runAttributorOnFunctions()
3334 const auto *CB = dyn_cast<CallBase>(U.getUser()); in runAttributorOnFunctions()