Lines Matching defs:Load
311 // Return true if Load and Store are loads and stores of the same size
320 bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const;
1008 if (auto *Load = dyn_cast<LoadSDNode>(Op0.getNode()))
1009 if (Load->getMemoryVT() == MVT::i8)
1058 auto *Load = dyn_cast<LoadSDNode>(N->getOperand(1));
1059 if (!Load || !Load->hasOneUse())
1061 if (Load->getMemoryVT().getSizeInBits() !=
1062 Load->getValueType(0).getSizeInBits())
1066 if (!selectBDVAddr12Only(Load->getBasePtr(), ElemV, Base, Disp, Index) ||
1070 SDLoc DL(Load);
1073 CurDAG->getTargetConstant(Elem, DL, MVT::i32), Load->getChain()
1076 ReplaceUses(SDValue(Load, 1), SDValue(Res, 1));
1113 LoadSDNode *Load) const {
1115 if (Load->getMemoryVT() != Store->getMemoryVT())
1119 if (Load->isVolatile() || Store->isVolatile())
1123 if (Load->isInvariant())
1127 const Value *V1 = Load->getMemOperand()->getValue();
1133 uint64_t Size = Load->getMemoryVT().getStoreSize();
1134 int64_t End1 = Load->getSrcValueOffset() + Size;
1139 return !AA->alias(MemoryLocation(V1, End1, Load->getAAInfo()),
1145 auto *Load = cast<LoadSDNode>(Store->getValue());
1149 uint64_t Size = Load->getMemoryVT().getStoreSize();
1152 if (SystemZISD::isPCREL(Load->getBasePtr().getOpcode()))
1159 return canUseBlockOperation(Store, Load);