• Home
  • Raw
  • Download

Lines Matching refs:Scale

183     const Value *V, APInt &Scale, APInt &Offset, unsigned &ZExtBits,  in GetLinearExpression()  argument
190 Scale = 1; in GetLinearExpression()
202 assert(Scale == 0 && "Constant values don't have a scale"); in GetLinearExpression()
218 Scale = 1; in GetLinearExpression()
226 Scale = 1; in GetLinearExpression()
232 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression()
237 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression()
242 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression()
245 Scale *= RHS; in GetLinearExpression()
248 V = GetLinearExpression(BOp->getOperand(0), Scale, Offset, ZExtBits, in GetLinearExpression()
251 Scale <<= RHS.getLimitedValue(); in GetLinearExpression()
275 GetLinearExpression(CastOp, Scale, Offset, ZExtBits, SExtBits, DL, in GetLinearExpression()
293 Scale = 1; in GetLinearExpression()
306 Scale = 1; in GetLinearExpression()
318 Scale = 1; in GetLinearExpression()
436 uint64_t Scale = DL.getTypeAllocSize(*GTI); in DecomposeGEPExpression() local
453 Decomposed.OtherOffset += IndexOffset.getSExtValue() * Scale; in DecomposeGEPExpression()
454 Scale *= IndexScale.getSExtValue(); in DecomposeGEPExpression()
464 Scale += Decomposed.VarIndices[i].Scale; in DecomposeGEPExpression()
472 Scale = adjustToPointerSize(Scale, PointerSize); in DecomposeGEPExpression()
474 if (Scale) { in DecomposeGEPExpression()
476 static_cast<int64_t>(Scale)}; in DecomposeGEPExpression()
1178 Modulo |= (uint64_t)DecompGEP1.VarIndices[i].Scale; in aliasGEP()
1199 int64_t Scale = DecompGEP1.VarIndices[i].Scale; in aliasGEP() local
1201 (SignKnownZero && Scale >= 0) || (SignKnownOne && Scale < 0); in aliasGEP()
1585 int64_t Scale = Src[i].Scale; in GetIndexDifference() local
1596 if (Dest[j].Scale != Scale) in GetIndexDifference()
1597 Dest[j].Scale -= Scale; in GetIndexDifference()
1600 Scale = 0; in GetIndexDifference()
1605 if (Scale) { in GetIndexDifference()
1606 VariableGEPIndex Entry = {V, ZExtBits, SExtBits, -Scale}; in GetIndexDifference()
1623 Var0.Scale != -Var1.Scale) in constantOffsetHeuristic()
1656 uint64_t MinDiffBytes = MinDiff.getZExtValue() * std::abs(Var0.Scale); in constantOffsetHeuristic()