Lines Matching refs:Load
329 bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const;
997 else if (auto *Load = dyn_cast<LoadSDNode>(RISBG.Input)) { in tryRISBGZero() local
998 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
999 (Load->getExtensionType() == ISD::EXTLOAD || in tryRISBGZero()
1000 Load->getExtensionType() == ISD::ZEXTLOAD) && in tryRISBGZero()
1088 if (auto *Load = dyn_cast<LoadSDNode>(Op0.getNode())) in tryRxSBG() local
1089 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1189 auto *Load = dyn_cast<LoadSDNode>(N->getOperand(1)); in tryGather() local
1190 if (!Load || !Load->hasNUsesOfValue(1, 0)) in tryGather()
1192 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1193 Load->getValueType(0).getSizeInBits()) in tryGather()
1197 if (!selectBDVAddr12Only(Load->getBasePtr(), ElemV, Base, Disp, Index) || in tryGather()
1201 SDLoc DL(Load); in tryGather()
1204 CurDAG->getTargetConstant(Elem, DL, MVT::i32), Load->getChain() in tryGather()
1207 ReplaceUses(SDValue(Load, 1), SDValue(Res, 1)); in tryGather()
1262 SDValue Load = StoredVal->getOperand(0); in isFusableLoadOpStorePattern() local
1264 if (!ISD::isNormalLoad(Load.getNode())) in isFusableLoadOpStorePattern()
1268 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern()
1271 if (!Load.hasOneUse()) in isFusableLoadOpStorePattern()
1284 if (Chain == Load.getValue(1)) { in isFusableLoadOpStorePattern()
1294 if (Op == Load.getValue(1)) { in isFusableLoadOpStorePattern()
1297 ChainOps.push_back(Load.getOperand(0)); in isFusableLoadOpStorePattern()
1311 if (SDNode::hasPredecessorHelper(Load.getNode(), Visited, LoopWorklist, Max, in isFusableLoadOpStorePattern()
1408 LoadSDNode *Load) const { in canUseBlockOperation()
1410 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1414 if (Load->isVolatile() || Store->isVolatile()) in canUseBlockOperation()
1418 if (Load->isInvariant() && Load->isDereferenceable()) in canUseBlockOperation()
1422 const Value *V1 = Load->getMemOperand()->getValue(); in canUseBlockOperation()
1428 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1429 int64_t End1 = Load->getSrcValueOffset() + Size; in canUseBlockOperation()
1434 return AA->isNoAlias(MemoryLocation(V1, End1, Load->getAAInfo()), in canUseBlockOperation()
1440 auto *Load = cast<LoadSDNode>(Store->getValue()); in storeLoadCanUseMVC() local
1444 uint64_t Size = Load->getMemoryVT().getStoreSize(); in storeLoadCanUseMVC()
1447 if (SystemZISD::isPCREL(Load->getBasePtr().getOpcode())) in storeLoadCanUseMVC()
1454 return canUseBlockOperation(Store, Load); in storeLoadCanUseMVC()