Lines Matching refs:Scale

368   APInt Scale;  member
374 LinearExpression(const CastedValue &Val, const APInt &Scale, in LinearExpression()
376 : Val(Val), Scale(Scale), Offset(Offset), IsNSW(IsNSW) {} in LinearExpression()
380 Scale = APInt(BitWidth, 1); in LinearExpression()
388 return LinearExpression(Val, Scale * Other, Offset * Other, NSW); in mul()
467 E.Scale <<= RHS.getLimitedValue(); in GetLinearExpression()
507 APInt Scale; member
522 return Scale == -Other.Scale; in hasNegatedScaleOf()
523 return Scale == Other.Scale; in hasNegatedScaleOf()
535 << ", scale=" << Scale in print()
706 APInt Scale = LE.Scale.sext(MaxIndexSize); in DecomposeGEPExpression() local
716 Scale += Decomposed.VarIndices[i].Scale; in DecomposeGEPExpression()
725 adjustToIndexSize(Scale, IndexSize); in DecomposeGEPExpression()
727 if (!!Scale) { in DecomposeGEPExpression()
728 VariableGEPIndex Entry = {LE.Val, Scale, CxtI, LE.IsNSW, in DecomposeGEPExpression()
1214 APInt Scale = in aliasGEP() local
1215 ScalableVar.IsNegated ? -ScalableVar.Scale : ScalableVar.Scale; in aliasGEP()
1216 LocationSize VLeftSize = Scale.isNegative() ? V1Size : V2Size; in aliasGEP()
1222 ConstantRange CR = getVScaleRange(&F, Scale.getBitWidth()); in aliasGEP()
1223 (void)CR.getSignedMax().smul_ov(Scale, Overflows); in aliasGEP()
1231 Scale.abs().uge(VLeftSize.getValue().getKnownMinValue())) in aliasGEP()
1248 const APInt &Scale = Index.Scale; in aliasGEP() local
1249 APInt ScaleForGCD = Scale; in aliasGEP()
1252 APInt::getOneBitSet(Scale.getBitWidth(), Scale.countr_zero()); in aliasGEP()
1268 assert(OffsetRange.getBitWidth() == Scale.getBitWidth() && in aliasGEP()
1271 CR = CR.smul_sat(ConstantRange(Scale)); in aliasGEP()
1273 CR = CR.smul_fast(ConstantRange(Scale)); in aliasGEP()
1325 return Var.Scale.ule( in aliasGEP()
1326 APInt::getMaxValue(MaxScaleValueBW).zext(Var.Scale.getBitWidth())); in aliasGEP()
1332 MinAbsVarIndex = Var.Scale.abs(); in aliasGEP()
1346 MinAbsVarIndex = Var0.Scale.abs(); in aliasGEP()
1854 Dest.Scale = -Dest.Scale; in subtractDecomposedGEPs()
1861 if (Dest.Scale != Src.Scale) { in subtractDecomposedGEPs()
1862 Dest.Scale -= Src.Scale; in subtractDecomposedGEPs()
1873 VariableGEPIndex Entry = {Src.Val, Src.Scale, Src.CxtI, Src.IsNSW, in subtractDecomposedGEPs()
1908 if (E0.Scale != E1.Scale || !E0.Val.hasSameCastsAs(E1.Val) || in constantOffsetHeuristic()
1922 MinDiff.zextOrTrunc(Var0.Scale.getBitWidth()) * Var0.Scale.abs(); in constantOffsetHeuristic()