|
GCC Middle and Back End API Reference
|
#include <symbolic-bit-vectors.h>


Data Structures | |
| struct | key |
Public Types | |
| enum class | kind { concat , conjured , cropped , empty , named_test , poisoned , repeated , svalue , from_ubc , tristate } |
| using | id_t = unsigned |
Static Public Member Functions | |
| static const bit_vector * | can_merge_p (const bit_vector &bv_a, const bit_vector &bv_b, tree type, model_merger *merger) |
| static int | cmp_ids (const symbolic::node *s1, const symbolic::node *s2) |
| static int | cmp (const symbolic::node &s1, const symbolic::node &s2) |
| static int | cmp_ptr_ptr (const void *, const void *) |
Protected Member Functions | |
| std::unique_ptr< json::object > | make_json_obj (const char *type_name) const |
Protected Attributes | |
| bit_vector_manager & | m_bv_mgr |
| const symbolic_bit_size & | m_size_in_bits |
Private Member Functions | |
| void | print_prefix_for_dump_widget_label (pretty_printer *pp) const final override |
| void | add_dump_widget_children (text_art::tree_widget &, node_dump_state &nds) const final override |
| void | accept_node_visitor (node_visitor &v) const final override |
Private Attributes | |
| std::vector< const bit_vector * > | m_bit_vectors |
| complexity | m_complexity |
| id_t | m_id |
A sequence of bit_vectors concatenated together.
Consolidation/canonicalization:
- we must have at least two child bit_vectors
- all child bit_vectors must have non-zero size
- no nesting: children must not be concat_bit_vector instances
- consecutive children must not:
- be the same bit_vector
- be uniform_bit_vectors with the same underlying bit
- be repeated_bit_vectors of the same underlying
bit vector
- be a bit_vector and a repeated_bit_vector of that
bit_vector (in either order)
- be bit_vectors taken from the same UBC at
consecutive bit ranges.
|
inherited |
|
stronginherited |
| ana::symbolic::concat_bit_vector::concat_bit_vector | ( | bit_vector_manager & | mgr, |
| const key & | k ) |
|
finaloverrideprivatevirtual |
Implements ana::symbolic::node.
References accept_node_visitor(), and final().
Referenced by accept_node_visitor().
|
finaloverrideprivatevirtual |
Implements ana::symbolic::node.
References add_dump_widget_children(), and final().
Referenced by add_dump_widget_children().
|
inline |
References m_bit_vectors.
|
staticinherited |
References bit_vector().
|
inlinestaticinherited |
References get_id().
|
staticinherited |
|
staticinherited |
|
virtualinherited |
Reimplemented in ana::symbolic::bit_vector_from_ubc, and ana::symbolic::conjured_bit_vector.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlinefinaloverridevirtualinherited |
Reimplemented from ana::symbolic::value_node.
References final().
|
inlinevirtualinherited |
Reimplemented in ana::symbolic::bit_vector_from_svalue.
|
inlinevirtualinherited |
Reimplemented in ana::symbolic::bit_vector_from_ubc.
|
inlinefinaloverridevirtual |
Reimplemented from ana::symbolic::bit_vector.
References final().
|
inlinevirtualinherited |
Reimplemented in ana::symbolic::conjured_bit_vector.
Referenced by infinite_recursion_diagnostic::expr_uses_conjured_value_p().
|
inlinevirtualinherited |
Reimplemented in ana::symbolic::cropped_bit_vector.
|
inlinevirtualinherited |
Reimplemented in ana::symbolic::empty_bit_vector.
|
inlinevirtualinherited |
Reimplemented in ana::symbolic::poisoned_bit_vector.
|
inlinevirtualinherited |
Reimplemented in ana::symbolic::repeated_bit_vector.
|
inlinevirtualinherited |
Reimplemented in ana::svalue.
|
inlinevirtualinherited |
Reimplemented in ana::symbolic::tristate_bit_vector.
Referenced by contains_unknown_p().
|
inlinevirtualinherited |
|
inline |
References m_bit_vectors.
|
inherited |
|
finaloverridevirtual |
Implements ana::symbolic::value_node.
References final(), and for_each_svalue().
Referenced by for_each_svalue().
|
inlineoverridevirtualinherited |
Reimplemented from ana::symbolic::node.
|
inlineinherited |
References m_bv_mgr.
|
inherited |
References bit_vector().
|
inherited |
References bit_vector().
|
inlineinherited |
References m_complexity.
Referenced by ana::binop_svalue::binop_svalue(), ana::pointer_svalue::pointer_svalue(), and ana::widening_svalue::widening_svalue().
|
inherited |
References bit_vector().
|
inherited |
References bit_vector().
|
inherited |
References bit_vector().
|
inherited |
References bit_vector().
|
inlinefinaloverridevirtual |
Implements ana::symbolic::bit_vector.
References ana::symbolic::bit_vector::concat, and final().
|
inherited |
References bit_vector().
|
inlineinherited |
References ana::bits_from_bytes(), and get_prefix().
|
inherited |
References bit_vector().
Referenced by get_prefix(), and get_prefix().
|
inlineinherited |
References ana::bits_from_bytes(), and get_prefix().
|
inlineinherited |
References m_size_in_bits.
Referenced by ana::symbolic::cropped_bit_vector::get_uncropped_bits_to_use().
|
inherited |
References bit_vector().
|
inlineinherited |
References ana::bits_from_bytes(), and get_suffix().
|
inherited |
References bit_vector().
Referenced by get_suffix(), and get_suffix().
|
inlineinherited |
References ana::bits_from_bytes(), and get_suffix().
|
inherited |
|
inherited |
References bit_vector().
|
finaloverridevirtual |
Reimplemented from ana::symbolic::bit_vector.
|
inherited |
|
inherited |
|
inherited |
|
finaloverridevirtual |
Reimplemented from ana::symbolic::value_node.
References ana::symbolic::bit_vector::bit_vector().
|
inherited |
|
inherited |
|
protectedinherited |
|
finaloverridevirtual |
Implements ana::symbolic::node.
References final(), and make_markup_node().
Referenced by make_markup_node().
|
inherited |
References bit_vector().
|
finaloverridevirtual |
Reimplemented from ana::symbolic::bit_vector.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
virtualinherited |
Reimplemented in ana::symbolic::bit_vector_from_svalue.
|
inlineinherited |
References bit_vector(), and ana::other.
|
inlinevirtualinherited |
Reimplemented in ana::symbolic::cropped_bit_vector, ana::symbolic::poisoned_bit_vector, and ana::symbolic::tristate_bit_vector.
|
finaloverridevirtualinherited |
Implements ana::symbolic::node.
|
finaloverrideprivatevirtual |
Implements ana::symbolic::bit_vector.
References final(), and print_prefix_for_dump_widget_label().
Referenced by print_prefix_for_dump_widget_label().
|
finaloverridevirtual |
Implements ana::symbolic::bit_vector.
|
inherited |
|
finaloverridevirtual |
Implements ana::symbolic::node.
References final().
|
private |
|
protectedinherited |
Referenced by get_bit_vector_manager().
|
privateinherited |
Referenced by get_complexity(), and node().
|
protectedinherited |
Referenced by get_size().