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()
312 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 1) in isValidIndexedLoad()
318 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 2) in isValidIndexedLoad()
330 LoadSDNode *LD = cast<LoadSDNode>(N); in tryIndexedLoad() local
331 if (!isValidIndexedLoad(LD)) in tryIndexedLoad()
334 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
350 LD->getBasePtr(), LD->getChain())); in tryIndexedLoad()
359 LoadSDNode *LD = cast<LoadSDNode>(N1); in tryIndexedBinOp() local
360 if (!isValidIndexedLoad(LD)) in tryIndexedBinOp()
363 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
366 SDValue Ops0[] = { N2, LD->getBasePtr(), LD->getChain() }; in tryIndexedBinOp()