API to expression classes. More...
Go to the source code of this file.
lhs is a constant of Boolean type that is representing the Boolean value rhs. lhs is not a constant of Boolean type or is not representing the Boolean value rhs. lhs is a constant representing the numeric value rhs; only values 0 and 1 are supported for rhs. lhs is a constant representing the NULL pointer. API to expression classes.
Definition in file std_expr.h.
Definition at line 448 of file std_expr.h.
Definition at line 2084 of file std_expr.h.
Definition at line 3517 of file std_expr.h.
Definition at line 1603 of file std_expr.h.
Definition at line 1665 of file std_expr.h.
Definition at line 1541 of file std_expr.h.
Definition at line 710 of file std_expr.h.
Definition at line 817 of file std_expr.h.
Definition at line 3221 of file std_expr.h.
Definition at line 3646 of file std_expr.h.
Definition at line 1892 of file std_expr.h.
Definition at line 1966 of file std_expr.h.
Definition at line 1929 of file std_expr.h.
Definition at line 3426 of file std_expr.h.
Definition at line 3062 of file std_expr.h.
Definition at line 1185 of file std_expr.h.
Definition at line 1792 of file std_expr.h.
Definition at line 1364 of file std_expr.h.
Definition at line 1310 of file std_expr.h.
Definition at line 852 of file std_expr.h.
Definition at line 868 of file std_expr.h.
Definition at line 2490 of file std_expr.h.
Definition at line 2163 of file std_expr.h.
Definition at line 2608 of file std_expr.h.
Definition at line 1483 of file std_expr.h.
Definition at line 884 of file std_expr.h.
Definition at line 900 of file std_expr.h.
Definition at line 3367 of file std_expr.h.
Definition at line 2650 of file std_expr.h.
Definition at line 2942 of file std_expr.h.
Definition at line 1074 of file std_expr.h.
Definition at line 1249 of file std_expr.h.
Definition at line 1123 of file std_expr.h.
Definition at line 3691 of file std_expr.h.
Definition at line 3153 of file std_expr.h.
Definition at line 330 of file std_expr.h.
Definition at line 2397 of file std_expr.h.
Definition at line 1402 of file std_expr.h.
Definition at line 2229 of file std_expr.h.
Definition at line 1034 of file std_expr.h.
Definition at line 621 of file std_expr.h.
Definition at line 1832 of file std_expr.h.
Definition at line 210 of file std_expr.h.
Definition at line 2979 of file std_expr.h.
Definition at line 2013 of file std_expr.h.
Definition at line 413 of file std_expr.h.
Definition at line 491 of file std_expr.h.
Definition at line 528 of file std_expr.h.
Definition at line 1754 of file std_expr.h.
Definition at line 2745 of file std_expr.h.
Definition at line 1695 of file std_expr.h.
Definition at line 2562 of file std_expr.h.
Definition at line 2360 of file std_expr.h.
Definition at line 2314 of file std_expr.h.
1) generates a conjunction for two or more operands 2) for one operand, returns the operand 3) returns true otherwise
Definition at line 275 of file std_expr.cpp.
Conjunction of two expressions.
If the second is already an and_exprt add to its operands instead of creating a new expression. If one is true, return the other expression. If one is false returns false.
Definition at line 252 of file std_expr.cpp.
1) generates a disjunction for two or more operands 2) for one operand, returns the operand 3) returns false otherwise
Definition at line 240 of file std_expr.cpp.
Return whether the expression lhs is not a constant of Boolean type or is not representing the Boolean value rhs.
Definition at line 37 of file std_expr.cpp.
Returns the negation of operator==(const exprt &, int).
Definition at line 60 of file std_expr.cpp.
Returns the negation of operator==(const exprt &, std::nullptr_t).
Definition at line 192 of file std_expr.cpp.
Return whether the expression lhs is a constant of Boolean type that is representing the Boolean value rhs.
Definition at line 32 of file std_expr.cpp.
Return whether the expression lhs is a constant representing the numeric value rhs; only values 0 and 1 are supported for rhs.
For value 0 we consider the following types: ID_integer, ID_natural, ID_rational, ID_unsignedbv, ID_signedbv, ID_c_bool, ID_c_bit_field, ID_fixedbv, ID_floatbv, ID_pointer.
For ID_pointer, returns true iff the value is a zero string or a null pointer.
For value 1 we consider the following types: ID_integer, ID_natural, ID_rational, ID_unsignedbv, ID_signedbv, ID_c_bool, ID_c_bit_field, ID_fixedbv, ID_floatbv.
For all other types, return false.
Definition at line 52 of file std_expr.cpp.
Return whether the expression lhs is a constant representing the NULL pointer.
Definition at line 186 of file std_expr.cpp.
Cast an exprt to a abs_exprt.
expr must be known to be abs_exprt.
Definition at line 459 of file std_expr.h.
Cast an exprt to a abs_exprt.
expr must be known to be abs_exprt.
Definition at line 467 of file std_expr.h.
Cast an exprt to a and_exprt.
expr must be known to be and_exprt.
Definition at line 2095 of file std_expr.h.
Cast an exprt to a and_exprt.
expr must be known to be and_exprt.
Definition at line 2103 of file std_expr.h.
Cast an exprt to a array_comprehension_exprt.
expr must be known to be array_comprehension_exprt.
Definition at line 3529 of file std_expr.h.
Cast an exprt to a array_comprehension_exprt.
expr must be known to be array_comprehension_exprt.
Definition at line 3537 of file std_expr.h.
Cast an exprt to an array_exprt.
expr must be known to be array_exprt.
Definition at line 1614 of file std_expr.h.
Cast an exprt to an array_exprt.
expr must be known to be array_exprt.
Definition at line 1622 of file std_expr.h.
Definition at line 1670 of file std_expr.h.
Definition at line 1677 of file std_expr.h.
Cast an exprt to an array_of_exprt.
expr must be known to be array_of_exprt.
Definition at line 1552 of file std_expr.h.
Cast an exprt to an array_of_exprt.
expr must be known to be array_of_exprt.
Definition at line 1560 of file std_expr.h.
Cast an exprt to a binary_exprt.
expr must be known to be binary_exprt.
Definition at line 721 of file std_expr.h.
Cast an exprt to a binary_exprt.
expr must be known to be binary_exprt.
Definition at line 728 of file std_expr.h.
Cast an exprt to a binary_predicate_exprt.
expr must be known to be binary_predicate_exprt.
Definition at line 768 of file std_expr.h.
Cast an exprt to a binary_predicate_exprt.
expr must be known to be binary_predicate_exprt.
Definition at line 775 of file std_expr.h.
Cast an exprt to a binary_relation_exprt.
expr must be known to be binary_relation_exprt.
Definition at line 828 of file std_expr.h.
Cast an exprt to a binary_relation_exprt.
expr must be known to be binary_relation_exprt.
Definition at line 835 of file std_expr.h.
Cast an exprt to a binding_exprt.
expr must be known to be binding_exprt.
Definition at line 3233 of file std_expr.h.
Cast an exprt to a binding_exprt.
expr must be known to be binding_exprt.
Definition at line 3248 of file std_expr.h.
Cast an exprt to a class_method_descriptor_exprt.
expr must be known to be class_method_descriptor_exprt.
Definition at line 3638 of file std_expr.h.
Cast an exprt to a complex_exprt.
expr must be known to be complex_exprt.
Definition at line 1903 of file std_expr.h.
Cast an exprt to a complex_exprt.
expr must be known to be complex_exprt.
Definition at line 1911 of file std_expr.h.
Cast an exprt to a complex_imag_exprt.
expr must be known to be a complex_imag_exprt.
Definition at line 1977 of file std_expr.h.
Cast an exprt to a complex_imag_exprt.
expr must be known to be a complex_imag_exprt.
Definition at line 1985 of file std_expr.h.
Cast an exprt to a complex_real_exprt.
expr must be known to be a complex_real_exprt.
Definition at line 1940 of file std_expr.h.
Cast an exprt to a complex_real_exprt.
expr must be known to be a complex_real_exprt.
Definition at line 1948 of file std_expr.h.
Cast an exprt to a cond_exprt.
expr must be known to be cond_exprt.
Definition at line 3443 of file std_expr.h.
Cast an exprt to a cond_exprt.
expr must be known to be cond_exprt.
Definition at line 3451 of file std_expr.h.
Cast an exprt to a constant_exprt.
expr must be known to be constant_exprt.
Definition at line 3078 of file std_expr.h.
Cast an exprt to a constant_exprt.
expr must be known to be constant_exprt.
Definition at line 3086 of file std_expr.h.
Cast an exprt to a div_exprt.
expr must be known to be div_exprt.
Definition at line 1196 of file std_expr.h.
Cast an exprt to a div_exprt.
expr must be known to be div_exprt.
Definition at line 1204 of file std_expr.h.
Cast an exprt to an empty_union_exprt.
expr must be known to be empty_union_exprt.
Definition at line 1803 of file std_expr.h.
Cast an exprt to an empty_union_exprt.
expr must be known to be empty_union_exprt.
Definition at line 1811 of file std_expr.h.
Cast an exprt to an equal_exprt.
expr must be known to be equal_exprt.
Definition at line 1375 of file std_expr.h.
Cast an exprt to an equal_exprt.
expr must be known to be equal_exprt.
Definition at line 1383 of file std_expr.h.
Cast an exprt to a euclidean_mod_exprt.
expr must be known to be euclidean_mod_exprt.
Definition at line 1321 of file std_expr.h.
Cast an exprt to a euclidean_mod_exprt.
expr must be known to be euclidean_mod_exprt.
Definition at line 1329 of file std_expr.h.
Cast an exprt to an if_exprt.
expr must be known to be if_exprt.
Definition at line 2501 of file std_expr.h.
Cast an exprt to an if_exprt.
expr must be known to be if_exprt.
Definition at line 2509 of file std_expr.h.
Cast an exprt to a implies_exprt.
expr must be known to be implies_exprt.
Definition at line 2174 of file std_expr.h.
Cast an exprt to a implies_exprt.
expr must be known to be implies_exprt.
Definition at line 2182 of file std_expr.h.
Cast an exprt to an index_designatort.
expr must be known to be index_designatort.
Definition at line 2619 of file std_expr.h.
Cast an exprt to an index_designatort.
expr must be known to be index_designatort.
Definition at line 2627 of file std_expr.h.
Cast an exprt to an index_exprt.
expr must be known to be index_exprt.
Definition at line 1494 of file std_expr.h.
Cast an exprt to an index_exprt.
expr must be known to be index_exprt.
Definition at line 1502 of file std_expr.h.
Cast an exprt to a let_exprt.
expr must be known to be let_exprt.
Definition at line 3383 of file std_expr.h.
Cast an exprt to a let_exprt.
expr must be known to be let_exprt.
Definition at line 3391 of file std_expr.h.
Cast an exprt to an member_designatort.
expr must be known to be member_designatort.
Definition at line 2661 of file std_expr.h.
Cast an exprt to an member_designatort.
expr must be known to be member_designatort.
Definition at line 2669 of file std_expr.h.
Cast an exprt to a member_exprt.
expr must be known to be member_exprt.
Definition at line 2953 of file std_expr.h.
Cast an exprt to a member_exprt.
expr must be known to be member_exprt.
Definition at line 2961 of file std_expr.h.
Cast an exprt to a minus_exprt.
expr must be known to be minus_exprt.
Definition at line 1085 of file std_expr.h.
Cast an exprt to a minus_exprt.
expr must be known to be minus_exprt.
Definition at line 1093 of file std_expr.h.
Cast an exprt to a mod_exprt.
expr must be known to be mod_exprt.
Definition at line 1260 of file std_expr.h.
Cast an exprt to a mod_exprt.
expr must be known to be mod_exprt.
Definition at line 1268 of file std_expr.h.
Cast an exprt to a mult_exprt.
expr must be known to be mult_exprt.
Definition at line 1134 of file std_expr.h.
Cast an exprt to a mult_exprt.
expr must be known to be mult_exprt.
Definition at line 1142 of file std_expr.h.
Cast an exprt to a multi_ary_exprt.
expr must be known to be multi_ary_exprt.
Definition at line 991 of file std_expr.h.
Cast an exprt to a multi_ary_exprt.
expr must be known to be multi_ary_exprt.
Definition at line 997 of file std_expr.h.
Cast an exprt to a named_term_exprt.
expr must be known to be named_term_exprt.
Definition at line 3702 of file std_expr.h.
Cast an exprt to a array_comprehension_exprt.
expr must be known to be array_comprehension_exprt.
Definition at line 3710 of file std_expr.h.
Cast an exprt to a nand_exprt.
expr must be known to be nand_exprt.
Definition at line 2137 of file std_expr.h.
Cast an exprt to a nand_exprt.
expr must be known to be nand_exprt.
Definition at line 2145 of file std_expr.h.
Cast an exprt to a nondet_symbol_exprt.
expr must be known to be nondet_symbol_exprt.
Definition at line 346 of file std_expr.h.
Cast an exprt to a nondet_symbol_exprt.
expr must be known to be nondet_symbol_exprt.
Definition at line 354 of file std_expr.h.
Cast an exprt to a nor_exprt.
expr must be known to be nor_exprt.
Definition at line 2282 of file std_expr.h.
Cast an exprt to a nor_exprt.
expr must be known to be nor_exprt.
Definition at line 2290 of file std_expr.h.
Cast an exprt to an not_exprt.
expr must be known to be not_exprt.
Definition at line 2408 of file std_expr.h.
Cast an exprt to an not_exprt.
expr must be known to be not_exprt.
Definition at line 2416 of file std_expr.h.
Cast an exprt to an notequal_exprt.
expr must be known to be notequal_exprt.
Definition at line 1413 of file std_expr.h.
Cast an exprt to an notequal_exprt.
expr must be known to be notequal_exprt.
Definition at line 1421 of file std_expr.h.
Cast an exprt to a or_exprt.
expr must be known to be or_exprt.
Definition at line 2240 of file std_expr.h.
Cast an exprt to a or_exprt.
expr must be known to be or_exprt.
Definition at line 2248 of file std_expr.h.
Cast an exprt to a plus_exprt.
expr must be known to be plus_exprt.
Definition at line 1045 of file std_expr.h.
Cast an exprt to a plus_exprt.
expr must be known to be plus_exprt.
Definition at line 1054 of file std_expr.h.
Cast an exprt to a sign_exprt.
expr must be known to be a sign_exprt.
Definition at line 632 of file std_expr.h.
Cast an exprt to a sign_exprt.
expr must be known to be a sign_exprt.
Definition at line 640 of file std_expr.h.
Cast an exprt to a struct_exprt.
expr must be known to be struct_exprt.
Definition at line 1843 of file std_expr.h.
Cast an exprt to a struct_exprt.
expr must be known to be struct_exprt.
Definition at line 1850 of file std_expr.h.
Cast an exprt to a symbol_exprt.
expr must be known to be symbol_exprt.
Definition at line 221 of file std_expr.h.
Cast an exprt to a symbol_exprt.
expr must be known to be symbol_exprt.
Definition at line 229 of file std_expr.h.
Cast an exprt to a ternary_exprt.
expr must be known to be ternary_exprt.
Definition at line 117 of file std_expr.h.
Cast an exprt to a ternary_exprt.
expr must be known to be ternary_exprt.
Definition at line 124 of file std_expr.h.
Cast an exprt to an type_exprt.
expr must be known to be type_exprt.
Definition at line 2990 of file std_expr.h.
Cast an exprt to an type_exprt.
expr must be known to be type_exprt.
Definition at line 2998 of file std_expr.h.
Cast an exprt to a typecast_exprt.
expr must be known to be typecast_exprt.
Definition at line 2024 of file std_expr.h.
Cast an exprt to a typecast_exprt.
expr must be known to be typecast_exprt.
Definition at line 2032 of file std_expr.h.
Cast an exprt to a unary_exprt.
expr must be known to be unary_exprt.
Definition at line 424 of file std_expr.h.
Cast an exprt to a unary_exprt.
expr must be known to be unary_exprt.
Definition at line 431 of file std_expr.h.
Cast an exprt to a unary_minus_exprt.
expr must be known to be unary_minus_exprt.
Definition at line 502 of file std_expr.h.
Cast an exprt to a unary_minus_exprt.
expr must be known to be unary_minus_exprt.
Definition at line 510 of file std_expr.h.
Cast an exprt to a unary_plus_exprt.
expr must be known to be unary_plus_exprt.
Definition at line 539 of file std_expr.h.
Cast an exprt to a unary_plus_exprt.
expr must be known to be unary_plus_exprt.
Definition at line 547 of file std_expr.h.
Cast an exprt to a unary_predicate_exprt.
expr must be known to be unary_predicate_exprt.
Definition at line 596 of file std_expr.h.
Cast an exprt to a unary_predicate_exprt.
expr must be known to be unary_predicate_exprt.
Definition at line 603 of file std_expr.h.
Cast an exprt to a union_exprt.
expr must be known to be union_exprt.
Definition at line 1765 of file std_expr.h.
Cast an exprt to a union_exprt.
expr must be known to be union_exprt.
Definition at line 1773 of file std_expr.h.
Cast an exprt to an update_exprt.
expr must be known to be update_exprt.
Definition at line 2762 of file std_expr.h.
Cast an exprt to an update_exprt.
expr must be known to be update_exprt.
Definition at line 2770 of file std_expr.h.
Cast an exprt to an vector_exprt.
expr must be known to be vector_exprt.
Definition at line 1706 of file std_expr.h.
Cast an exprt to an vector_exprt.
expr must be known to be vector_exprt.
Definition at line 1714 of file std_expr.h.
Cast an exprt to a with_exprt.
expr must be known to be with_exprt.
Definition at line 2573 of file std_expr.h.
Cast an exprt to a with_exprt.
expr must be known to be with_exprt.
Definition at line 2581 of file std_expr.h.
Cast an exprt to a xnor_exprt.
expr must be known to be xnor_exprt.
Definition at line 2371 of file std_expr.h.
Cast an exprt to a xnor_exprt.
expr must be known to be xnor_exprt.
Definition at line 2379 of file std_expr.h.
Cast an exprt to a xor_exprt.
expr must be known to be xor_exprt.
Definition at line 2325 of file std_expr.h.
Cast an exprt to a xor_exprt.
expr must be known to be xor_exprt.
Definition at line 2333 of file std_expr.h.
Definition at line 3614 of file std_expr.h.
Definition at line 3431 of file std_expr.h.
Definition at line 3067 of file std_expr.h.
Definition at line 3372 of file std_expr.h.
Definition at line 335 of file std_expr.h.
Definition at line 2750 of file std_expr.h.