Searched refs:logScale (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.2-release/contrib/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp885 // logScale - log base 2 of the scale. Negative if not a power of 2.
886 int32_t logScale = Scale.exactLogBase2(); local
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);
[all...]

Completed in 72 milliseconds