|
GCC Middle and Back End API Reference
|
#include <constraint-manager.h>

Public Types | |
| typedef bounded_ranges | key_t |
Public Member Functions | |
| bounded_ranges (const bounded_range &range) | |
| bounded_ranges (const vec< bounded_range > &ranges) | |
| bounded_ranges (enum tree_code op, tree rhs_const) | |
| bool | operator== (const bounded_ranges &other) const |
| hashval_t | get_hash () const |
| void | dump_to_pp (pretty_printer *pp, bool show_types) const |
| void | dump (bool show_types) const |
| std::unique_ptr< json::value > | to_json () const |
| void | add_to_dump_widget (text_art::tree_widget &parent, const text_art::dump_widget_info &dwi) const |
| tristate | eval_condition (enum tree_code op, tree rhs_const, bounded_ranges_manager *mgr) const |
| bool | contain_p (tree cst) const |
| bool | empty_p () const |
| unsigned | get_count () const |
| const bounded_range & | get_range (unsigned idx) const |
Static Public Member Functions | |
| static int | cmp (const bounded_ranges *a, const bounded_ranges *b) |
Private Member Functions | |
| void | canonicalize () |
| void | validate () const |
Private Attributes | |
| auto_vec< bounded_range > | m_ranges |
| hashval_t | m_hash |
Friends | |
| class | bounded_ranges_manager |
A collection of bounded_range instances, suitable for representing the ranges on a case label within a switch statement.
| ana::bounded_ranges::bounded_ranges | ( | const bounded_range & | range | ) |
Referenced by cmp(), and operator==().
| ana::bounded_ranges::bounded_ranges | ( | const vec< bounded_range > & | ranges | ) |
| void ana::bounded_ranges::add_to_dump_widget | ( | text_art::tree_widget & | parent, |
| const text_art::dump_widget_info & | dwi ) const |
|
private |
|
static |
References a, b, and bounded_ranges().
| void ana::bounded_ranges::dump | ( | bool | show_types | ) | const |
| void ana::bounded_ranges::dump_to_pp | ( | pretty_printer * | pp, |
| bool | show_types ) const |
| tristate ana::bounded_ranges::eval_condition | ( | enum tree_code | op, |
| tree | rhs_const, | ||
| bounded_ranges_manager * | mgr ) const |
References bounded_ranges_manager.
|
inline |
References m_ranges.
|
inline |
References m_hash.
Referenced by ana::bounded_ranges_manager::hash_traits_t::hash().
|
inline |
References m_ranges.
| bool ana::bounded_ranges::operator== | ( | const bounded_ranges & | other | ) | const |
References bounded_ranges().
| std::unique_ptr< json::value > ana::bounded_ranges::to_json | ( | ) | const |
|
private |
|
friend |
References bounded_ranges_manager.
Referenced by bounded_ranges_manager, and eval_condition().
|
private |
Referenced by get_hash().
|
private |
Referenced by empty_p(), get_count(), and get_range().