Lines Matching defs:LD
2049 } else if (LoadSDNode *Ld = dyn_cast<LoadSDNode>(Arg)) {
2057 SDValue Ptr = Ld->getBasePtr();
3701 if (LoadSDNode *Ld = dyn_cast<LoadSDNode>(Op))
3703 Ld->getChain(), Ld->getBasePtr(), Ld->getPointerInfo(),
3704 Ld->isVolatile(), Ld->isNonTemporal(),
3705 Ld->isInvariant(), Ld->getAlignment());
3720 if (LoadSDNode *Ld = dyn_cast<LoadSDNode>(Op)) {
3721 SDValue Ptr = Ld->getBasePtr();
3723 Ld->getChain(), Ptr,
3724 Ld->getPointerInfo(),
3725 Ld->isVolatile(), Ld->isNonTemporal(),
3726 Ld->isInvariant(), Ld->getAlignment());
3729 unsigned NewAlign = MinAlign(Ld->getAlignment(), 4);
3733 Ld->getChain(), NewPtr,
3734 Ld->getPointerInfo().getWithOffset(4),
3735 Ld->isVolatile(), Ld->isNonTemporal(),
3736 Ld->isInvariant(), NewAlign);
6266 static SDValue SkipLoadExtensionForVMULL(LoadSDNode *LD, SelectionDAG& DAG) {
6267 EVT ExtendedTy = getExtensionTo64Bits(LD->getMemoryVT());
6270 if (ExtendedTy == LD->getMemoryVT())
6271 return DAG.getLoad(LD->getMemoryVT(), SDLoc(LD), LD->getChain(),
6272 LD->getBasePtr(), LD->getPointerInfo(), LD->isVolatile(),
6273 LD->isNonTemporal(), LD->isInvariant(),
6274 LD->getAlignment());
6279 return DAG.getExtLoad(LD->getExtensionType(), SDLoc(LD), ExtendedTy,
6280 LD->getChain(), LD->getBasePtr(), LD->getPointerInfo(),
6281 LD->getMemoryVT(), LD->isVolatile(), LD->isInvariant(),
6282 LD->isNonTemporal(), LD->getAlignment());
6298 if (LoadSDNode *LD = dyn_cast<LoadSDNode>(N))
6299 return SkipLoadExtensionForVMULL(LD, DAG);
9216 LoadSDNode *LD = cast<LoadSDNode>(InNode);
9219 SDLoc DL(LD);
9220 SDValue BasePtr = LD->getBasePtr();
9221 SDValue NewLD1 = DAG.getLoad(MVT::i32, DL, LD->getChain(), BasePtr,
9222 LD->getPointerInfo(), LD->isVolatile(),
9223 LD->isNonTemporal(), LD->isInvariant(),
9224 LD->getAlignment());
9229 LD->getPointerInfo(), LD->isVolatile(),
9230 LD->isNonTemporal(), LD->isInvariant(),
9231 std::min(4U, LD->getAlignment() / 2));
9233 DAG.ReplaceAllUsesOfValueWith(SDValue(LD, 1), NewLD2.getValue(1));
10657 // For any little-endian targets with neon, we can support unaligned ld/st
11086 if (LoadSDNode *LD = dyn_cast<LoadSDNode>(N)) {
11087 Ptr = LD->getBasePtr();
11088 VT = LD->getMemoryVT();
11089 isSEXTLoad = LD->getExtensionType() == ISD::SEXTLOAD;
11125 if (LoadSDNode *LD = dyn_cast<LoadSDNode>(N)) {
11126 VT = LD->getMemoryVT();
11127 Ptr = LD->getBasePtr();
11128 isSEXTLoad = LD->getExtensionType() == ISD::SEXTLOAD;