Commit 42242005 by David Malcolm Committed by David Malcolm

Introduce TV_INITIALIZE_RTL

gcc/ChangeLog:
	* timevar.def (TV_INITIALIZE_RTL): New.
	* toplev.c (initialize_rtl): Use an auto_timevar to account this
	function's time to TV_INITIALIZE_RTL.

From-SVN: r223436
parent c819ed29
2015-05-20 David Malcolm <dmalcolm@redhat.com>
* timevar.def (TV_INITIALIZE_RTL): New.
* toplev.c (initialize_rtl): Use an auto_timevar to account this
function's time to TV_INITIALIZE_RTL.
2015-05-20 Ilya Enkovich <enkovich.gnu@gmail.com>
* tree-chkp.c (chkp_maybe_copy_and_register_bounds): Remove useless
......
......@@ -268,6 +268,7 @@ DEFTIMEVAR (TV_PLUGIN_RUN , "plugin execution")
DEFTIMEVAR (TV_GIMPLE_SLSR , "straight-line strength reduction")
DEFTIMEVAR (TV_VTABLE_VERIFICATION , "vtable verification")
DEFTIMEVAR (TV_TREE_UBSAN , "tree ubsan")
DEFTIMEVAR (TV_INITIALIZE_RTL , "initialize rtl")
/* Everything else in rest_of_compilation not included above. */
DEFTIMEVAR (TV_EARLY_LOCAL , "early local passes")
......
......@@ -1821,6 +1821,8 @@ static int rtl_initialized;
void
initialize_rtl (void)
{
auto_timevar tv (TV_INITIALIZE_RTL);
/* Initialization done just once per compilation, but delayed
till code generation. */
if (!rtl_initialized)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment