Lines Matching refs:Scale

321   APInt Scale;  member
327 LinearExpression(const CastedValue &Val, const APInt &Scale, in LinearExpression()
329 : Val(Val), Scale(Scale), Offset(Offset), IsNSW(IsNSW) {} in LinearExpression()
333 Scale = APInt(BitWidth, 1); in LinearExpression()
341 return LinearExpression(Val, Scale * Other, Offset * Other, NSW); in mul()
422 E.Scale <<= RHS.getLimitedValue(); in GetLinearExpression()
459 APInt Scale; member
476 << ", scale=" << Scale << ")"; in print()
640 APInt Scale = LE.Scale.sext(MaxIndexSize); in DecomposeGEPExpression() local
649 Scale += Decomposed.VarIndices[i].Scale; in DecomposeGEPExpression()
657 Scale = adjustToIndexSize(Scale, IndexSize); in DecomposeGEPExpression()
659 if (!!Scale) { in DecomposeGEPExpression()
660 VariableGEPIndex Entry = {LE.Val, Scale, CxtI, LE.IsNSW}; in DecomposeGEPExpression()
1218 const APInt &Scale = Index.Scale; in aliasGEP() local
1219 APInt ScaleForGCD = Scale; in aliasGEP()
1221 ScaleForGCD = APInt::getOneBitSet(Scale.getBitWidth(), in aliasGEP()
1222 Scale.countTrailingZeros()); in aliasGEP()
1238 assert(OffsetRange.getBitWidth() == Scale.getBitWidth() && in aliasGEP()
1241 OffsetRange = OffsetRange.add(CR.smul_sat(ConstantRange(Scale))); in aliasGEP()
1243 OffsetRange = OffsetRange.add(CR.smul_fast(ConstantRange(Scale))); in aliasGEP()
1278 MinAbsVarIndex = APInt(Var.Scale.getBitWidth(), 1); in aliasGEP()
1293 return Var.Scale.ule( in aliasGEP()
1294 APInt::getMaxValue(MaxScaleValueBW).zext(Var.Scale.getBitWidth())); in aliasGEP()
1300 MinAbsVarIndex = Var.Scale.abs(); in aliasGEP()
1310 if (Var0.Scale == -Var1.Scale && Var0.Val.TruncBits == 0 && in aliasGEP()
1314 MinAbsVarIndex = Var0.Scale.abs(); in aliasGEP()
1790 if (Dest.Scale != Src.Scale) { in subtractDecomposedGEPs()
1791 Dest.Scale -= Src.Scale; in subtractDecomposedGEPs()
1802 VariableGEPIndex Entry = {Src.Val, -Src.Scale, Src.CxtI, Src.IsNSW}; in subtractDecomposedGEPs()
1821 Var0.Scale != -Var1.Scale || in constantOffsetHeuristic()
1833 if (E0.Scale != E1.Scale || !E0.Val.hasSameCastsAs(E1.Val) || in constantOffsetHeuristic()
1847 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs(); in constantOffsetHeuristic()