Lines Matching refs:LD
297 static bool isValidIndexedLoad(const LoadSDNode *LD) { in isValidIndexedLoad() argument
298 ISD::MemIndexedMode AM = LD->getAddressingMode(); in isValidIndexedLoad()
299 if (AM != ISD::POST_INC || LD->getExtensionType() != ISD::NON_EXTLOAD) in isValidIndexedLoad()
302 EVT VT = LD->getMemoryVT(); in isValidIndexedLoad()
306 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 1) in isValidIndexedLoad()
311 if (cast<ConstantSDNode>(LD->getOffset())->getZExtValue() != 2) in isValidIndexedLoad()
323 LoadSDNode *LD = cast<LoadSDNode>(N); in tryIndexedLoad() local
324 if (!isValidIndexedLoad(LD)) in tryIndexedLoad()
327 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedLoad()
343 LD->getBasePtr(), LD->getChain())); in tryIndexedLoad()
352 LoadSDNode *LD = cast<LoadSDNode>(N1); in tryIndexedBinOp() local
353 if (!isValidIndexedLoad(LD)) in tryIndexedBinOp()
356 MVT VT = LD->getMemoryVT().getSimpleVT(); in tryIndexedBinOp()
359 SDValue Ops0[] = { N2, LD->getBasePtr(), LD->getChain() }; in tryIndexedBinOp()