Lines Matching refs:Scale
182 const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits, in GetLinearExpression() argument
189 Scale = 1; in GetLinearExpression()
201 assert(Scale == 0 && "Constant values don't have a scale"); in GetLinearExpression()
217 Scale = 1; in GetLinearExpression()
225 Scale = 1; in GetLinearExpression()
231 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression()
236 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression()
241 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression()
244 Scale *= RHS; in GetLinearExpression()
247 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression()
250 Scale <<= RHS.getLimitedValue(); in GetLinearExpression()
274 GetLinearExpression(CastOp, Scale, Offset, ZExtBits, SExtBits, DL, in GetLinearExpression()
292 Scale = 1; in GetLinearExpression()
305 Scale = 1; in GetLinearExpression()
317 Scale = 1; in GetLinearExpression()
412 uint64_t Scale = DL.getTypeAllocSize(*GTI); in DecomposeGEPExpression() local
430 BaseOffs += IndexOffset.getSExtValue() * Scale; in DecomposeGEPExpression()
431 Scale *= IndexScale.getSExtValue(); in DecomposeGEPExpression()
440 Scale += VarIndices[i].Scale; in DecomposeGEPExpression()
449 Scale <<= ShiftBits; in DecomposeGEPExpression()
450 Scale = (int64_t)Scale >> ShiftBits; in DecomposeGEPExpression()
453 if (Scale) { in DecomposeGEPExpression()
455 static_cast<int64_t>(Scale)}; in DecomposeGEPExpression()
1071 Modulo |= (uint64_t)GEP1VariableIndices[i].Scale; in aliasGEP()
1092 int64_t Scale = GEP1VariableIndices[i].Scale; in aliasGEP() local
1094 (SignKnownZero && Scale >= 0) || (SignKnownOne && Scale < 0); in aliasGEP()
1479 int64_t Scale = Src[i].Scale; in GetIndexDifference() local
1490 if (Dest[j].Scale != Scale) in GetIndexDifference()
1491 Dest[j].Scale -= Scale; in GetIndexDifference()
1494 Scale = 0; in GetIndexDifference()
1499 if (Scale) { in GetIndexDifference()
1500 VariableGEPIndex Entry = {V, ZExtBits, SExtBits, -Scale}; in GetIndexDifference()
1517 Var0.Scale != -Var1.Scale) in constantOffsetHeuristic()
1549 uint64_t MinDiffBytes = MinDiff.getZExtValue() * std::abs(Var0.Scale); in constantOffsetHeuristic()