GCC Middle and Back End API Reference
|
#include <constraint-manager.h>
Public Member Functions | |
equiv_class () | |
equiv_class (const equiv_class &other) | |
hashval_t | hash () const |
bool | operator== (const equiv_class &other) |
void | add (const svalue *sval) |
bool | del (const svalue *sval) |
tree | get_any_constant () const |
const svalue * | get_representative () const |
void | canonicalize () |
void | print (pretty_printer *pp) 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, unsigned id) const |
bool | contains_non_constant_p () const |
Data Fields | |
tree | m_constant |
const svalue * | m_cst_sval |
auto_vec< const svalue * > | m_vars |
An equivalence class within a constraint manager: a set of svalues that are known to all be equal to each other, together with an optional tree constant that they are equal to.
ana::equiv_class::equiv_class | ( | ) |
ana::equiv_class::equiv_class | ( | const equiv_class & | other | ) |
void ana::equiv_class::add | ( | const svalue * | sval | ) |
void ana::equiv_class::canonicalize | ( | ) |
bool ana::equiv_class::contains_non_constant_p | ( | ) | const |
|
inline |
References m_constant.
const svalue * ana::equiv_class::get_representative | ( | ) | const |
hashval_t ana::equiv_class::hash | ( | ) | const |
std::unique_ptr< text_art::tree_widget > ana::equiv_class::make_dump_widget | ( | const text_art::dump_widget_info & | dwi, |
unsigned | id ) const |
bool ana::equiv_class::operator== | ( | const equiv_class & | other | ) |
void ana::equiv_class::print | ( | pretty_printer * | pp | ) | const |
std::unique_ptr< json::object > ana::equiv_class::to_json | ( | ) | const |
tree ana::equiv_class::m_constant |
Referenced by get_any_constant().
const svalue* ana::equiv_class::m_cst_sval |