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