Lines Matching defs:LD
303 static bool isValidIndexedLoad(const LoadSDNode *LD) {
304 ISD::MemIndexedMode AM = LD->getAddressingMode();
305 if (AM != ISD::POST_INC || LD->getExtensionType() != ISD::NON_EXTLOAD)
308 EVT VT = LD->getMemoryVT();
313 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 1)
319 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 2)
331 LoadSDNode *LD = cast<LoadSDNode>(N);
332 if (!isValidIndexedLoad(LD))
335 MVT VT = LD->getMemoryVT().getSimpleVT();
351 LD->getBasePtr(), LD->getChain());
360 LoadSDNode *LD = cast<LoadSDNode>(N1);
361 if (!isValidIndexedLoad(LD))
364 MVT VT = LD->getMemoryVT().getSimpleVT();
368 SDValue Ops0[] = { N2, LD->getBasePtr(), LD->getChain() };