|
CBMC
|
Include dependency graph for simplify_utils.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| bool | sort_operands (exprt::operandst &operands) |
| sort operands of an expression according to ordering defined by operator< More... | |
| bool | join_operands (exprt &expr) |
| bool | sort_and_join (exprt &expr) |
| optionalt< exprt > | bits2expr (const std::string &bits, const typet &type, bool little_endian, const namespacet &ns) |
| optionalt< std::string > | expr2bits (const exprt &, bool little_endian, const namespacet &ns) |
| optionalt< std::reference_wrapper< const array_exprt > > | try_get_string_data_array (const exprt &content, const namespacet &ns) |
| Get char sequence from content field of a refined string expression. More... | |
| optionalt<exprt> bits2expr | ( | const std::string & | bits, |
| const typet & | type, | ||
| bool | little_endian, | ||
| const namespacet & | ns | ||
| ) |
Definition at line 194 of file simplify_utils.cpp.
| optionalt<std::string> expr2bits | ( | const exprt & | , |
| bool | little_endian, | ||
| const namespacet & | ns | ||
| ) |
Definition at line 409 of file simplify_utils.cpp.
| bool join_operands | ( | exprt & | expr | ) |
Definition at line 189 of file simplify_utils.cpp.
| bool sort_and_join | ( | exprt & | expr | ) |
Definition at line 184 of file simplify_utils.cpp.
| bool sort_operands | ( | exprt::operandst & | operands | ) |
sort operands of an expression according to ordering defined by operator<
Definition at line 28 of file simplify_utils.cpp.
| optionalt<std::reference_wrapper<const array_exprt> > try_get_string_data_array | ( | const exprt & | content, |
| const namespacet & | ns | ||
| ) |
Get char sequence from content field of a refined string expression.
If content is of the form &id[e], where id is an array-typed symbol expression (and e is any expression), return the value of the symbol id (as given by the value field of the symbol in the namespace ns); otherwise return an empty optional.
| content | content field of a refined string expression |
| ns | namespace |
Definition at line 484 of file simplify_utils.cpp.