Lines Matching refs:LD
298 static bool isValidIndexedLoad(const LoadSDNode *LD) {
299 ISD::MemIndexedMode AM = LD->getAddressingMode();
300 if (AM != ISD::POST_INC || LD->getExtensionType() != ISD::NON_EXTLOAD)
303 EVT VT = LD->getMemoryVT();
308 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 1)
314 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 2)
326 LoadSDNode *LD = cast<LoadSDNode>(N);
327 if (!isValidIndexedLoad(LD))
330 MVT VT = LD->getMemoryVT().getSimpleVT();
346 LD->getBasePtr(), LD->getChain()));
355 LoadSDNode *LD = cast<LoadSDNode>(N1);
356 if (!isValidIndexedLoad(LD))
359 MVT VT = LD->getMemoryVT().getSimpleVT();
362 SDValue Ops0[] = { N2, LD->getBasePtr(), LD->getChain() };