Lines Matching refs:BW
6206 Register Reg, unsigned BW) { in isNonZeroModBitWidthOrUndef() argument
6212 return !CI || CI->getValue().urem(BW) != 0; in isNonZeroModBitWidthOrUndef()
6223 unsigned BW = Ty.getScalarSizeInBits(); in lowerFunnelShiftWithInverse() local
6225 if (!isPowerOf2_32(BW)) in lowerFunnelShiftWithInverse()
6231 if (isNonZeroModBitWidthOrUndef(MRI, Z, BW)) { in lowerFunnelShiftWithInverse()
6262 const unsigned BW = Ty.getScalarSizeInBits(); in lowerFunnelShiftAsShifts() local
6269 if (isNonZeroModBitWidthOrUndef(MRI, Z, BW)) { in lowerFunnelShiftAsShifts()
6273 auto BitWidthC = MIRBuilder.buildConstant(ShTy, BW); in lowerFunnelShiftAsShifts()
6281 auto Mask = MIRBuilder.buildConstant(ShTy, BW - 1); in lowerFunnelShiftAsShifts()
6282 if (isPowerOf2_32(BW)) { in lowerFunnelShiftAsShifts()
6289 auto BitWidthC = MIRBuilder.buildConstant(ShTy, BW); in lowerFunnelShiftAsShifts()
7636 unsigned BW = Ty.getScalarSizeInBits(); in lowerShlSat() local
7643 auto SatMin = MIRBuilder.buildConstant(Ty, APInt::getSignedMinValue(BW)); in lowerShlSat()
7644 auto SatMax = MIRBuilder.buildConstant(Ty, APInt::getSignedMaxValue(BW)); in lowerShlSat()
7649 SatVal = MIRBuilder.buildConstant(Ty, APInt::getMaxValue(BW)); in lowerShlSat()