@@ -19,30 +19,6 @@ static void validate_bit_vector_predicate_arguments(
19
19
" Left and right operands must have the same bit width." );
20
20
}
21
21
22
- #define SMT_BITVECTOR_THEORY_PREDICATE (the_identifier, the_name ) \
23
- void smt_bit_vector_theoryt::the_name##t::validate( \
24
- const smt_termt &left, const smt_termt &right) \
25
- { \
26
- validate_bit_vector_predicate_arguments (left, right); \
27
- } \
28
- \
29
- smt_sortt smt_bit_vector_theoryt::the_name##t::return_sort( \
30
- const smt_termt &, const smt_termt &) \
31
- { \
32
- return smt_bool_sortt{}; \
33
- } \
34
- \
35
- const char *smt_bit_vector_theoryt::the_name##t::identifier() \
36
- { \
37
- return #the_identifier; \
38
- } \
39
- \
40
- const smt_function_application_termt::factoryt< \
41
- smt_bit_vector_theoryt::the_name##t> \
42
- smt_bit_vector_theoryt::the_name{};
43
- #include " smt_bit_vector_theory.def"
44
- #undef SMT_BITVECTOR_THEORY_PREDICATE
45
-
46
22
// Relational operator definitions
47
23
48
24
const char *smt_bit_vector_theoryt::unsigned_less_thant::identifier ()
@@ -206,3 +182,26 @@ void smt_bit_vector_theoryt::signed_greater_thant::validate(
206
182
const smt_function_application_termt::factoryt<
207
183
smt_bit_vector_theoryt::signed_greater_thant>
208
184
smt_bit_vector_theoryt::signed_greater_than{};
185
+
186
+ const char *smt_bit_vector_theoryt::signed_greater_than_or_equalt::identifier ()
187
+ {
188
+ return " bvsge" ;
189
+ }
190
+
191
+ smt_sortt smt_bit_vector_theoryt::signed_greater_than_or_equalt::return_sort (
192
+ const smt_termt &lhs,
193
+ const smt_termt &rhs)
194
+ {
195
+ return smt_bool_sortt{};
196
+ }
197
+
198
+ void smt_bit_vector_theoryt::signed_greater_than_or_equalt::validate (
199
+ const smt_termt &lhs,
200
+ const smt_termt &rhs)
201
+ {
202
+ validate_bit_vector_predicate_arguments (lhs, rhs);
203
+ }
204
+
205
+ const smt_function_application_termt::factoryt<
206
+ smt_bit_vector_theoryt::signed_greater_than_or_equalt>
207
+ smt_bit_vector_theoryt::signed_greater_than_or_equal{};
0 commit comments