Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:Scale

26 /// X*Scale+Offset.
28 static Value *DecomposeSimpleLinearExpr(Value *Val, unsigned &Scale,
32 Scale = 0;
40 Scale = 1;
48 Scale = UINT64_C(1) << RHS->getZExtValue();
55 Scale = RHS->getZExtValue();
67 Scale = SubScale;
74 Scale = 1;
115 // See if we can satisfy the modulus by pulling a scale out of the array
122 // If we can now satisfy the modulus, by using a non-1 scale, we really can
127 unsigned Scale = (AllocElTySize*ArraySizeScale)/CastElTySize;
129 if (Scale == 1) {
132 Amt = ConstantInt::get(AI.getArraySize()->getType(), Scale);