Lines Matching defs:LD
401 LoadSDNode *LD = cast<LoadSDNode>(Op);
402 assert(LD->getExtensionType() == ISD::NON_EXTLOAD &&
404 assert(LD->getMemoryVT() == MVT::i32 && "Unexpected load EVT");
405 if (allowsUnalignedMemoryAccesses(LD->getMemoryVT()))
409 getABITypeAlignment(LD->getMemoryVT().getTypeForEVT(*DAG.getContext()));
411 if (LD->getAlignment() >= ABIAlignment)
414 SDValue Chain = LD->getChain();
415 SDValue BasePtr = LD->getBasePtr();
420 if (!LD->isVolatile() &&
459 if (LD->getAlignment() == 2) {
461 BasePtr, LD->getPointerInfo(), MVT::i16,
462 LD->isVolatile(), LD->isNonTemporal(), 2);
467 LD->getPointerInfo().getWithOffset(2),
468 MVT::i16, LD->isVolatile(),
469 LD->isNonTemporal(), 2);
1509 if (LoadSDNode *LD = dyn_cast<LoadSDNode>(ST->getValue())) {
1510 if (LD->hasNUsesOfValue(1, 0) && ST->getMemoryVT() == LD->getMemoryVT() &&
1511 LD->getAlignment() == Alignment &&
1512 !LD->isVolatile() && !LD->isIndexed() &&
1513 Chain.reachesChainWithoutSideEffects(SDValue(LD, 1))) {
1515 LD->getBasePtr(),
1518 LD->getPointerInfo());