| 1746 | } |
| 1747 | |
| 1748 | expr expr::ugt(const expr &rhs) const { |
| 1749 | C(); |
| 1750 | if (rhs.isAllOnes()) |
| 1751 | return false; |
| 1752 | |
| 1753 | uint64_t n; |
| 1754 | if (rhs.isUInt(n)) { |
| 1755 | auto ty = sort(); |
| 1756 | return uge(mkUInt(n, ty) + mkUInt(1, ty)); |
| 1757 | } |
| 1758 | return !ule(rhs); |
| 1759 | } |
| 1760 | |
| 1761 | expr expr::sle(const expr &rhs) const { |
| 1762 | if (eq(rhs) || rhs.isSMax()) |
no test coverage detected