Lines Matching defs:AM
8205 bool ARMTargetLowering::isLegalT2ScaledAddressingMode(const AddrMode &AM,
8207 int Scale = AM.Scale;
8224 if (((unsigned)AM.HasBaseReg + Scale) <= 2)
8239 /// by AM is legal for this target, for a load/store of the specified type.
8240 bool ARMTargetLowering::isLegalAddressingMode(const AddrMode &AM,
8243 if (!isLegalAddressImmediate(AM.BaseOffs, VT, Subtarget))
8247 if (AM.BaseGV)
8250 switch (AM.Scale) {
8259 if (AM.BaseOffs)
8266 return isLegalT2ScaledAddressingMode(AM, VT);
8268 int Scale = AM.Scale;
8282 if (((unsigned)AM.HasBaseReg + Scale) <= 2)
8410 ISD::MemIndexedMode &AM,
8439 AM = isInc ? ISD::PRE_INC : ISD::PRE_DEC;
8449 ISD::MemIndexedMode &AM,
8490 AM = isInc ? ISD::POST_INC : ISD::POST_DEC;