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()
536 if (RHS.isConstant() && RHS.getConstant().isPowerOf2()) { in urem()
538 APInt LowBits = RHS.getConstant() - 1; in urem()
557 if (RHS.isConstant() && RHS.getConstant().isPowerOf2()) { in srem()
559 APInt LowBits = RHS.getConstant() - 1; in srem()