diff options
author | Jan Hubicka <jh@suse.cz> | 2003-07-09 03:20:24 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2003-07-09 01:20:24 +0000 |
commit | a194aa56e656273fde94d2935e43d0640d90e42f (patch) | |
tree | 1d6807c9ee6d30e8fa21f56d4c445809b3cdea27 /gcc/cgraph.h | |
parent | 8af61113c7c4ec81ef7d4947a9e59d980333e397 (diff) | |
download | gcc-a194aa56e656273fde94d2935e43d0640d90e42f.zip gcc-a194aa56e656273fde94d2935e43d0640d90e42f.tar.gz gcc-a194aa56e656273fde94d2935e43d0640d90e42f.tar.bz2 |
cgraph.c (cgraph_node_name): New function.
* cgraph.c (cgraph_node_name): New function.
(dump_cgraph): Use it.
* cgraph.h (cgraph_dump_file): Declare.
(cgraph_node_name): Declare.
* cgraphunit.c: Include timevar.h
(cgraph_finalize_compilation_unit): Use timevar; reorganize dumps.
(cgraph_optimize_function): Use TV_INTEGRATION.
(cgraph_mark_local_functions): reorganize dumps.
(cgraph_mark_functions_to_inline_once): Likewise.
(cgraph_optimize): Likewise; use timevar.
* timevar.def (TV_CGRAPH, TV_CGRAPHOPT): New.
* toplev.c (dump_file_index): Add DFI_cgraph.
(dump_file_info): Likewise.
(cgraph_dump_file): New global variable.
(do_compile): Open and close cgraph dump.
* invoke.texi (-d): Document new flag; renumber.
From-SVN: r69120
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r-- | gcc/cgraph.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h index dbd012f..65bda07 100644 --- a/gcc/cgraph.h +++ b/gcc/cgraph.h @@ -126,6 +126,7 @@ extern GTY(()) struct cgraph_node *cgraph_nodes; extern GTY(()) int cgraph_n_nodes; extern bool cgraph_global_info_ready; extern GTY(()) struct cgraph_node *cgraph_nodes_queue; +extern FILE *cgraph_dump_file; extern GTY(()) int cgraph_varpool_n_nodes; extern GTY(()) struct cgraph_varpool_node *cgraph_varpool_nodes_queue; @@ -142,6 +143,7 @@ bool cgraph_calls_p PARAMS ((tree, tree)); struct cgraph_local_info *cgraph_local_info PARAMS ((tree)); struct cgraph_global_info *cgraph_global_info PARAMS ((tree)); struct cgraph_rtl_info *cgraph_rtl_info PARAMS ((tree)); +const char * cgraph_node_name PARAMS ((struct cgraph_node *)); struct cgraph_varpool_node *cgraph_varpool_node (tree decl); struct cgraph_varpool_node *cgraph_varpool_node_for_identifier (tree id); |