Searched refs:BaseOffs (Results 1 – 15 of 15) sorted by relevance
1554 (BaseGV == O.BaseGV) && (BaseOffs == O.BaseOffs) && in operator ==()1576 if (BaseOffs) { in print()1578 << BaseOffs; in print()2161 TestAddrMode.BaseOffs += CI->getSExtValue()*TestAddrMode.Scale; in MatchScaledValue()2721 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()2727 AddrMode.BaseOffs -= ConstantOffset; in MatchOperationAddr()2736 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()2761 AddrMode.BaseOffs += ConstantOffset; in MatchOperationAddr()2844 AddrMode.BaseOffs += CI->getSExtValue(); in MatchAddr()2847 AddrMode.BaseOffs -= CI->getSExtValue(); in MatchAddr()[all …]
1620 if (AM.BaseOffs <= -(1LL << 16) || AM.BaseOffs >= (1LL << 16)-1) in isLegalAddressingMode()1632 if (AM.HasBaseReg && AM.BaseOffs) // "r+r+i" is not allowed. in isLegalAddressingMode()1637 if (AM.HasBaseReg || AM.BaseOffs) // 2*r+r or 2*r+i is not allowed. in isLegalAddressingMode()
293 DecomposeGEPExpression(const Value *V, int64_t &BaseOffs, in DecomposeGEPExpression() argument301 BaseOffs = 0; in DecomposeGEPExpression()356 BaseOffs += DL.getStructLayout(STy)->getElementOffset(FieldNo); in DecomposeGEPExpression()363 BaseOffs += DL.getTypeAllocSize(*GTI) * CIdx->getSExtValue(); in DecomposeGEPExpression()383 BaseOffs += IndexOffset.getSExtValue()*Scale; in DecomposeGEPExpression()
1923 return AM.Scale == 0 && isImmUs(AM.BaseOffs) && isImmUs4(AM.BaseOffs); in isLegalAddressingMode()1929 AM.BaseOffs%4 == 0; in isLegalAddressingMode()1936 return isImmUs(AM.BaseOffs); in isLegalAddressingMode()1939 return AM.Scale == 1 && AM.BaseOffs == 0; in isLegalAddressingMode()1944 return isImmUs2(AM.BaseOffs); in isLegalAddressingMode()1947 return AM.Scale == 2 && AM.BaseOffs == 0; in isLegalAddressingMode()1951 return isImmUs4(AM.BaseOffs); in isLegalAddressingMode()1954 return AM.Scale == 4 && AM.BaseOffs == 0; in isLegalAddressingMode()
131 AM.BaseOffs = BaseOffset; in isLegalAddressingMode()141 AM.BaseOffs = BaseOffset; in getScalingFactorCost()
1432 int64_t BaseOffs; member1435 AddrMode() : BaseGV(nullptr), BaseOffs(0), HasBaseReg(false), Scale(0) {} in AddrMode()
273 if (!isUInt<16>(AM.BaseOffs)) in isLegalAddressingMode()281 if (AM.HasBaseReg && AM.BaseOffs) // "r+r+i" is not allowed. in isLegalAddressingMode()286 if (AM.HasBaseReg || AM.BaseOffs) // 2*r+r or 2*r+i is not allowed. in isLegalAddressingMode()
2486 if (AM.BaseOffs <= -(1LL << 13) || AM.BaseOffs >= (1LL << 13)-1) { in isLegalAddressingMode()
10739 if (Ty->isVectorTy() && AM.BaseOffs != 0) in isLegalAddressingMode()10743 if (AM.BaseOffs <= -(1LL << 16) || AM.BaseOffs >= (1LL << 16)-1) in isLegalAddressingMode()10755 if (AM.HasBaseReg && AM.BaseOffs) // "r+r+i" is not allowed. in isLegalAddressingMode()10760 if (AM.HasBaseReg || AM.BaseOffs) // 2*r+r or 2*r+i is not allowed. in isLegalAddressingMode()
3715 if (AM.BaseOffs || AM.HasBaseReg || AM.Scale) in isLegalAddressingMode()
384 if (!isInt<20>(AM.BaseOffs)) in isLegalAddressingMode()
6764 if (AM.HasBaseReg && AM.BaseOffs && AM.Scale) in isLegalAddressingMode()6778 int64_t Offset = AM.BaseOffs; in isLegalAddressingMode()
10130 if (!isLegalAddressImmediate(AM.BaseOffs, VT, Subtarget)) in isLegalAddressingMode()10146 if (AM.BaseOffs) in isLegalAddressingMode()
8574 AM.BaseOffs = Offset->getSExtValue(); in canFoldInAddressingMode()8582 AM.BaseOffs = -Offset->getSExtValue(); in canFoldInAddressingMode()
17684 if (!X86::isOffsetSuitableForCodeModel(AM.BaseOffs, M, AM.BaseGV != nullptr)) in isLegalAddressingMode()17702 Subtarget->is64Bit() && (AM.BaseOffs || AM.Scale > 1)) in isLegalAddressingMode()