Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp988 int32_t logScale = Scale.exactLogBase2(); in Descale() local
1045 if (logScale > 0 && BO->getOpcode() == Instruction::Shl && in Descale()
1057 if (Amt == logScale) { in Descale()
1063 if (Amt < logScale || !Op->hasOneUse()) in Descale()
1069 Op = ConstantInt::get(BO->getType(), Amt - logScale); in Descale()
1090 assert(SmallScale.exactLogBase2() == logScale); in Descale()
1114 if (logScale + 1 == (int32_t)Cast->getType()->getPrimitiveSizeInBits()) in Descale()
1115 logScale = -1; in Descale()
1116 assert(Scale.exactLogBase2() == logScale); in Descale()