|
GCC Middle and Back End API Reference
|
#include <complexity.h>
Public Member Functions | |
| complexity (unsigned num_nodes, unsigned max_depth) | |
| complexity (const symbolic::node &n) | |
| complexity (const region *reg) | |
| complexity (const svalue *sval) | |
| bool | operator== (const complexity &other) const |
| complexity | operator+ (const complexity &other) const |
| complexity & | operator+= (const complexity &other) |
Static Public Member Functions | |
| static complexity | from_pair (const complexity &c1, const complexity &c) |
| static complexity | from_vec_svalue (const vec< const svalue * > &vec) |
| static complexity | from_child_complexities (const complexity &child_complexities) |
Data Fields | |
| unsigned | m_num_nodes |
| unsigned | m_max_depth |
A measurement of the complexity of a symbolic node, so that we can impose bounds on the growth of these tree-like structures and thus avoid infinite chains of analysis.
|
inline |
References m_max_depth, and m_num_nodes.
Referenced by complexity(), from_child_complexities(), from_pair(), from_vec_svalue(), operator+(), operator+=(), and operator==().
| ana::complexity::complexity | ( | const symbolic::node & | n | ) |
| ana::complexity::complexity | ( | const region * | reg | ) |
| ana::complexity::complexity | ( | const svalue * | sval | ) |
References complexity().
|
static |
References complexity().
|
static |
References complexity().
|
static |
References complexity().
| complexity ana::complexity::operator+ | ( | const complexity & | other | ) | const |
References complexity().
| complexity & ana::complexity::operator+= | ( | const complexity & | other | ) |
References complexity().
|
inline |
References complexity(), m_max_depth, m_num_nodes, and ana::other.
| unsigned ana::complexity::m_max_depth |
Referenced by complexity(), and operator==().
| unsigned ana::complexity::m_num_nodes |
Referenced by complexity(), and operator==().