summaryrefslogtreecommitdiff
path: root/gcc/timevar.def
diff options
context:
space:
mode:
authorhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-09 01:20:24 +0000
committerhubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4>2003-07-09 01:20:24 +0000
commitf79b65070c2310a787f5eaf3f96438679085216d (patch)
tree1d6807c9ee6d30e8fa21f56d4c445809b3cdea27 /gcc/timevar.def
parent20f5f6d0a53d958f5029276862a136d271ceaadf (diff)
downloadgcc-f79b65070c2310a787f5eaf3f96438679085216d.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69120 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/timevar.def')
-rw-r--r--gcc/timevar.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/timevar.def b/gcc/timevar.def
index f8a32f63a8f..22d3097cf6a 100644
--- a/gcc/timevar.def
+++ b/gcc/timevar.def
@@ -39,6 +39,8 @@ DEFTIMEVAR (TV_GC , "garbage collection")
/* Time spent generating dump files. */
DEFTIMEVAR (TV_DUMP , "dump files")
+DEFTIMEVAR (TV_CGRAPH , "callgraph construction")
+DEFTIMEVAR (TV_CGRAPHOPT , "callgraph optimization")
/* Time spent by constructing CFG. */
DEFTIMEVAR (TV_CFG , "cfg construction")
/* Time spent by cleaning up CFG. */