Lines Matching refs:LD
302 static bool isValidIndexedLoad(const LoadSDNode *LD) {
303 ISD::MemIndexedMode AM = LD->getAddressingMode();
304 if (AM != ISD::POST_INC || LD->getExtensionType() != ISD::NON_EXTLOAD)
307 EVT VT = LD->getMemoryVT();
311 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 1)
316 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 2)
328 LoadSDNode *LD = cast<LoadSDNode>(N);
329 if (!isValidIndexedLoad(LD))
332 MVT VT = LD->getMemoryVT().getSimpleVT();
348 LD->getBasePtr(), LD->getChain()));
357 LoadSDNode *LD = cast<LoadSDNode>(N1);
358 if (!isValidIndexedLoad(LD))
361 MVT VT = LD->getMemoryVT().getSimpleVT();
364 SDValue Ops0[] = { N2, LD->getBasePtr(), LD->getChain() };