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