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

/freebsd-13-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp1257 int32_t logScale = Scale.exactLogBase2(); local
1312 if (logScale > 0 && BO->getOpcode() == Instruction::Shl &&
1324 if (Amt == logScale) {
1330 if (Amt < logScale || !Op->hasOneUse())
1336 Op = ConstantInt::get(BO->getType(), Amt - logScale);
1357 assert(SmallScale.exactLogBase2() == logScale);
1381 if (logScale + 1 == (int32_t)Cast->getType()->getPrimitiveSizeInBits())
1382 logScale = -1;
1383 assert(Scale.exactLogBase2() == logScale);

Completed in 176 milliseconds