diff options
author | Steven Bosscher <steven@gcc.gnu.org> | 2004-08-09 16:58:42 +0000 |
---|---|---|
committer | Steven Bosscher <steven@gcc.gnu.org> | 2004-08-09 16:58:42 +0000 |
commit | 27fb79ad58913a5a6e7f65013c027bb13ad9b36b (patch) | |
tree | 6acad3c2863017816a499859e6818fdc7225e212 /gcc/timevar.def | |
parent | 883c9d4d1237863941b95b3e7b8dba71fb49a78e (diff) | |
download | gcc-27fb79ad58913a5a6e7f65013c027bb13ad9b36b.zip gcc-27fb79ad58913a5a6e7f65013c027bb13ad9b36b.tar.gz gcc-27fb79ad58913a5a6e7f65013c027bb13ad9b36b.tar.bz2 |
timevar.def (TV_CPROP1, [...]): New timers.
* timevar.def (TV_CPROP1, TV_CPROP2, TV_PRE, TV_HOIST, TV_LSM):
New timers.
* gcse.c: Include timevar.h.
(const_prop_count, copy_prop_count): Rename to global_const_prop_count
and global_copy_prop_count.
(local_const_prop_count, local_copy_prop_count): New static globals.
(gcse_main): Set the right timevar for each pass.
(cprop_jump): Increment global_const_prop_count when a constant is
propagated. Add "GLOBAL" to dump output.
(cprop_insn): Increment global_const_prop_count when a constant is
propagated, or global_copy_prop_count when a copy is propagated.
(do_local_cprop): Likewise for local_const_prop_count and
local_copy_prop_count.
(one_cprop_pass): Initialize const/cprop counters to zero.
Print out results of local and global const/cprop separately.
(bypass_block): Break over-length line.
From-SVN: r85718
Diffstat (limited to 'gcc/timevar.def')
-rw-r--r-- | gcc/timevar.def | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/timevar.def b/gcc/timevar.def index fb09f06..e356710 100644 --- a/gcc/timevar.def +++ b/gcc/timevar.def @@ -98,8 +98,13 @@ DEFTIMEVAR (TV_EXPAND , "expand") DEFTIMEVAR (TV_VARCONST , "varconst") DEFTIMEVAR (TV_JUMP , "jump") DEFTIMEVAR (TV_CSE , "CSE") -DEFTIMEVAR (TV_GCSE , "global CSE") DEFTIMEVAR (TV_LOOP , "loop analysis") +DEFTIMEVAR (TV_GCSE , "global CSE") +DEFTIMEVAR (TV_CPROP1 , "CPROP 1") +DEFTIMEVAR (TV_PRE , "PRE") +DEFTIMEVAR (TV_HOIST , "code hoisting") +DEFTIMEVAR (TV_CPROP2 , "CPROP 2") +DEFTIMEVAR (TV_LSM , "LSM") DEFTIMEVAR (TV_BYPASS , "bypass jumps") DEFTIMEVAR (TV_TRACER , "tracer") DEFTIMEVAR (TV_WEB , "web") |