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

Public Types | |
| using | symbolic_bit_offset = symbolic::scalar<integer_with_unit<units::bit>> |
Public Member Functions | |
| memory_offset (const region &base_reg, const symbolic_bit_offset &bit_offset) | |
| void | dump () const |
| bool | operator== (const memory_offset &other) const |
| bool | operator!= (const memory_offset &other) const |
| int | cmp (const memory_offset &other) const |
| bool | zero_offset_p () const |
| bool | non_null_p () const |
| std::unique_ptr< text_art::tree_widget > | make_dump_widget (node_dump_state &nds) const |
| void | accept_node_visitor (symbolic::node_visitor &v) const |
| std::unique_ptr< json::object > | to_json () const |
| const region & | get_base_region () const |
| const symbolic_bit_offset & | get_bit_offset () const |
Private Attributes | |
| const region & | m_base_reg |
| const symbolic_bit_offset & | m_bit_offset |
A (base_region, symbolic bit offset) pair for representing where a region starts in memory. Note that these have a granularity of *bits*.
| using ana::symbolic::memory_offset::symbolic_bit_offset = symbolic::scalar<integer_with_unit<units::bit>> |
|
inline |
References m_base_reg, and m_bit_offset.
Referenced by cmp(), operator!=(), and operator==().
| void ana::symbolic::memory_offset::accept_node_visitor | ( | symbolic::node_visitor & | v | ) | const |
| int ana::symbolic::memory_offset::cmp | ( | const memory_offset & | other | ) | const |
References memory_offset().
| void ana::symbolic::memory_offset::dump | ( | ) | const |
|
inline |
References m_base_reg.
|
inline |
References m_bit_offset.
| std::unique_ptr< text_art::tree_widget > ana::symbolic::memory_offset::make_dump_widget | ( | node_dump_state & | nds | ) | const |
| bool ana::symbolic::memory_offset::non_null_p | ( | ) | const |
|
inline |
References memory_offset(), and ana::other.
|
inline |
References m_base_reg, m_bit_offset, memory_offset(), and ana::other.
| std::unique_ptr< json::object > ana::symbolic::memory_offset::to_json | ( | ) | const |
|
inline |
References ana::symbolic::scalar< ConcreteValueType >::is_zero_p(), and m_bit_offset.
|
private |
Referenced by get_base_region(), memory_offset(), and operator==().
|
private |
Referenced by get_bit_offset(), memory_offset(), operator==(), and zero_offset_p().