diff options
author | Jan Hubicka <jh@suse.cz> | 2005-06-28 01:06:33 +0200 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2005-06-27 23:06:33 +0000 |
commit | 370369e1a7e0b3a217c016236374883e274f6a44 (patch) | |
tree | 8971e4e755934027002c5bc8895d3ab1088c2e5b /gcc/basic-block.h | |
parent | 4ebe7d9317b79fcd68fcec3e5cbdb502abe8152d (diff) | |
download | gcc-370369e1a7e0b3a217c016236374883e274f6a44.zip gcc-370369e1a7e0b3a217c016236374883e274f6a44.tar.gz gcc-370369e1a7e0b3a217c016236374883e274f6a44.tar.bz2 |
basic-block.h (basic_block_def): Kill rbi.
* basic-block.h (basic_block_def): Kill rbi.
(reorder_block_def): Kill; Remove next field (replaced by aux);
move other fields to ...
(rtl_bb_info): ... here.
* bb-reorder.c (find_traces, rotate_loop, find_traces_1_round,
copy_bb, connect_traces, add_labels_and_missing_jumps
fix_up_fall_thru_edges, fix_crossing_conditional_branches,
duplicate_computed_gotos, partition_hot_cold_basic-blocks):
Update to new fields.
* cfg.c (initialize_bb_rbi): Kill.
* cfglayout.c (record_effective_endpoints, fixup_reorder_chain,
fixup_fallthru_exit_predecessor, cfg_layout_duplicate_bb): Update.
* cfgrtl.c (cfg_layout_create_basic_block): Do not initialize rbi.
(try_redirect_by_replacing_jump): Update rbi references.
(cfg_layout_split_block): Likewise.
(cfg_layout_delete_block): Likewise.
(cfg_layout_merge_blocks): Likewise.
* function.c (thread_prologue_and_epilogue_insns): Likewise.
* passes.c (rest_of_handle_sms): Likewise.
* tracer.c (seen, tail_duplicate, layout_superblocks): Likewise.
From-SVN: r101359
Diffstat (limited to 'gcc/basic-block.h')
-rw-r--r-- | gcc/basic-block.h | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 28a7be6..46bd83d 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -233,9 +233,6 @@ struct basic_block_def GTY((chain_next ("%h.next_bb"), chain_prev ("%h.prev_bb") struct basic_block_def *prev_bb; struct basic_block_def *next_bb; - /* The data used by basic block copying and reordering functions. */ - struct reorder_block_def * rbi; - union basic_block_il_dependent { struct rtl_bb_info * GTY ((tag ("1"))) rtl; } GTY ((desc ("((%1.flags & BB_RTL) != 0)"))) il; @@ -273,25 +270,17 @@ struct rtl_bb_info GTY(()) /* The registers that are live on exit from this block. */ bitmap GTY ((skip (""))) global_live_at_end; -}; - -typedef struct basic_block_def *basic_block; - -/* Structure to hold information about the blocks during reordering and - copying. Needs to be put on a diet. */ -struct reorder_block_def GTY(()) -{ + /* In CFGlayout mode points to insn notes/jumptables to be placed just before + and after the block. */ rtx header; rtx footer; - basic_block next; - /* This field is used by the bb-reorder and tracer passes. */ int visited; }; -typedef struct reorder_block_def *reorder_block_def; +typedef struct basic_block_def *basic_block; #define BB_FREQ_MAX 10000 @@ -940,9 +929,6 @@ extern void reorder_basic_blocks (unsigned int); extern void duplicate_computed_gotos (void); extern void partition_hot_cold_basic_blocks (void); -/* In cfg.c */ -extern void initialize_bb_rbi (basic_block bb); - /* In dominance.c */ enum cdi_direction |