diff options
author | Jan Hubicka <jh@suse.cz> | 2005-06-16 12:33:40 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-06-16 10:33:40 +0000 |
commit | 5e2d947ce84b1a8baa2252c5ff04b9b3931b3893 (patch) | |
tree | 681bd279155de09165d78fad8c1bda0ae8a5495f /gcc/global.c | |
parent | 0adcdb66ecc4606e302524b98811d82fa555bc4b (diff) | |
download | gcc-5e2d947ce84b1a8baa2252c5ff04b9b3931b3893.zip gcc-5e2d947ce84b1a8baa2252c5ff04b9b3931b3893.tar.gz gcc-5e2d947ce84b1a8baa2252c5ff04b9b3931b3893.tar.bz2 |
basic-block.h (rtl_bb_info): Break out head_, end_, global_live_at_start, global_live_at_end from ...
* basic-block.h (rtl_bb_info): Break out head_, end_,
global_live_at_start, global_live_at_end from ...
(basic_block_def): ... here; update all references
(BB_RTL): New flag.
(init_rtl_bb_info): Declare.
* cfgexpand.c (expand_gimple_basic_block): Init bb info, set BB_RTL
flag.
* cfgrtl.c: Include ggc.h
(create_basic_block_structure): Init bb info.
(rtl_verify_flow_info_1): Check BB_RTL flag and rtl_bb_info pointer.
(init_rtl_bb_info): New function.
(rtl_merge_block, cfglayout_merge_block): Copy global_live_at_end here.
* cfghooks.c (merge_block): Do not copy global_live_at_end here.
* cfg.c (clear_bb_flags): Skip BB_RTL flag.
(dump_flow_info): Gueard global_live_* dumping.
From-SVN: r101082
Diffstat (limited to 'gcc/global.c')
-rw-r--r-- | gcc/global.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/global.c b/gcc/global.c index dea1fc5..8a04810 100644 --- a/gcc/global.c +++ b/gcc/global.c @@ -694,7 +694,7 @@ global_conflicts (void) be explicitly marked in basic_block_live_at_start. */ { - regset old = b->global_live_at_start; + regset old = b->il.rtl->global_live_at_start; int ax = 0; reg_set_iterator rsi; @@ -1726,7 +1726,7 @@ mark_elimination (int from, int to) FOR_EACH_BB (bb) { - regset r = bb->global_live_at_start; + regset r = bb->il.rtl->global_live_at_start; if (REGNO_REG_SET_P (r, from)) { CLEAR_REGNO_REG_SET (r, from); @@ -1816,7 +1816,7 @@ build_insn_chain (rtx first) CLEAR_REG_SET (live_relevant_regs); - EXECUTE_IF_SET_IN_BITMAP (b->global_live_at_start, 0, i, bi) + EXECUTE_IF_SET_IN_BITMAP (b->il.rtl->global_live_at_start, 0, i, bi) { if (i < FIRST_PSEUDO_REGISTER ? ! TEST_HARD_REG_BIT (eliminable_regset, i) @@ -2345,10 +2345,10 @@ calculate_reg_pav (void) if (pred->index != ENTRY_BLOCK) bitmap_ior_into (bb_live_pavin, BB_INFO (pred)->live_pavout); } - bitmap_and_into (bb_live_pavin, bb->global_live_at_start); + bitmap_and_into (bb_live_pavin, bb->il.rtl->global_live_at_start); bitmap_ior_and_compl (temp_bitmap, bb_info->avloc, bb_live_pavin, bb_info->killed); - bitmap_and_into (temp_bitmap, bb->global_live_at_end); + bitmap_and_into (temp_bitmap, bb->il.rtl->global_live_at_end); if (! bitmap_equal_p (temp_bitmap, bb_live_pavout)) { bitmap_copy (bb_live_pavout, temp_bitmap); @@ -2469,8 +2469,8 @@ make_accurate_live_analysis (void) { bb_info = BB_INFO (bb); - bitmap_and_into (bb->global_live_at_start, bb_info->live_pavin); - bitmap_and_into (bb->global_live_at_end, bb_info->live_pavout); + bitmap_and_into (bb->il.rtl->global_live_at_start, bb_info->live_pavin); + bitmap_and_into (bb->il.rtl->global_live_at_end, bb_info->live_pavout); } free_bb_info (); } |