|
GCC Middle and Back End API Reference
|
#include <supergraph.h>


Public Types | |
| typedef supergraph_traits::edge_t | edge_t |
| typedef supergraph_traits::dump_args_t | dump_args_t |
Public Member Functions | |
| supernode (function *fun, basic_block bb, int id) | |
| function * | get_function () const |
| bool | entry_p () const |
| bool | exit_p () const |
| void | dump_dot (graphviz_out *gv, const dump_args_t &args) const override |
| void | dump_dot_id (pretty_printer *pp) const |
| void | print (pretty_printer *pp) const |
| std::unique_ptr< json::object > | to_json () const |
| location_t | get_location () const |
| tree | get_label () const |
| bool | preserve_p () const |
| virtual void | dump_dot (graphviz_out *gv, const dump_args_t &args) const=0 |
| void | add_in_edge (edge_t *e) |
| void | remove_in_edge (edge_t *e) |
| void | add_out_edge (edge_t *e) |
| void | remove_out_edge (edge_t *e) |
Data Fields | |
| function *const | m_fun |
| const basic_block | m_bb |
| location_t | m_loc |
| location_t | m_stmt_loc |
| int | m_id |
| const int | m_original_id |
| tree | m_label |
| bool | m_preserve_p |
| bool | m_state_merger_node |
| auto_vec< edge_t * > | m_preds |
| auto_vec< edge_t * > | m_succs |
Static Private Member Functions | |
| static unsigned | find_edge_idx (auto_vec< edge_t * > &edges, edge_t *e) |
A node within a supergraph.
|
inherited |
|
inherited |
|
inline |
References false, m_bb, m_fun, m_id, m_label, m_loc, m_original_id, m_preserve_p, m_state_merger_node, m_stmt_loc, NULL_TREE, and UNKNOWN_LOCATION.
|
inlineinherited |
|
inlineinherited |
|
override |
|
pure virtualinherited |
| void ana::supernode::dump_dot_id | ( | pretty_printer * | pp | ) | const |
|
inline |
References ENTRY_BLOCK_PTR_FOR_FN, m_bb, and m_fun.
Referenced by is_entrypoint_p().
|
inline |
References EXIT_BLOCK_PTR_FOR_FN, m_bb, and m_fun.
|
inlinestaticprivateinherited |
|
inline |
References m_loc.
Referenced by infinite_loop_diagnostic::add_final_event().
|
inline |
References m_preserve_p.
|
inline |
References m_id, and pp_printf().
|
inlineinherited |
|
inlineinherited |
| std::unique_ptr< json::object > ana::supernode::to_json | ( | ) | const |
| const basic_block ana::supernode::m_bb |
Referenced by entry_p(), exit_p(), and supernode().
| function* const ana::supernode::m_fun |
Referenced by entry_p(), exit_p(), get_function(), and supernode().
| int ana::supernode::m_id |
Referenced by ana::worklist::get_scc_id(), ana::worklist::key_t::get_scc_id(), print(), and supernode().
| tree ana::supernode::m_label |
Referenced by get_label(), and supernode().
| location_t ana::supernode::m_loc |
Referenced by get_location(), and supernode().
| const int ana::supernode::m_original_id |
Referenced by supernode().
|
inherited |
| bool ana::supernode::m_preserve_p |
Referenced by preserve_p(), and supernode().
| bool ana::supernode::m_state_merger_node |
Referenced by supernode().
| location_t ana::supernode::m_stmt_loc |
Referenced by supernode().
|
inherited |