|
GCC Middle and Back End API Reference
|
#include <region-model.h>

Public Types | |
| typedef hash_map< const region *, const svalue * > | hash_map_t |
| typedef hash_map_t::iterator | iterator |
Public Member Functions | |
| region_to_value_map () | |
| region_to_value_map (const region_to_value_map &other) | |
| region_to_value_map & | operator= (const region_to_value_map &other) |
| bool | operator== (const region_to_value_map &other) const |
| bool | operator!= (const region_to_value_map &other) const |
| iterator | begin () const |
| iterator | end () const |
| const svalue *const * | get (const region *reg) const |
| void | put (const region *reg, const svalue *sval) |
| void | remove (const region *reg) |
| bool | is_empty () const |
| void | dump_to_pp (pretty_printer *pp, bool simple, bool multiline) const |
| void | dump (bool simple) const |
| std::unique_ptr< json::object > | to_json () const |
| std::unique_ptr< text_art::tree_widget > | make_dump_widget (const text_art::dump_widget_info &dwi) const |
| bool | can_merge_with_p (const region_to_value_map &other, region_to_value_map *out) const |
| void | purge_state_involving (const svalue *sval) |
Private Attributes | |
| hash_map_t | m_hash_map |
A mapping from region to svalue for use when tracking state.
| typedef hash_map<const region *, const svalue *> ana::region_to_value_map::hash_map_t |
| typedef hash_map_t::iterator ana::region_to_value_map::iterator |
|
inline |
References m_hash_map.
Referenced by can_merge_with_p(), operator!=(), operator=(), operator==(), and region_to_value_map().
|
inline |
References m_hash_map, and region_to_value_map().
|
inline |
References m_hash_map.
| bool ana::region_to_value_map::can_merge_with_p | ( | const region_to_value_map & | other, |
| region_to_value_map * | out ) const |
References region_to_value_map().
| void ana::region_to_value_map::dump | ( | bool | simple | ) | const |
| void ana::region_to_value_map::dump_to_pp | ( | pretty_printer * | pp, |
| bool | simple, | ||
| bool | multiline ) const |
|
inline |
References m_hash_map.
References get(), and m_hash_map.
Referenced by get().
|
inline |
References m_hash_map.
| std::unique_ptr< text_art::tree_widget > ana::region_to_value_map::make_dump_widget | ( | const text_art::dump_widget_info & | dwi | ) | const |
|
inline |
References region_to_value_map().
| region_to_value_map & ana::region_to_value_map::operator= | ( | const region_to_value_map & | other | ) |
References region_to_value_map().
| bool ana::region_to_value_map::operator== | ( | const region_to_value_map & | other | ) | const |
References region_to_value_map().
| void ana::region_to_value_map::purge_state_involving | ( | const svalue * | sval | ) |
References m_hash_map.
|
inline |
References m_hash_map.
| std::unique_ptr< json::object > ana::region_to_value_map::to_json | ( | ) | const |
|
private |
Referenced by begin(), end(), get(), is_empty(), put(), region_to_value_map(), region_to_value_map(), and remove().