• Home
  • Raw
  • Download

Lines Matching refs:Scale

164     int64_t Scale;  member
177 static Value *GetLinearExpression(Value *V, APInt &Scale, APInt &Offset, in GetLinearExpression() argument
184 Scale = 1; in GetLinearExpression()
200 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, in GetLinearExpression()
205 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, in GetLinearExpression()
208 Scale *= RHSC->getValue(); in GetLinearExpression()
211 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, Extension, in GetLinearExpression()
214 Scale <<= RHSC->getValue().getLimitedValue(); in GetLinearExpression()
226 unsigned OldWidth = Scale.getBitWidth(); in GetLinearExpression()
228 Scale = Scale.trunc(SmallWidth); in GetLinearExpression()
232 Value *Result = GetLinearExpression(CastOp, Scale, Offset, Extension, in GetLinearExpression()
234 Scale = Scale.zext(OldWidth); in GetLinearExpression()
240 Scale = 1; in GetLinearExpression()
337 uint64_t Scale = TD->getTypeAllocSize(*GTI); in DecomposeGEPExpression() local
353 BaseOffs += IndexOffset.getSExtValue()*Scale; in DecomposeGEPExpression()
354 Scale *= IndexScale.getSExtValue(); in DecomposeGEPExpression()
364 Scale += VarIndices[i].Scale; in DecomposeGEPExpression()
373 Scale <<= ShiftBits; in DecomposeGEPExpression()
374 Scale = (int64_t)Scale >> ShiftBits; in DecomposeGEPExpression()
377 if (Scale) { in DecomposeGEPExpression()
379 static_cast<int64_t>(Scale)}; in DecomposeGEPExpression()
403 int64_t Scale = Src[i].Scale; in GetIndexDifference() local
412 if (Dest[j].Scale != Scale) in GetIndexDifference()
413 Dest[j].Scale -= Scale; in GetIndexDifference()
416 Scale = 0; in GetIndexDifference()
421 if (Scale) { in GetIndexDifference()
422 VariableGEPIndex Entry = { V, Extension, -Scale }; in GetIndexDifference()
963 Modulo |= (uint64_t)GEP1VariableIndices[i].Scale; in aliasGEP()