Lines Matching refs:getUser

1381     assert(isa<CallBase>(U->getUser()) &&  in verify()
1383 assert(cast<CallBase>(U->getUser())->isArgOperand(U) && in verify()
1386 assert(cast<CallBase>(U->getUser())->getArgOperandNo(U) == in verify()
1560 Instruction *UserI = dyn_cast<Instruction>(U.getUser()); in isAssumedDead()
1799 if (isa<PHINode>(U->getUser()) && !Visited.insert(U).second) in checkForAllUses()
1802 if (auto *Fn = dyn_cast<Function>(U->getUser())) in checkForAllUses()
1806 dbgs() << "[Attributor] Check use: " << **U << " in " << *U->getUser() in checkForAllUses()
1816 if (IgnoreDroppableUses && U->getUser()->isDroppable()) { in checkForAllUses()
1822 if (auto *SI = dyn_cast<StoreInst>(U->getUser())) { in checkForAllUses()
1849 User &Usr = *U->getUser(); in checkForAllUses()
1915 << *U.getUser() << "\n"; in checkForAllCallSites()
1917 dbgs() << "[Attributor] Check use: " << *U << " in " << *U.getUser() in checkForAllCallSites()
1927 if (ConstantExpr *CE = dyn_cast<ConstantExpr>(U.getUser())) { in checkForAllCallSites()
1943 << *U.getUser() << "\n"); in checkForAllCallSites()
1945 if (isa<BlockAddress>(U.getUser())) in checkForAllCallSites()
1954 LLVM_DEBUG(dbgs() << "[Attributor] User " << *EffectiveUse->getUser() in checkForAllCallSites()
1959 LLVM_DEBUG(dbgs() << "[Attributor] User " << *EffectiveUse->getUser() in checkForAllCallSites()
2440 Instruction *I = dyn_cast<Instruction>(U->getUser()); in cleanupIR()
2457 LLVM_DEBUG(dbgs() << "Use " << *NewV << " in " << *U->getUser() in cleanupIR()
2467 if (isa<UndefValue>(NewV) && isa<CallBase>(U->getUser())) { in cleanupIR()
2468 auto *CB = cast<CallBase>(U->getUser()); in cleanupIR()
2477 if (isa<Constant>(NewV) && isa<BranchInst>(U->getUser())) { in cleanupIR()
2478 Instruction *UserI = cast<Instruction>(U->getUser()); in cleanupIR()
2499 if (Done || !U.getUser()->isDroppable()) in cleanupIR()
2502 if (auto *I = dyn_cast<Instruction>(U->getUser())) in cleanupIR()
2848 if (auto *CB = dyn_cast<CallBase>(U.getUser())) in internalizeFunctions()
3359 if (const auto *CB = dyn_cast<CallBase>(U.getUser())) in identifyDefaultAbstractAttributes()
3872 if (CallBase *CB = dyn_cast<CallBase>(U.getUser())) { in runAttributorOnFunctions()
3891 const auto *CB = dyn_cast<CallBase>(U.getUser()); in runAttributorOnFunctions()
3953 const auto *CB = dyn_cast<CallBase>(U.getUser()); in runAttributorLightOnFunctions()