GCC Middle and Back End API Reference
|
#include <store.h>
Public Member Functions | |
byte_range (byte_offset_t start_byte_offset, byte_size_t size_in_bytes) | |
void | dump_to_pp (pretty_printer *pp) const |
void | dump () const |
std::unique_ptr< json::object > | to_json () const |
bool | empty_p () const |
bool | contains_p (byte_offset_t offset) const |
bool | contains_p (const byte_range &other, byte_range *out) const |
bool | operator== (const byte_range &other) const |
byte_offset_t | get_start_byte_offset () const |
byte_offset_t | get_next_byte_offset () const |
byte_offset_t | get_last_byte_offset () const |
bit_range | as_bit_range () const |
bit_offset_t | get_start_bit_offset () const |
bit_offset_t | get_next_bit_offset () const |
Static Public Member Functions | |
static int | cmp (const byte_range &br1, const byte_range &br2) |
Data Fields | |
byte_offset_t | m_start_byte_offset |
byte_size_t | m_size_in_bytes |
A concrete range of bytes.
|
inline |
|
inline |
References m_size_in_bytes, and m_start_byte_offset.
Referenced by ana::store_manager::get_concrete_binding().
|
static |
|
inline |
References get_next_byte_offset(), get_start_byte_offset(), and offset.
bool ana::byte_range::contains_p | ( | const byte_range & | other, |
byte_range * | out ) const |
void ana::byte_range::dump | ( | ) | const |
void ana::byte_range::dump_to_pp | ( | pretty_printer * | pp | ) | const |
|
inline |
References m_size_in_bytes.
Referenced by get_last_byte_offset().
|
inline |
References empty_p(), gcc_assert, m_size_in_bytes, and m_start_byte_offset.
|
inline |
References get_next_byte_offset().
|
inline |
References m_size_in_bytes, and m_start_byte_offset.
Referenced by contains_p(), and get_next_bit_offset().
|
inline |
References m_start_byte_offset.
|
inline |
References m_start_byte_offset.
Referenced by contains_p().
|
inline |
References m_size_in_bytes, and m_start_byte_offset.
std::unique_ptr< json::object > ana::byte_range::to_json | ( | ) | const |
byte_size_t ana::byte_range::m_size_in_bytes |
Referenced by as_bit_range(), empty_p(), get_last_byte_offset(), get_next_byte_offset(), and operator==().
byte_offset_t ana::byte_range::m_start_byte_offset |
Referenced by as_bit_range(), get_last_byte_offset(), get_next_byte_offset(), get_start_bit_offset(), get_start_byte_offset(), and operator==().