Lines Matching defs:logScale
885 // logScale - log base 2 of the scale. Negative if not a power of 2.
886 int32_t logScale = Scale.exactLogBase2();
943 if (logScale > 0 && BO->getOpcode() == Instruction::Shl &&
955 if (Amt == logScale) {
961 if (Amt < logScale || !Op->hasOneUse())
967 Op = ConstantInt::get(BO->getType(), Amt - logScale);
988 assert(SmallScale.exactLogBase2() == logScale);
1012 if (logScale + 1 == (int32_t)Cast->getType()->getPrimitiveSizeInBits())
1013 logScale = -1;
1014 assert(Scale.exactLogBase2() == logScale);