GCC Middle and Back End API Reference
|
Go to the source code of this file.
Functions | |
void | print_graph_cfg (const char *, struct function *) |
void | clean_graph_dump_file (const char *) |
void | finish_graph_dump_file (const char *) |
Similar as clean_dump_file, but this time for graph output files.
References ggc_alloc(), open_graph_file(), and start_graph_dump().
Referenced by execute_function_dump(), and pass_init_dump_file().
Do final work on the graph output file.
References end_graph_dump(), ggc_alloc(), and open_graph_file().
Referenced by emergency_dump_function(), and gcc::pass_manager::finish_optimization_passes().
Header file for graph routines. Copyright (C) 1999-2024 Free Software Foundation, Inc. This file is part of GCC. GCC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version. GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GCC; see the file COPYING3. If not see <http://www.gnu.org/licenses/>.
Print a graphical representation of the CFG of function FUN. First print all basic blocks. Draw all edges at the end to get subgraphs right for GraphViz, which requires nodes to be defined before edges to cluster nodes properly.
References ggc_alloc(), open_graph_file(), and print_graph_cfg().