Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1044 int32_t logScale = Scale.exactLogBase2(); in Descale() local
1101 if (logScale > 0 && BO->getOpcode() == Instruction::Shl && in Descale()
1113 if (Amt == logScale) { in Descale()
1119 if (Amt < logScale || !Op->hasOneUse()) in Descale()
1125 Op = ConstantInt::get(BO->getType(), Amt - logScale); in Descale()
1146 assert(SmallScale.exactLogBase2() == logScale); in Descale()
1170 if (logScale + 1 == (int32_t)Cast->getType()->getPrimitiveSizeInBits()) in Descale()
1171 logScale = -1; in Descale()
1172 assert(Scale.exactLogBase2() == logScale); in Descale()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstructionCombining.cpp1160 int32_t logScale = Scale.exactLogBase2(); in Descale() local
1215 if (logScale > 0 && BO->getOpcode() == Instruction::Shl && in Descale()
1227 if (Amt == logScale) { in Descale()
1233 if (Amt < logScale || !Op->hasOneUse()) in Descale()
1239 Op = ConstantInt::get(BO->getType(), Amt - logScale); in Descale()
1260 assert(SmallScale.exactLogBase2() == logScale); in Descale()
1284 if (logScale + 1 == (int32_t)Cast->getType()->getPrimitiveSizeInBits()) in Descale()
1285 logScale = -1; in Descale()
1286 assert(Scale.exactLogBase2() == logScale); in Descale()