cgraph.c (cgraph_node_name): New function.
authorJan Hubicka <jh@suse.cz>
Wed, 9 Jul 2003 01:20:24 +0000 (03:20 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Wed, 9 Jul 2003 01:20:24 +0000 (01:20 +0000)
commita194aa56e656273fde94d2935e43d0640d90e42f
tree1d6807c9ee6d30e8fa21f56d4c445809b3cdea27
parent8af61113c7c4ec81ef7d4947a9e59d980333e397
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
gcc/ChangeLog
gcc/cgraph.c
gcc/cgraph.h
gcc/cgraphunit.c
gcc/doc/invoke.texi
gcc/timevar.def
gcc/toplev.c