|
GCC Middle and Back End API Reference
|
#include <digraphs-to-dot.h>

Public Member Functions | |
| virtual std::unique_ptr< dot::graph > | make_dot_graph_from_diagnostic_graph (const digraphdigraph &) |
| std::unique_ptr< dot::stmt > | make_dot_node_from_digraph_node (const digraph_node &) |
| std::unique_ptr< dot::edge_stmt > | make_dot_edge_from_digraph_edge (const digraph_edge &) |
| dot::id | get_dot_id_for_node (const digraph_node &) |
| dot::node_id | get_node_id_for_node (const digraph_node &, const char *compass_point=nullptr) |
| bool | has_edges_p (const digraph_node &) |
| virtual void | add_any_subgraph_attrs (const digraph_node &input_node, dot::subgraph &output_subgraph) |
| virtual void | add_any_node_attrs (const digraph_node &input_node, dot::node_stmt &output_node) |
| virtual void | add_any_edge_attrs (const digraph_edge &input_edge, dot::edge_stmt &output_edge) |
Static Public Member Functions | |
| static std::unique_ptr< converter > | make (const digraphdigraph &dg) |
Private Attributes | |
| std::set< const digraph_node * > | m_nodes_with_edges |
| std::map< const digraph_node *, dot::stmt * > | m_node_map |
|
virtual |
Reimplemented in diagnostics::digraphs::to_dot::converter_from_cfg.
Referenced by make_dot_edge_from_digraph_edge().
|
virtual |
Reimplemented in diagnostics::digraphs::to_dot::converter_from_cfg.
Referenced by make_dot_node_from_digraph_node().
|
virtual |
Reimplemented in diagnostics::digraphs::to_dot::converter_from_cfg.
Referenced by make_dot_node_from_digraph_node().
| dot::id diagnostics::digraphs::to_dot::converter::get_dot_id_for_node | ( | const digraph_node & | input_node | ) |
References has_edges_p(), and input_node().
Referenced by get_node_id_for_node(), and make_dot_node_from_digraph_node().
| dot::node_id diagnostics::digraphs::to_dot::converter::get_node_id_for_node | ( | const digraph_node & | input_node, |
| const char * | compass_point = nullptr ) |
| bool diagnostics::digraphs::to_dot::converter::has_edges_p | ( | const digraph_node & | input_node | ) |
References input_node(), and m_nodes_with_edges.
Referenced by get_dot_id_for_node(), and make_dot_node_from_digraph_node().
| std::unique_ptr< dot::edge_stmt > diagnostics::digraphs::to_dot::converter::make_dot_edge_from_digraph_edge | ( | const digraph_edge & | input_edge | ) |
References add_any_edge_attrs(), get_node_id_for_node(), and input_edge().
Referenced by make_dot_graph_from_diagnostic_graph().
|
virtual |
Reimplemented in diagnostics::digraphs::to_dot::converter_from_cfg.
References diagnostics::digraphs::digraph::get_description(), diagnostics::digraphs::digraph::get_edge(), diagnostics::digraphs::digraph::get_node(), diagnostics::digraphs::digraph::get_num_edges(), diagnostics::digraphs::digraph::get_num_nodes(), i, input_edge(), input_node(), m_nodes_with_edges, make_dot_edge_from_digraph_edge(), and make_dot_node_from_digraph_node().
Referenced by diagnostics::digraphs::to_dot::converter_from_cfg::make_dot_graph_from_diagnostic_graph().
| std::unique_ptr< dot::stmt > diagnostics::digraphs::to_dot::converter::make_dot_node_from_digraph_node | ( | const digraph_node & | input_node | ) |
References add_any_node_attrs(), add_any_subgraph_attrs(), get_dot_id_for_node(), has_edges_p(), i, input_node(), m_node_map, and make_dot_node_from_digraph_node().
Referenced by make_dot_graph_from_diagnostic_graph(), and make_dot_node_from_digraph_node().
|
private |
Referenced by make_dot_node_from_digraph_node().
|
private |
Referenced by has_edges_p(), and make_dot_graph_from_diagnostic_graph().