|
GCC Middle and Back End API Reference
|
#include <concrete-ranges.h>

Public Member Functions | |
| range ()=default | |
| range (ConcreteValueType start_offset, ConcreteValueType size) | |
| void | dump () const |
| void | dump_to_pp (pretty_printer *pp) const |
| void | dump_to_pp_pretty (pretty_printer *pp) const |
| ConcreteValueType | get_start_offset () const |
| ConcreteValueType | get_size () const |
| ConcreteValueType | get_last_offset () const |
| ConcreteValueType | get_next_offset () const |
| bool | contains_p (ConcreteValueType offset) const |
| bool | intersects_p (const range &other, range *out=nullptr) const |
| bool | exceeds_p (ConcreteValueType offset, range< ConcreteValueType > *out) const |
| bool | falls_short_of_p (ConcreteValueType offset, range< ConcreteValueType > *out) const |
| bool | operator== (const range< ConcreteValueType > &other) const |
| bool | operator< (const range< ConcreteValueType > &other) const |
| std::unique_ptr< json::object > | to_json () const |
| std::unique_ptr< diagnostics::markup::node > | make_markup_node () const |
Static Public Member Functions | |
| static int | cmp (const range< ConcreteValueType > &lhs, const range< ConcreteValueType > &rhs) |
Private Attributes | |
| ConcreteValueType | m_start_offset |
| ConcreteValueType | m_size |
Concrete ranges of bits or bytes (or unitless).
|
default |
|
inline |
|
static |
|
inline |
Referenced by ana::record_layout::item::contains_p().
| void ana::concrete::range< ConcreteValueType >::dump | ( | ) | const |
| void ana::concrete::range< ConcreteValueType >::dump_to_pp | ( | pretty_printer * | pp | ) | const |
Referenced by ana::record_layout::item::dump_to_pp().
| void ana::concrete::range< ConcreteValueType >::dump_to_pp_pretty | ( | pretty_printer * | pp | ) | const |
| bool ana::concrete::range< ConcreteValueType >::exceeds_p | ( | ConcreteValueType | offset, |
| range< ConcreteValueType > * | out ) const |
| bool ana::concrete::range< ConcreteValueType >::falls_short_of_p | ( | ConcreteValueType | offset, |
| range< ConcreteValueType > * | out ) const |
|
inline |
|
inline |
Referenced by ana::record_layout::item::get_next_offset().
|
inline |
Referenced by ana::bits_from_bytes(), and ana::symbolic::symbolic_from_concrete().
|
inline |
| bool ana::concrete::range< ConcreteValueType >::intersects_p | ( | const range< ConcreteValueType > & | other, |
| range< ConcreteValueType > * | out = nullptr ) const |
| std::unique_ptr< diagnostics::markup::node > ana::concrete::range< ConcreteValueType >::make_markup_node | ( | ) | const |
|
inline |
|
inline |
| std::unique_ptr< json::object > ana::concrete::range< ConcreteValueType >::to_json | ( | ) | const |
|
private |
|
private |