Lines Matching defs:NewShAmt
4578 auto *NewShAmt = dyn_cast_or_null<Constant>(
4581 if (!NewShAmt)
4583 if (NewShAmt->getType() != WidestTy) {
4584 NewShAmt =
4585 ConstantFoldCastOperand(Instruction::ZExt, NewShAmt, WidestTy, SQ.DL);
4586 if (!NewShAmt)
4593 if (!match(NewShAmt,
4600 auto CanFold = [NewShAmt, WidestBitWidth, NarrowestShift, SQ,
4605 Constant *NewShAmtSplat = NewShAmt->getType()->isVectorTy()
4606 ? NewShAmt->getSplatValue()
4607 : NewShAmt;
4622 // Precondition: NewShAmt u<= countLeadingZeros(C)
4633 // Precondition: ((WidestBitWidth-1)-NewShAmt) u<= countLeadingZeros(C)
4652 ? Builder.CreateLShr(X, NewShAmt)
4653 : Builder.CreateShl(X, NewShAmt);