Lines Matching refs:getUser

868     assert(AS.Slices[PrevIdx].getUse()->getUser() == &II &&  in visitMemTransferInst()
1048 OS << Indent << " used by: " << *I->getUse()->getUser() << "\n"; in printUse()
1084 if (isa<IntrinsicInst>(*U->getUser())) in findCommonType()
1090 if (LoadInst *LI = dyn_cast<LoadInst>(U->getUser())) { in findCommonType()
1092 } else if (StoreInst *SI = dyn_cast<StoreInst>(U->getUser())) { in findCommonType()
1752 if (MemIntrinsic *MI = dyn_cast<MemIntrinsic>(U->getUser())) { in isVectorPromotionViableForSlice()
1757 } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(U->getUser())) { in isVectorPromotionViableForSlice()
1764 } else if (LoadInst *LI = dyn_cast<LoadInst>(U->getUser())) { in isVectorPromotionViableForSlice()
1774 } else if (StoreInst *SI = dyn_cast<StoreInst>(U->getUser())) { in isVectorPromotionViableForSlice()
1819 if (auto *LI = dyn_cast<LoadInst>(S.getUse()->getUser())) in isVectorPromotionViable()
1821 else if (auto *SI = dyn_cast<StoreInst>(S.getUse()->getUser())) in isVectorPromotionViable()
1923 if (LoadInst *LI = dyn_cast<LoadInst>(U->getUser())) { in isIntegerWideningViableForSlice()
1943 } else if (StoreInst *SI = dyn_cast<StoreInst>(U->getUser())) { in isIntegerWideningViableForSlice()
1964 } else if (MemIntrinsic *MI = dyn_cast<MemIntrinsic>(U->getUser())) { in isIntegerWideningViableForSlice()
1969 } else if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(U->getUser())) { in isIntegerWideningViableForSlice()
2267 Instruction *OldUserI = cast<Instruction>(OldUse->getUser()); in visit()
2272 CanSROA &= visit(cast<Instruction>(OldUse->getUser())); in visit()
2996 Changed |= visit(cast<Instruction>(U->getUser())); in rewrite()
3006 if (Visited.insert(U.getUser()).second) in enqueueUsers()
3382 Instruction *I = cast<Instruction>(S.getUse()->getUser()); in presplitLoadsAndStores()
3414 } else if (auto *SI = dyn_cast<StoreInst>(S.getUse()->getUser())) { in presplitLoadsAndStores()
3442 SplitOffsetsMap.find(cast<Instruction>(S->getUse()->getUser())); in presplitLoadsAndStores()
3982 if (isa<LoadInst>(S.getUse()->getUser()) || in splitAlloca()
3983 isa<StoreInst>(S.getUse()->getUser())) { in splitAlloca()