Lines Matching refs:getConstant
172 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { in shl()
173 unsigned Shift = RHS.getConstant().getZExtValue(); in shl()
225 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { in lshr()
226 unsigned Shift = RHS.getConstant().getZExtValue(); in lshr()
278 if (RHS.isConstant() && RHS.getConstant().ult(BitWidth)) { in ashr()
279 unsigned Shift = RHS.getConstant().getZExtValue(); in ashr()
335 return Optional<bool>(LHS.getConstant() == RHS.getConstant()); in eq()
554 if (RHS.isConstant() && RHS.getConstant().isPowerOf2()) { in urem()
556 APInt LowBits = RHS.getConstant() - 1; in urem()
575 if (RHS.isConstant() && RHS.getConstant().isPowerOf2()) { in srem()
577 APInt LowBits = RHS.getConstant() - 1; in srem()