diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-06 19:29:01 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-06 19:29:01 +0000 |
commit | 4b5a4301e03317c1925f733c0395b03e8f16b03b (patch) | |
tree | 33762169b920df538a949d4040921754532aa165 /gcc/df-problems.c | |
parent | a8891ab12879a8d2f8421492c85a1b409144cea4 (diff) | |
download | gcc-4b5a4301e03317c1925f733c0395b03e8f16b03b.tar.gz |
* df-core.c (df_set_blocks): Use bitmap_head instead of bitmap.
(df_compact_blocks): Likewise.
* df.h (struct df): Turn hardware_regs_used,
regular_block_artificial_uses, eh_block_artificial_uses,
insns_to_delete, insns_to_rescan, insns_to_notes_rescan into
bitmap_head.
* df-problems.c (df_lr_local_compute, df_lr_confluence_0,
df_byte_lr_alloc, df_simulate_fixup_sets): Update.
* df-scan.c (df_scan_free_internal, df_scan_alloc, df_scan_start_dump,
df_scan_blocks, df_insn_delete, df_insn_rescan,
df_insn_rescan_debug_internal, df_insn_rescan_all,
df_process_deferred_rescans, df_process_deferred_rescans,
df_notes_rescan, df_get_call_refs, df_get_call_refs,
regs_invalidated_by_call_regset, df_get_call_refs, df_bb_refs_collect,
df_record_entry_block_defs, df_record_exit_block_uses,
df_update_exit_block_uses, df_bb_verify, df_entry_block_bitmap_verify,
df_scan_verify): Update.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@160348 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/df-problems.c')
-rw-r--r-- | gcc/df-problems.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/df-problems.c b/gcc/df-problems.c index d4921f50778..2c76d011c23 100644 --- a/gcc/df-problems.c +++ b/gcc/df-problems.c @@ -925,10 +925,10 @@ df_lr_local_compute (bitmap all_blocks ATTRIBUTE_UNUSED) unsigned int bb_index; bitmap_iterator bi; - bitmap_clear (df->hardware_regs_used); + bitmap_clear (&df->hardware_regs_used); /* The all-important stack pointer must always be live. */ - bitmap_set_bit (df->hardware_regs_used, STACK_POINTER_REGNUM); + bitmap_set_bit (&df->hardware_regs_used, STACK_POINTER_REGNUM); /* Before reload, there are a few registers that must be forced live everywhere -- which might not already be the case for @@ -937,20 +937,20 @@ df_lr_local_compute (bitmap all_blocks ATTRIBUTE_UNUSED) { /* Any reference to any pseudo before reload is a potential reference of the frame pointer. */ - bitmap_set_bit (df->hardware_regs_used, FRAME_POINTER_REGNUM); + bitmap_set_bit (&df->hardware_regs_used, FRAME_POINTER_REGNUM); #if FRAME_POINTER_REGNUM != ARG_POINTER_REGNUM /* Pseudos with argument area equivalences may require reloading via the argument pointer. */ if (fixed_regs[ARG_POINTER_REGNUM]) - bitmap_set_bit (df->hardware_regs_used, ARG_POINTER_REGNUM); + bitmap_set_bit (&df->hardware_regs_used, ARG_POINTER_REGNUM); #endif /* Any constant, or pseudo with constant equivalences, may require reloading from memory using the pic register. */ if ((unsigned) PIC_OFFSET_TABLE_REGNUM != INVALID_REGNUM && fixed_regs[PIC_OFFSET_TABLE_REGNUM]) - bitmap_set_bit (df->hardware_regs_used, PIC_OFFSET_TABLE_REGNUM); + bitmap_set_bit (&df->hardware_regs_used, PIC_OFFSET_TABLE_REGNUM); } EXECUTE_IF_SET_IN_BITMAP (df_lr->out_of_date_transfer_functions, 0, bb_index, bi) @@ -995,7 +995,7 @@ df_lr_confluence_0 (basic_block bb) { bitmap op1 = &df_lr_get_bb_info (bb->index)->out; if (bb != EXIT_BLOCK_PTR) - bitmap_copy (op1, df->hardware_regs_used); + bitmap_copy (op1, &df->hardware_regs_used); } @@ -1015,7 +1015,7 @@ df_lr_confluence_n (edge e) else bitmap_ior_into (op1, op2); - bitmap_ior_into (op1, df->hardware_regs_used); + bitmap_ior_into (op1, &df->hardware_regs_used); } @@ -2547,7 +2547,7 @@ df_byte_lr_alloc (bitmap all_blocks ATTRIBUTE_UNUSED) } df_byte_lr_expand_bitmap (&problem_data->hardware_regs_used, - df->hardware_regs_used); + &df->hardware_regs_used); df_byte_lr_expand_bitmap (&problem_data->invalidated_by_call, regs_invalidated_by_call_regset); @@ -3979,9 +3979,9 @@ df_simulate_fixup_sets (basic_block bb, bitmap live) /* These regs are considered always live so if they end up dying because of some def, we need to bring the back again. */ if (bb_has_eh_pred (bb)) - bitmap_ior_into (live, df->eh_block_artificial_uses); + bitmap_ior_into (live, &df->eh_block_artificial_uses); else - bitmap_ior_into (live, df->regular_block_artificial_uses); + bitmap_ior_into (live, &df->regular_block_artificial_uses); } |