reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
839 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(I)) { 849 if (isa<LoadInst>(I) && I->hasOneUse()) { 849 if (isa<LoadInst>(I) && I->hasOneUse()) { 850 auto *SingleUser = cast<Instruction>(*I->user_begin()); 851 if (SingleUser->getParent() == I->getParent()) { 860 return getLoadStoreAddrMode(HasVector, I->getType()); 862 } else if (auto *StoreI = dyn_cast<StoreInst>(I)) { 864 if (LoadI->hasOneUse() && LoadI->getParent() == I->getParent()) 869 if (HasVector && (isa<LoadInst>(I) || isa<StoreInst>(I))) { 869 if (HasVector && (isa<LoadInst>(I) || isa<StoreInst>(I))) { 877 Type *MemAccessTy = (isa<LoadInst>(I) ? I->getType() : 877 Type *MemAccessTy = (isa<LoadInst>(I) ? I->getType() : 878 I->getOperand(0)->getType()); 884 if (!IsVectorAccess && isa<StoreInst>(I)) { 885 Value *DataOp = I->getOperand(0); 892 if (!IsVectorAccess && isa<LoadInst>(I) && I->hasOneUse()) { 892 if (!IsVectorAccess && isa<LoadInst>(I) && I->hasOneUse()) { 893 User *LoadUser = *I->user_begin();