Lines Matching refs:ShiftAmt
2127 const APInt *ShiftAmt; in foldICmpShlConstant() local
2128 if (!match(Shl->getOperand(1), m_APInt(ShiftAmt))) in foldICmpShlConstant()
2134 if (ShiftAmt->uge(TypeBits)) in foldICmpShlConstant()
2147 APInt ShiftedC = C.ashr(*ShiftAmt); in foldICmpShlConstant()
2151 C.ashr(*ShiftAmt).shl(*ShiftAmt) == C) { in foldICmpShlConstant()
2152 APInt ShiftedC = C.ashr(*ShiftAmt); in foldICmpShlConstant()
2161 APInt ShiftedC = (C - 1).ashr(*ShiftAmt) + 1; in foldICmpShlConstant()
2177 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant()
2181 C.lshr(*ShiftAmt).shl(*ShiftAmt) == C) { in foldICmpShlConstant()
2182 APInt ShiftedC = C.lshr(*ShiftAmt); in foldICmpShlConstant()
2191 APInt ShiftedC = (C - 1).lshr(*ShiftAmt) + 1; in foldICmpShlConstant()
2200 APInt::getLowBitsSet(TypeBits, TypeBits - ShiftAmt->getZExtValue())); in foldICmpShlConstant()
2202 Constant *LShrC = ConstantInt::get(ShType, C.lshr(*ShiftAmt)); in foldICmpShlConstant()
2212 APInt::getOneBitSet(TypeBits, TypeBits - ShiftAmt->getZExtValue() - 1)); in foldICmpShlConstant()
2223 Value *And = Builder.CreateAnd(X, (~C).lshr(ShiftAmt->getZExtValue())); in foldICmpShlConstant()
2232 Builder.CreateAnd(X, (~(C - 1)).lshr(ShiftAmt->getZExtValue())); in foldICmpShlConstant()
2245 unsigned Amt = ShiftAmt->getLimitedValue(TypeBits - 1); in foldICmpShlConstant()
2252 ConstantInt::get(TruncTy, C.ashr(*ShiftAmt).trunc(TypeBits - Amt)); in foldICmpShlConstant()