diff options
Diffstat (limited to 'gcc/cfgexpand.c')
-rw-r--r-- | gcc/cfgexpand.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/cfgexpand.c b/gcc/cfgexpand.c index a76aeb2..771ed47 100644 --- a/gcc/cfgexpand.c +++ b/gcc/cfgexpand.c @@ -3764,7 +3764,9 @@ gimple_expand_cfg (void) edge e; unsigned i; + timevar_push (TV_OUT_OF_SSA); rewrite_out_of_ssa (&SA); + timevar_pop (TV_OUT_OF_SSA); SA.partition_to_pseudo = (rtx *)xcalloc (SA.map->num_partitions, sizeof (rtx)); @@ -3807,7 +3809,9 @@ gimple_expand_cfg (void) /* Expand the variables recorded during gimple lowering. */ + timevar_push (TV_VAR_EXPAND); expand_used_vars (); + timevar_pop (TV_VAR_EXPAND); /* Honor stack protection warnings. */ if (warn_stack_protect) @@ -3887,8 +3891,11 @@ gimple_expand_cfg (void) expand_debug_locations (); execute_free_datastructures (); + timevar_push (TV_OUT_OF_SSA); finish_out_of_ssa (&SA); + timevar_pop (TV_OUT_OF_SSA); + timevar_push (TV_POST_EXPAND); /* We are no longer in SSA form. */ cfun->gimple_df->in_ssa_p = false; @@ -3998,6 +4005,7 @@ gimple_expand_cfg (void) the common parent easily. */ set_block_levels (DECL_INITIAL (cfun->decl), 0); default_rtl_profile (); + timevar_pop (TV_POST_EXPAND); return 0; } |