Lines Matching refs:Load

332   bool canUseBlockOperation(StoreSDNode *Store, LoadSDNode *Load) const;
1007 else if (auto *Load = dyn_cast<LoadSDNode>(RISBG.Input)) { in tryRISBGZero() local
1008 if (Load->getMemoryVT() == MVT::i32 && in tryRISBGZero()
1009 (Load->getExtensionType() == ISD::EXTLOAD || in tryRISBGZero()
1010 Load->getExtensionType() == ISD::ZEXTLOAD) && in tryRISBGZero()
1101 if (auto *Load = dyn_cast<LoadSDNode>(Op0.getNode())) in tryRxSBG() local
1102 if (Load->getMemoryVT() == MVT::i8) in tryRxSBG()
1231 auto *Load = dyn_cast<LoadSDNode>(N->getOperand(1)); in tryGather() local
1232 if (!Load || !Load->hasNUsesOfValue(1, 0)) in tryGather()
1234 if (Load->getMemoryVT().getSizeInBits() != in tryGather()
1235 Load->getValueType(0).getSizeInBits()) in tryGather()
1239 if (!selectBDVAddr12Only(Load->getBasePtr(), ElemV, Base, Disp, Index) || in tryGather()
1243 SDLoc DL(Load); in tryGather()
1246 CurDAG->getTargetConstant(Elem, DL, MVT::i32), Load->getChain() in tryGather()
1249 ReplaceUses(SDValue(Load, 1), SDValue(Res, 1)); in tryGather()
1304 SDValue Load = StoredVal->getOperand(0); in isFusableLoadOpStorePattern() local
1306 if (!ISD::isNormalLoad(Load.getNode())) in isFusableLoadOpStorePattern()
1310 LoadNode = cast<LoadSDNode>(Load); in isFusableLoadOpStorePattern()
1313 if (!Load.hasOneUse()) in isFusableLoadOpStorePattern()
1326 if (Chain == Load.getValue(1)) { in isFusableLoadOpStorePattern()
1336 if (Op == Load.getValue(1)) { in isFusableLoadOpStorePattern()
1339 ChainOps.push_back(Load.getOperand(0)); in isFusableLoadOpStorePattern()
1353 if (SDNode::hasPredecessorHelper(Load.getNode(), Visited, LoopWorklist, Max, in isFusableLoadOpStorePattern()
1450 LoadSDNode *Load) const { in canUseBlockOperation()
1452 if (Load->getMemoryVT() != Store->getMemoryVT()) in canUseBlockOperation()
1456 if (Load->isVolatile() || Store->isVolatile()) in canUseBlockOperation()
1460 if (Load->isInvariant() && Load->isDereferenceable()) in canUseBlockOperation()
1464 const Value *V1 = Load->getMemOperand()->getValue(); in canUseBlockOperation()
1470 uint64_t Size = Load->getMemoryVT().getStoreSize(); in canUseBlockOperation()
1471 int64_t End1 = Load->getSrcValueOffset() + Size; in canUseBlockOperation()
1476 return AA->isNoAlias(MemoryLocation(V1, End1, Load->getAAInfo()), in canUseBlockOperation()
1482 auto *Load = cast<LoadSDNode>(Store->getValue()); in storeLoadCanUseMVC() local
1486 uint64_t Size = Load->getMemoryVT().getStoreSize(); in storeLoadCanUseMVC()
1489 if (SystemZISD::isPCREL(Load->getBasePtr().getOpcode())) in storeLoadCanUseMVC()
1496 return canUseBlockOperation(Store, Load); in storeLoadCanUseMVC()