Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:ShAmtVal

2007   unsigned ShAmtVal = ShiftAmt->getLimitedValue(TypeBits);
2008 if (ShAmtVal >= TypeBits || ShAmtVal == 0)
2022 APInt ShiftedC = C.shl(ShAmtVal);
2023 if (ShiftedC.ashr(ShAmtVal) == C)
2028 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1;
2029 ShAmtVal).isMinSignedValue() &&
2030 (ShiftedC + 1).ashr(ShAmtVal) == (C + 1))
2037 APInt ShiftedC = C.shl(ShAmtVal);
2038 if (ShiftedC.lshr(ShAmtVal) == C)
2043 APInt ShiftedC = (C + 1).shl(ShAmtVal) - 1;
2044 if ((ShiftedC + 1).lshr(ShAmtVal) == (C + 1))
2057 assert(((IsAShr && C.shl(ShAmtVal).ashr(ShAmtVal) == C) ||
2058 (!IsAShr && C.shl(ShAmtVal).lshr(ShAmtVal) == C)) &&
2064 return new ICmpInst(Pred, X, ConstantInt::get(ShrTy, C << ShAmtVal));
2069 APInt Val(APInt::getHighBitsSet(TypeBits, TypeBits - ShAmtVal));
2072 return new ICmpInst(Pred, And, ConstantInt::get(ShrTy, C << ShAmtVal));