|
GCC Middle and Back End API Reference
|
#include <complexity.h>
Public Member Functions | |
| complexity (unsigned num_nodes, unsigned max_depth) | |
| complexity (const region *reg) | |
| complexity (const svalue *sval) | |
Static Public Member Functions | |
| static complexity | from_pair (const complexity &c1, const complexity &c) |
| static complexity | from_vec_svalue (const vec< const svalue * > &vec) |
Data Fields | |
| unsigned | m_num_nodes |
| unsigned | m_max_depth |
A measurement of the complexity of an svalue or region, 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 from_pair(), and from_vec_svalue().
| ana::complexity::complexity | ( | const region * | reg | ) |
| ana::complexity::complexity | ( | const svalue * | sval | ) |
|
static |
References complexity().
|
static |
References complexity().
| unsigned ana::complexity::m_max_depth |
Referenced by complexity().
| unsigned ana::complexity::m_num_nodes |
Referenced by complexity().