Lines Matching refs:Load
330 bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const;
998 else if (auto *Load = dyn_cast<LoadSDNode>(RISBG.Input)) { in tryRISBGZero() local
999 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1000 (Load->getExtensionType() == ISD::EXTLOAD || in tryRISBGZero()
1001 Load->getExtensionType() == ISD::ZEXTLOAD) && in tryRISBGZero()
1089 if (auto *Load = dyn_cast<LoadSDNode>(Op0.getNode())) in tryRxSBG() local
1090 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1190 auto *Load = dyn_cast<LoadSDNode>(N->getOperand(1)); in tryGather() local
1191 if (!Load || !Load->hasNUsesOfValue(1, 0)) in tryGather()
1193 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1194 Load->getValueType(0).getSizeInBits()) in tryGather()
1198 if (!selectBDVAddr12Only(Load->getBasePtr(), ElemV, Base, Disp, Index) || in tryGather()
1202 SDLoc DL(Load); in tryGather()
1205 CurDAG->getTargetConstant(Elem, DL, MVT::i32), Load->getChain() in tryGather()
1208 ReplaceUses(SDValue(Load, 1), SDValue(Res, 1)); in tryGather()
1263 SDValue Load = StoredVal->getOperand(0); in isFusableLoadOpStorePattern() local
1265 if (!ISD::isNormalLoad(Load.getNode())) in isFusableLoadOpStorePattern()
1269 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern()
1272 if (!Load.hasOneUse()) in isFusableLoadOpStorePattern()
1285 if (Chain == Load.getValue(1)) { in isFusableLoadOpStorePattern()
1295 if (Op == Load.getValue(1)) { in isFusableLoadOpStorePattern()
1298 ChainOps.push_back(Load.getOperand(0)); in isFusableLoadOpStorePattern()
1312 if (SDNode::hasPredecessorHelper(Load.getNode(), Visited, LoopWorklist, Max, in isFusableLoadOpStorePattern()
1409 LoadSDNode *Load) const { in canUseBlockOperation()
1411 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1415 if (Load->isVolatile() || Store->isVolatile()) in canUseBlockOperation()
1419 if (Load->isInvariant() && Load->isDereferenceable()) in canUseBlockOperation()
1423 const Value *V1 = Load->getMemOperand()->getValue(); in canUseBlockOperation()
1429 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1430 int64_t End1 = Load->getSrcValueOffset() + Size; in canUseBlockOperation()
1435 return AA->isNoAlias(MemoryLocation(V1, End1, Load->getAAInfo()), in canUseBlockOperation()
1441 auto *Load = cast<LoadSDNode>(Store->getValue()); in storeLoadCanUseMVC() local
1445 uint64_t Size = Load->getMemoryVT().getStoreSize(); in storeLoadCanUseMVC()
1448 if (SystemZISD::isPCREL(Load->getBasePtr().getOpcode())) in storeLoadCanUseMVC()
1455 return canUseBlockOperation(Store, Load); in storeLoadCanUseMVC()