Skip to content
Snippets Groups Projects
  1. May 18, 2006
  2. Jan 27, 2006
    • Daniel Berlin's avatar
      re PR rtl-optimization/24762 ([killloop-branch] code motion of non-invariant... · 912f2dac
      Daniel Berlin authored
      re PR rtl-optimization/24762 ([killloop-branch] code motion of non-invariant expressions with hard registers.)
      
      2006-01-27  Daniel Berlin  <dberlin@dberlin.org>
      	    Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	PR rtl-optimization/24762 
      	* doc/tm.texi: Added TARGET_EXTRA_LIVE_ON_ENTRY.
      	* targhooks.c (hook_void_bitmap): New hook prototype.
      	* targhoohs.h (hook_void_bitmap): Ditto.
      	* bitmap.h (bitmap_head_def): Moved to coretypes.h.
      	* coretypes.h (bitmap_head_def): Moved from bitmap.h.
      	* target.h (live_on_entry): New function pointer.
      	* df-scan.c (df_all_hard_regs): Removed.
      	(df_scan_dump, df_hard_reg_init): Removed df_all_hard_regs.
      	(df_scan_free_internal): Added df->entry_block_defs.
      	(df_scan_alloc): Ditto.
      	(df_scan_dump): Ditto.
      	(df_uses_record): Plumbed flag field properly thru calls.
      	Record EH_RETURN_DATA_REGNO in eh blocks unconditionally.
      	This part fixes PR24762.
      	(df_bb_refs_record): Added code to make the frame and arg
      	pointers live in EH blocks.
      	(df_refs_record): Added call to df_record_entry_block_defs.
      	(df_record_entry_block_defs): New function.
      	* df-core.c: Added comments to describe new artifical defs.
      	* df.h (DF_REF_DIES_AFTER_THIS_USE): New flag in enum df_ref_flags.
      	(entry_block_defs): New field in struct df.
      	(df_all_hard_regs): Deleted.
      	* target-def.h: Added TARGET_EXTRA_LIVE_ON_ENTRY.
      	* df-problems.c (df_ru_bb_local_compute_process_def):
      	Added code to handle artifical defs in the entry to a function.
      	(df_ru_bb_local_compute): Ditto.
      	(df_rd_bb_local_compute_process_def):  Ditto.
      	(df_rd_bb_local_compute): Ditto.
      	(df_lr_bb_local_compute): Ditto.
      	(df_ur_bb_local_compute): Ditto.
      	(df_urec_bb_local_compute):  Ditto.
      	(df_chain_create_bb):  Ditto.
      	(df_ur_local_finalize):	Removed entry.
      	(df_urec_init): Ditto.
      	(df_urec_local_finalize): Ditto.
      	(df_ri_bb_compute): Added detection of last use of pseudos.
      	* Makefile.in (df-scan.o): Updated dependencies.
      	* config/mips/mips-protos.h (mips_set_live_on_entry): Added.
      	* config/mips/mips.c (mips_set_live_on_entry): Added.
      	* config/mips/mips.c (TARGET_EXTRA_LIVE_ON_ENTRY): Added value
      	for target hook.
      	* dce.c (marked_insn_p): Added code to handle artifical defs.
      
      
      Co-Authored-By: default avatarKenneth Zadeck <zadeck@naturalbridge.com>
      
      From-SVN: r110312
      912f2dac
  3. Dec 29, 2005
    • Kenneth Zadeck's avatar
      bitmap.c (bitmap_element_free, [...]): Added code to properly maintain the... · 1bc40c7e
      Kenneth Zadeck authored
      bitmap.c (bitmap_element_free, [...]): Added code to properly maintain the variants associated with the CURRENT and...
      
      2005-12-29 Kenneth Zadeck <zadeck@naturalbridge.com>
      
      	* bitmap.c (bitmap_element_free, bitmap_element_link,
      	bitmap_elt_insert_after, bitmap_and, bitmap_and_compl,
      	bitmap_and_compl, bitmap_ior, bitmap_ior_into, bitmap_xor,
      	bitmap_xor_into): Added code to properly maintain the variants
      	associated with the CURRENT and HEAD fields.
      	(bitmap_popcount, bitmap_clear_range, bitmap_compl_and_into): New
      	functions. * bitmap.h: Added defs for bitmap_popcount,
      	bitmap_clear_range, and bitmap_compl_and_into.
      
      From-SVN: r109153
      1bc40c7e
  4. Jun 25, 2005
  5. May 12, 2005
  6. Feb 17, 2005
    • Nathan Sidwell's avatar
      bitmap.h (BITMAP_XMALLOC, [...]): Remove. · 8bdbfff5
      Nathan Sidwell authored
      	* bitmap.h (BITMAP_XMALLOC, BITMAP_XFREE): Remove.
      	* bb-reorder.c (duplicate_computed_gotos): Use BITMAP_ALLOC and
      	BITMAP_FREE.
      	* bt-load.c (btr_def_live_range, combine_btr_defs,
      	migrate_btr_def, migrate_btr_defs): Likewise.
      	* cfgcleanup.c (thread_jump): Likewise.
      	* cfgloop.c (get_loop_body_in_bfs_order): Likewise.
      	* df.c (df_insn_table_realloc, df_bitmaps_alloc, df_bitmaps_free,
      	df_alloc, df_free, df_du_chain_create, df_bb_rd_local_compute,
      	df_rd_local_compute, df_reg_info_compute): Likewise.
      	* dominance.c (init_dom_info, free_dom_info): Likewise.
      	* flow.c (init_propagate_block_info,
      	free_propagate_block_info): Likewise.
      	* gcse.c (alloc_gcse_mem, free_gcse_mem): Likewise.
      	* global.c (allocate_bb_info, free_bb_info, calculate_reg_pav,
      	modify_reg_pav): Likewise.
      	* loop-invariant.c (find_defs, find_invariant_insn,
      	find_invariants, free_inv_motion_data): Likewise.
      	* predict.c (tree_predict_by_opcode,
      	estimate_bb_frequencies): Likewise.
      	* stmt.c (expand_case): Likewise.
      	* tree-cfg.c (tree_duplicate_sese_region): Likewise.
      	* tree-dfa.c (mark_new_vars_to_rename): Likewise.
      	* tree-if-conv.c (get_loop_body_in_if_conv_order): Likewise.
      	* tree-into-ssa.c (insert_phi_nodes_for, def_blocks_free,
      	get_def_blocks_for, mark_def_site_blocks, rewrite_into_ssa,
      	rewrite_ssa_into_ssa): Likewise.
      	* tree-optimize.c (tree_rest_of_compilation): Likewise.
      	* tree-outof-ssa.c (new_temp_expr_table, free_temp_expr_table,
      	analyze_edges_for_bb, perform_edge_inserts): Likewise.
      	* tree-scalar-evolution.c (scev_initialize, scev_finalize): Likewise.
      	* tree-sra.c (tree_sra): Likewise.
      	* tree-ssa-alias.c (init_alias_info, delete_alias_info): Likewise.
      	* tree-ssa-ccp.c (ccp_fold_builtin): Likewise.
      	* tree-ssa-dce.c (tree_dce_init, tree_dce_done): Likewise.
      	* tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
      	* tree-ssa-dse.c (tree_ssa_dse): Likewise.
      	* tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_var):
      	Likewise.
      	* tree-ssa-live.c (new_tree_live_info, delete_tree_live_info,
      	calculate_live_on_entry, calculate_live_on_exit,
      	build_tree_conflict_graph): Likewise.
      	* tree-ssa-loop-ivopts.c (tree_ssa_iv_optimize_init, record_use,
      	record_important_candidates, set_use_iv_cost, find_depends,
      	determine_use_iv_costs, iv_ca_new, iv_ca_free, free_loop_data,
      	tree_ssa_iv_optimize_finalize): Likewise.
      	* tree-ssa-loop-manip.c (add_exit_phis_var, get_loops_exit,
      	find_uses_to_rename_use, rewrite_into_loop_closed_ssa,
      	tree_duplicate_loop_to_header_edge): Likewise.
      	* tree-ssa-pre.c (init_pre, fini_pre): Likewise.
      	* tree-ssa.c (verify_flow_insensitive_alias_info,
      	verify_name_tags, verify_ssa, init_tree_ssa,
      	delete_tree_ssa): Likewise.
      	* tree-ssanames.c (marked_ssa_names, init_ssanames,
      	fini_ssanames): Likewise.
      	* tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Likewise.
      
      From-SVN: r95172
      8bdbfff5
  7. Feb 15, 2005
    • Kazu Hirata's avatar
      bitmap.c, [...]: Update copyright. · 6a6305e4
      Kazu Hirata authored
      	* bitmap.c, bitmap.h, lambda-code.c, tree-dfa.c, tree-dump.c,
      	tree-dump.h, tree-ssa-loop-manip.c, value-prof.c,
      	config/mips/mips.md, config/rs6000/aix.h,
      	config/rs6000/beos.h, config/rs6000/sysv4.h: Update copyright.
      
      From-SVN: r95064
      6a6305e4
  8. Feb 14, 2005
  9. Nov 26, 2004
  10. Nov 25, 2004
    • Nathan Sidwell's avatar
      bitmap.c (bitmap_malloc_alloc, [...]): Remove. · 9f8e7478
      Nathan Sidwell authored
      	* bitmap.c (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
      	* bitmap.h (bitmap_malloc_alloc, bitmap_malloc_free): Remove.
      	(BITMAP_XMALLOC): Forward to BITMAP_OBSTACK_ALLOC.
      	(BITMAP_XFREE): Forward to BITMAP_OBSTACK_FREE.
      
      From-SVN: r91306
      9f8e7478
    • Nathan Sidwell's avatar
      basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust. · cc175e7c
      Nathan Sidwell authored
      	* basic-block.h (OBSTACK_ALLOC_REG_SET): Adjust.
      	(FREE_REG_SET): Adjust.
      	* bitmap.c (bitmap_obstack_free): Cope with NULL bitmap.
      	* bitmap.h (BITMAP_OBSTACK_ALLOC): Rename to ...
      	(BITMAP_ALLOC): ... here.
      	(BITMAP_OBSTACK_FREE): Rename to ...
      	(BITMAP_FREE): Don't check for NULL bitmap here.
      	* tree-ssa-pre.c (value_insert_into_set_bitmap,
      	bitmap_set_new): Use new names.
      
      From-SVN: r91281
      cc175e7c
  11. Nov 22, 2004
    • Nathan Sidwell's avatar
      bitmap.h (struct bitmap_obstack): New obstack type. · 7932a3db
      Nathan Sidwell authored
      	* bitmap.h (struct bitmap_obstack): New obstack type.
      	(struct bitmap_head_def): Replace using_obstack with obstack
      	pointer.
      	(bitmap_default_obstack): New.
      	(bitmap_initialize): Make inline, does not do allocation.
      	(bitmap_release_memory): Remove.
      	(bitmap_obstack_initialize, bitmap_obstack_release): Declare.
      	(bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
      	bitmap_obstack_free, bitmap_malloc_free): Declare.
      	(BITMAP_OBSTACK_ALLOC, BITMAP_GGC_ALLOC, BITMAP_XMALLOC): Adjust.
      	(BITMAP_FREE): Replace with ...
      	(BITMAP_OBSTACK_FREE): ... this.
      	(BITMAP_XFREE): Adjust.
      	(BITMAP_INIT_ONCE): Remove.
      	* bitmap.c (bitmap_obstack, bitmap_obstack_init, bitmap_free: Remove.
      	(bitmap_default_obstack): New.
      	(bitmap_elem_to_freelist): Adjust.
      	(bitmap_element_allocate): Adjust. Break initialization into ...
      	(bitmap_obstack_initialize): ... here.
      	(bitmap_release_memory): Replace with ...
      	(bitmap_obstack_release): ... this.
      	(bitmap_obstack_alloc, bitmap_malloc_alloc, bitmap_gc_alloc,
      	bitmap_obstack_free, bitmap_malloc_free): New.
      	(bitmap_ior_and_compl, bitmap_ior_and_compl_into): Use
      	bitmap_initialize.
      	(bitmap_initialize): Move to bitmap.h.
      	* gengtype.c (open_base_files): Add obstack.h to ifiles.
      	* Makefile.in (BASIC_BLOCK_H, REGS_H): Add obstack.h.
      	* basic-block.h (INIT_REG_SET): Allocate from reg_obstack.
      	(INITIALIZE_REG_SET): Remove.
      	(FREE_REG_SET): Use BITMAP_OBSTACK_FREE.
      	(INIT_ONCE_REG_SET, MAX_REGNO_REG_SET): Remove.
      	(flow_obstack): Do not declare.
      	(reg_obstack): Declare.
      	* regs.h: Include obstack.h.
      	* tree-optimize.c (tree_rest_of_compilation): Initialize and
      	release bitmap obstack here.
      	* bb-reorder.c: #include regs, not basic-block.
      	(fix_crossing_conditional_branches): Allocate regsets from
      	reg_obstack.
      	* bt-load.c: Do not inlude bitmap.h, sbitmap.h, basic-block.h or
      	obstack.h.
      	* caller-save.c: Include regs.h earlier.
      	* cfg.c: Do not include basic-block.h or obstack.h.
      	(reg_obstack): Define.
      	* cfganal.c: Include obstack.h
      	* cfgcleanyp.c: Do not include basic-block.h. Include regs.h
      	earlier.
      	* cfglayout.c: Do not include obstack.h.
      	(flow_obstack): Remove declaration.
      	(cfg_layout_duplicate_bb): Use reg_obstack.
      	* cfgloop.c, cfgloopanal.c, cfgloopmanip.c: Include obstack.h.
      	* cfgrtl.c (rtl_split_block): Use reg_obstack.
      	(force_nonfallthru_and_redirect, rtl_split_edge): Likewise.
      	(safe_insert_insn_on_edge): Use OBSTACK_ALLOC_REG_SET, adjust.
      	(cfg_layout_split_edge): Use reg_obstack.
      	* cse.c: Include regs.h earlier.
      	* ddg.c: Do not include basic-block.h.
      	* dominance.c: Inlude obstack.h.
      	* flow.c (update_life_info): Use OBSTACK_ALLOC_REG_SET, adjust.
      	(calculate_global_regs_live): Likewise.
      	(allocate_bb_life_data): Use reg_obstack.
      	(init_propagate_block_info): Use OBSTACK_ALLOC_REGSET.
      	* global.c: Do not include basic-block.h.
      	(build_insn_chain): Use OBSTACK_ALLOC_REG_SET, adjust.
      	* graph.c: Include obstack.h.
      	* haifa-sched.c: Do not include basic-block.h.
      	* ifcvt.c: Use OBSTACK_ALLOC_REG_SET, adjust.
      	* local-alloc.c: Do not include basic-block.h.
      	* loop-init.c, loop-invariant.c: Include obstack.h.
      	* loop-iv.c: Likewise.
      	(simplify_using_initial_values): Use OBSTACK_ALLOC_REG_SET,
      	adjust.
      	* loop-unroll.c, loop-unswitch.c: Inlude obstack.h.
      	* modulo-sched.c: Do not include basic-block.h.
      	* passes.c (rest_of_handle_final): Do not call
      	regset_release_memory.
      	* ra-debug.c: Include regs.h earlier. Do not include
      	basic-block.h.
      	* recog.c (peephole2_optimize): Use OBSTACK_ALLOC_REG_SET, adjust.
      	* regclass.c (init_reg_sets): Do not call INIT_ONCE_REG_SET.
      	(allocate_reg_info): Do not call MAX_REGNO_REG_SET.
      	(regset_release_memory): Remove.
      	* resource.c: Do not include basic-block.h.
      	* rtlanal.c: Do not include basic-block.h.
      	* sbitmap.c: Include obstack.h.
      	* sched-deps.c: Do not include basic-block.h.
      	(reg_pending_sets_head, reg_pending_clobbers_head,
      	reg_pending_uses_head): Remove.
      	(init_deps_global): Use OBSTACK_ALLOC_REG_SET.
      	* sched-ebb.c: Do not include basic-block.h.
      	* sched-rgn.c: Likewise.
      	* tree-if-conv.c (get_loop_body_in_if_conv_order): Use
      	BITMAP_XFREE.
      	* tree-outof-ssa.c (perform_edge_inserts): Use BITMAP_XFREE.
      	* tree-sra.c (decide_instantiations): Adjust bitmap
      	initialization.
      	* tree-ssa-dce.c: Include obstack.h.
      	* tree-ssa-pre.c (grand_bitmap_obstack): Make a bitmap_obstack.
      	(value_insert_into_set_bitmap): Remove useless bitmap_clear.
      	(bitmap_set_new): Likewise.
      	(init_pre): Initialize bitmap obstack.
      	(fini_pre): Release bitmap obstack.
      	* tree-ssanames.c (ssa_names_to_rewrite): Make static.
      	(marked_for_rewrite_p): ssa_names_to_rewrite is never NULL.
      	(mark_for_rewrite, unmark_for_rewrite): Likewise.
      	(marked_ssa_names): Likewise.
      	(init_ssanames): Use BITMAP_XMALLOC.
      	(fini_ssanames): Use BITMAP_XFREE.
      	* web.c: Include obstack.h
      
      From-SVN: r91009
      7932a3db
  12. Nov 13, 2004
  13. Nov 11, 2004
    • Nathan Sidwell's avatar
      bitmap.h (nBITMAP_WORD_BITS): Remove. · 65a6f342
      Nathan Sidwell authored
      	* bitmap.h (nBITMAP_WORD_BITS): Remove.
      	(BITMAP_WORD_BITS): Force unsigned by use of 1u.
      	(BITMAP_ELEMENT_WORDS, BITMAP_ELEMENT_ALL_BITS): Remove
      	unnecessary casts.
      	(bitmap_first_set_bit): Return unsigned, use ctzl.
      	(bitmap_last_set_bit): Remove.
      	* bitmap.c (bitmap_element_zerop, bitmap_copy): Make iterator
      	unsigned.
      	(bitmap_first_set_bit): Return unsigned, require non-empty bitmap,
      	remove special case code for two word elements.
      	(bitmap_last_set_bit): Remove.
      	* ra-build.c (livethrough_conflicts_bb): Replace unnecessary use of
      	bitmap_first_set_bit with bitmap_empty_p.
      	* tree-outof-ssa.c (analyze_edges_for_bb): Likewise.
      	* tree-ssa-pre.c (bitmap_print_value): Use simple flag rather than
      	bitmap_last_bit_set.
      
      From-SVN: r90478
      65a6f342
  14. Nov 05, 2004
    • Nathan Sidwell's avatar
      bitmap.h (enum bitmap_bits): Remove. · 88c4f655
      Nathan Sidwell authored
      	* bitmap.h (enum bitmap_bits): Remove.
      	(bitmap_operation): Remove.
      	(bitmap_and, bitmap_and_into, bitmap_and_compl,
      	bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor,
      	bitmap_xor_into): Prototype.
      	* bitmap.c (bitmap_elt_insert_after, bitmap_elt_clear_from): New.
      	(bitmap_operation): Remove.
      	(bitmap_and, bitmap_and_into, bitmap_and_compl,
      	bitmap_and_compl_into, bitmap_ior, bitmap_ior_into, bitmap_xor,
      	bitmap_xor_into): New.
      	(bitmap_ior_and_compl, bitmap_ior_and_compl_into): Adjust.
      
      From-SVN: r90121
      88c4f655
  15. Nov 04, 2004
    • Kazu Hirata's avatar
      bitmap.h: Fix a comment typo. · d46aed51
      Kazu Hirata authored
      	* bitmap.h: Fix a comment typo.  Follow spelling conventions.
      	* tree-vectorizer.c: Fix a comment typo.
      
      From-SVN: r90062
      d46aed51
    • Nathan Sidwell's avatar
      bitmap.h (bitmap_iterator): Remove word_bit and bit fields. · e90ea8cb
      Nathan Sidwell authored
      	* bitmap.h (bitmap_iterator): Remove word_bit and bit
      	fields. Rename others.
      	(bmp_iter_common_next_1, bmp_iter_single_next_1,
      	bmp_iter_single_init, bmp_iter_end_p, bmp_iter_single_next,
      	bmp_iter_and_not_next_1, bmp_iter_and_not_init,
      	bmp_iter_and_not_next, bmp_iter_and_next_1, bmp_iter_and_init,
      	bmp_iter_and_next): Remove.
      	(bmp_iter_set_init, bmp_iter_and_init, bmp_iter_and_compl_init,
      	bmp_iter_next, bmp_iter_set, bmp_iter_and, bmp_iter_and_compl):
      	New.
      	(EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_IN_BITMAP,
      	EXECUTE_IF_AND_COMPL_IN_BITMAP): Adjust.
      
      From-SVN: r90055
      e90ea8cb
    • Nathan Sidwell's avatar
      bitmap.h (bitmap_a_or_b, [...]): Remove. · 67299d91
      Nathan Sidwell authored
      	* bitmap.h (bitmap_a_or_b, bitmap_a_and_b): Remove.
      	* df.c (dataflow_set_a_op_b): Use bitmap_and, bitmap_ior,
      	bitmap_and_into, bitmap_ior_into as appropriate.
      	* except.c (remove_eh_handler):	Likewise.
      	* global.c (modify_bb_reg_pav, make_accurate_live_analysis): Likewise.
      	* tree-dfa.c (mark_new_vars_to_rename): Likewise.
      	* tree-ssa-alias.c (merge_pointed_to_info): Likewise.
      	* tree-ssa-live.h (live_merge_and_clear): Likewise.
      	* tree-ssa-loop-ivopts.c (find_best_candidate, try_add_cand_for):
      	Likewise.
      
      From-SVN: r90054
      67299d91
  16. Nov 03, 2004
  17. Nov 02, 2004
    • Nathan Sidwell's avatar
      bitmap.h (bitmap_and, [...]): Produce void. · 7ef7b345
      Nathan Sidwell authored
      	* bitmap.h (bitmap_and, bitmap_and_into, bitmap_and_compl,
      	bitmap_and_compl_into, bitmap_ior, bitmap_iot_into,
      	bitmap_ior_compl, bitmap_xor, bitmap_xor_into): Produce void.
      	(bitmap_ior_and_compl_into): Produce bool.
      	(bitmap_union_of_diff): Rename to ...
      	(bitmap_ior_and_compl): ... here. Produce bool.
      	* bitmap.c (bitmap_ior_and_compl_into): Return bool. Use
      	bitmap_operation directly.
      	(bitmap_union_of_diff): Rename to ...
      	(bitmap_ior_and_compl): ... here. Return bool, use
      	bitmap_operation directly.
      	* df.c (df_rd_transfer_function): Use bitmap_ior_and_compl.
      	(df_ru_transfer_function, df_lr_transfer_function): Likewise.
      	* global.c (modify_bb_reg_pav): Likewise.
      
      From-SVN: r89982
      7ef7b345
    • Nathan Sidwell's avatar
      bitmap.h (bitmap_equal_p): Return bool. · 55994078
      Nathan Sidwell authored
      	* bitmap.h (bitmap_equal_p): Return bool.
      	(bitmap_intersect_p, bitmap_intersect_compl_p): Declare.
      	* bitmap.c (bitmap_equal_p): Return bool. Compare directly.
      	(bitmap_intersect_p, bitmap_intersect_compl_p): New.
      	* flow.c (calculate_global_regs_live): Use bitmap_intersect_p and
      	bitmap_intersect_compl_p.
      	* ifcvt (dead_or_predicable): Likewise.
      
      From-SVN: r89981
      55994078
  18. Nov 01, 2004
    • Andrew Pinski's avatar
      re PR tree-optimization/18232 (../../gcc/gcc/tree-ssa-operands.c:1624:... · f759c75e
      Andrew Pinski authored
      re PR tree-optimization/18232 (../../gcc/gcc/tree-ssa-operands.c:1624: warning: 'bi$ptr2' is used uninitialized in this function)
      
      2004-11-01  Andrew Pinski  <pinskia@physics.uc.edu>
      
              PR bootstrap/18232
              * bitmap.h (bmp_iter_end_p): Take a const pointer instead of a struct.
              (EXECUTE_IF_SET_IN_BITMAP): Update call to bmp_iter_end_p.
              (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
              (EXECUTE_IF_AND_IN_BITMAP): Likewise.
      
      From-SVN: r89961
      f759c75e
  19. Oct 29, 2004
    • Nathan Sidwell's avatar
      bitmap.h (bitmap_empty_p): New. · eb59b8de
      Nathan Sidwell authored
      	* bitmap.h (bitmap_empty_p): New.
      	(bitmap_and, bitmap_and_into, bitmap_and_compl,
      	bitmap_and_compl_into, bitmap_ior, bitmap_ior_into,
      	bitmap_ior_compl, bitmap_xor, bitmap_xor_into): New bitmap
      	operation macros.
      	(bitmap_ior_and_compl): Rename to ...
      	(bitmap_ior_and_compl_into): ... here.
      	* bitmap.c (bitmap_equal_p): Use bitmap_xor.
      	(bitmap_ior_and_compl): Rename to ...
      	(bitmap_ior_and_compl_into): ... here. Adjust. Return changed
      	flag.
      	(bitmap_union_of_diff): Use renamed bitmap functions.
      	* basic-block.h (AND_REG_SET, AND_COMPL_REG_SET, IOR_REG_SET,
      	XOR_REG_SET, IOR_AND_COMPL_REG_SET): Likewise.
      	* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
      	* df.c (df_bb_rd_local_compute)
      	* flow.c (calculate_global_regs_live,
      	init_propagate_block_info): Likewise.
      	* ifcvt.c (find_if_case_1, find_if_case_2,
      	dead_or_predicable): Likewise.
      	* ra-build.c (union_web_part_roots, livethrough_conflicts_bb,
      	reset_conflicts, conflicts_between_webs): Likewise.
      	* ra-rewrite.c (reloads_to_loads, rewrite_program2,
      	detect_web_parts_to_rebuild): Likewise.
      	* sched-ebb.c (compute_jump_reg_dependencies): Likewise.
      	* tree-int-ssa.c (insert_phi_nodes_for, rewrite_into_ssa): Likewise.
      	* tree-sra.c (decide_instantiations): Likewise.
      	* tree-ssa-alias.c (create_name_tags,
      	merge_pointed_to_info): Likewise.
      	* tree-ssa-dom.c (tree_ssa_dominator_optimize): Likewise.
      	* tree-ssa-loop-im.c (move_computations): Likewise.
      	* tree-ssa-operands.c (get_call_expr_operands): Likewise.
      	* tree-ssa-pre.c (fini_pre): Likewise.
      	* tree-ssa.c (verify_flow_sensitive_alias_info): Likewise.
      	* tree-ssanames.c (any_marked_for_rewrite_p): Likewise.
      	* tree-vectorizer.c (vectorize_loops): Likewise.
      
      From-SVN: r89827
      eb59b8de
  20. Oct 15, 2004
    • Kazu Hirata's avatar
      bitmap.c, [...]: Update copyright. · f30278e8
      Kazu Hirata authored
      	* bitmap.c, bitmap.h, builtin-attrs.def, cfglayout.h,
      	collect2.h, conflict.c, coretypes.h, coverage.h, errors.h,
      	gcc.h, gcov-dump.c, gen-protos.c, gencheck.c, gencodes.c,
      	genconstants.c, gengenrtl.c, genmodes.c, genpeep.c,
      	gensupport.h, graph.h, gthr-gnat.c, gthr-gnat.h, gthr-posix.c,
      	gthr-posix.h, hard-reg-set.h, hwint.h, integrate.h, libgcc2.c,
      	lists.c, machmode.def, mips-tdump.c, opts.h, params.c,
      	predict.def, predict.h, protoize.c, reload.h, resource.h,
      	rtl-error.c, sbitmap.c, sbitmap.h, sreal.c, tlink.c,
      	tree-dump.h, tree-inline.h, unwind-dw2-fde.c, unwind-dw2.c,
      	unwind-sjlj.c, value-prof.h: Update copyright.
      
      From-SVN: r89097
      f30278e8
  21. Sep 28, 2004
  22. Sep 27, 2004
  23. Sep 26, 2004
    • Zdenek Dvorak's avatar
      bitmap.h (EXECUTE_IF_SET_IN_BITMAP, [...]): Changed to iterator style. · 87c476a2
      Zdenek Dvorak authored
      	* bitmap.h (EXECUTE_IF_SET_IN_BITMAP, EXECUTE_IF_AND_COMPL_IN_BITMAP,
      	EXECUTE_IF_AND_IN_BITMAP): Changed to iterator style.
      	(bitmap_iterator): New type.
      	(bmp_iter_common_next_1, bmp_iter_single_next_1, bmp_iter_single_init,
      	bmp_iter_end_p, bmp_iter_single_next, bmp_iter_and_not_next_1,
      	bmp_iter_and_not_init, bmp_iter_and_not_next, bmp_iter_and_next_1,
      	bmp_iter_and_init, bmp_iter_and_next): New functions.
      	* basic-block.h (EXECUTE_IF_SET_IN_REG_SET,
      	EXECUTE_IF_AND_COMPL_IN_REG_SET, EXECUTE_IF_AND_IN_REG_SET): Changed to
      	use iterator-style EXECUTE_IF_IN_BITMAP macros.
      	* bitmap.c (bitmap_print): Ditto.
      	* bt-load.c (clear_btr_from_live_range, add_btr_to_live_range,
      	btr_def_live_range): Ditto.
      	* cfganal.c (compute_dominance_frontiers_1) Ditto.
      	* cgraphunit.c (convert_UIDs_in_bitmap, cgraph_characterize_statics):
      	Ditto.
      	* ddg.c (build_inter_loop_deps): Ditto.
      	* df.c (FOR_EACH_BB_IN_BITMAP, df_bb_reg_info_compute, df_refs_update):
      	Ditto.
      	* except.c (remove_eh_handler): Ditto.
      	* flow.c (reg_set_to_hard_reg_set): Ditto.
      	* gcse.c (clear_modify_mem_tables): Ditto.
      	* global.c (build_insn_chain): Ditto.
      	* ifcvt.c (dead_or_predicable): Ditto.
      	* loop-invariant.c (get_inv_cost, set_move_mark, move_invariant_reg):
      	Ditto.
      	* ra-build.c (livethrough_conflicts_bb, conflicts_between_webs): Ditto.
      	* ra-rewrite.c (reloads_to_loads, rewrite_program2,
      	detect_web_parts_to_rebuild, delete_useless_defs, actual_spill): Ditto.
      	* tree-cfg.c (allocate_ssa_names, tree_duplicate_sese_region,
      	tree_purge_all_dead_eh_edges): Ditto.
      	* tree-into-ssa.c (compute_global_livein, insert_phi_nodes,
      	insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags,
      	rewrite_ssa_into_ssa): Ditto.
      	* tree-outof-ssa.c (find_replaceable_exprs): Ditto.
      	* tree-sra.c (scan_function, decide_instantiations, scalarize_parms):
      	Ditto.
      	* tree-ssa-alias.c (init_alias_info, compute_points_to_and_addr_escape,
      	compute_flow_sensitive_aliasing, maybe_create_global_var,
      	dump_points_to_info_for): Ditto.
      	* tree-ssa-dce.c (EXECUTE_IF_CONTROL_DEPENDENT): Ditto.
      	* tree-ssa-dse.c (dse_finalize_block): Ditto.
      	* tree-ssa-live.c (live_worklist, calculate_live_on_entry,
      	calculate_live_on_exit, build_tree_conflict_graph, dump_live_info):
      	Ditto.
      	* tree-ssa-loop-ivopts.c (find_induction_variables,
      	find_interesting_uses, add_old_ivs_candidates, alloc_use_cost_map,
      	determine_use_iv_costs, determine_set_costs, find_best_candidate,
      	set_cost_up_to, create_new_ivs, remove_unused_ivs, free_loop_data):
      	Ditto.
      	* tree-ssa-loop-manip.c (add_exit_phis_var, add_exit_phis): Ditto.
      	* tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops,
      	add_call_read_ops): Ditto.
      	* tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Ditto.
      
      From-SVN: r88145
      87c476a2
  24. Dec 21, 2003
    • Kazu Hirata's avatar
      alias.c: Fix comment formatting. · 6614fd40
      Kazu Hirata authored
      	* alias.c: Fix comment formatting.
      	* alloc-pool.c: Likewise.
      	* bitmap.c: Likewise.
      	* bitmap.h: Likewise.
      	* bt-load.c: Likewise.
      	* c-common.c: Likewise.
      	* c-common.h: Likewise.
      	* c-decl.c: Likewise.
      	* c-opts.c: Likewise.
      	* c-pretty-print.c: Likewise.
      	* caller-save.c: Likewise.
      	* cfghooks.h: Likewise.
      	* cgraph.c: Likewise.
      	* collect2.c: Likewise.
      	* cppfiles.c: Likewise.
      	* cpplib.h: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* final.c: Likewise.
      	* function.c: Likewise.
      	* gcov.c: Likewise.
      	* gcse.c: Likewise.
      	* genemit.c: Likewise.
      	* ggc.h: Likewise.
      	* haifa-sched.c: Likewise.
      	* ifcvt.c: Likewise.
      	* libgcc2.h: Likewise.
      	* loop.c: Likewise.
      	* predict.h: Likewise.
      	* unwind-libunwind.c: Likewise.
      	* varasm.c: Likewise.
      
      From-SVN: r74907
      6614fd40
  25. Jul 19, 2003
    • Kaveh R. Ghazi's avatar
      alias.c [...]: Remove unnecessary casts. · 703ad42b
      Kaveh R. Ghazi authored
      	* alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c
      	c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in
      	c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c
      	collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c
      	cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c
      	cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c
      	dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c
      	fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c
      	gcse.c genattr.c genattrtab.c genautomata.c genconditions.c
      	genemit.c genextract.c genoutput.c genrecog.c gensupport.c
      	ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c
      	integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c
      	loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c
      	postreload.c prefix.c print-tree.c protoize.c ra-build.c
      	ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c
      	regmove.c regrename.c reload.c reload1.c reorg.c resource.c
      	sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c
      	simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c
      	tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c
      	varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary
      	casts.
      
      From-SVN: r69587
      703ad42b
  26. Jun 29, 2003
    • Kazu Hirata's avatar
      alloc-pool.c: Fix comment formatting. · f9da5064
      Kazu Hirata authored
      	* alloc-pool.c: Fix comment formatting.
      	* bitmap.c: Likewise.
      	* bitmap.h: Likewise.
      	* bt-load.c: Likewise.
      	* builtins.c: Likewise.
      	* caller-save.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* collect2.c: Likewise.
      	* cse.c: Likewise.
      	* df.c: Likewise.
      	* diagnostic.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* expmed.c: Likewise.
      	* final.c: Likewise.
      	* flags.h: Likewise.
      	* fold-const.c: Likewise.
      	* gcc.c: Likewise.
      	* gcov-io.h: Likewise.
      	* gcov.c: Likewise.
      	* genattrtab.c: Likewise.
      	* genautomata.c: Likewise.
      	* libgcov.c: Likewise.
      	* mips-tfile.c: Likewise.
      	* optabs.c: Likewise.
      	* prefix.c: Likewise.
      	* rtlanal.c: Likewise.
      	* stmt.c: Likewise.
      	* stor-layout.c: Likewise.
      	* toplev.c: Likewise.
      	* varasm.c: Likewise.
      	* vmsdbgout.c: Likewise.
      
      From-SVN: r68672
      f9da5064
  27. Jun 15, 2003
    • Andreas Jaeger's avatar
      alloc-pool.c: Convert to ISO C90 prototypes. · 4682ae04
      Andreas Jaeger authored
      	* alloc-pool.c: Convert to ISO C90 prototypes.
      	* alloc-pool.h: Likewise.
      	* alias.c: Likewise.
      	* attribs.c: Likewise.
      	* bb-reorder.c: Likewise.
      	* bitmap.h: Likewise.
      	* bitmap.c: Likewise.
      	* builtins.c: Likewise.
      
      	* tree.h: Convert prototypes of attribs.c to ISO C90.
      	* basic-block.h: Convert prototypes of bb-reorder.c to ISO C90.
      	* rtl.h: Convert prototypes of alias.c and builtins.c to ISO C90.
      	* expr.h: Convert prototypes of builtins.c to ISO C90.
      
      From-SVN: r67975
      4682ae04
  28. Jan 25, 2003
  29. Jun 04, 2002
  30. May 26, 2002
    • Kazu Hirata's avatar
      alias.c: Fix formatting. · ca7fd9cd
      Kazu Hirata authored
      	* alias.c: Fix formatting.
      	* attribs.c: Likewise.
      	* bb-reorder.c: Likewise.
      	* bitmap.c: Likewise.
      	* bitmap.h: Likewise.
      	* builtins.c: Likewise.
      
      From-SVN: r53898
      ca7fd9cd
  31. Jan 18, 2002
    • Kazu Hirata's avatar
      bitmap.h: Fix comment formatting. · 3ef42a0c
      Kazu Hirata authored
      	* bitmap.h: Fix comment formatting.
      	* combine.c: Likewise.
      	* cppfiles.c: Likewise.
      	* c-pragma.h: Likewise.
      	* c-typeck.c: Likewise.
      	* df.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* function.c: Likewise.
      	* gcc.c: Likewise.
      	* genattrtab.c: Likewise.
      	* gthr-win32.h: Likewise.
      	* haifa-sched.c: Likewise.
      	* predict.c: Likewise.
      	* rtlanal.c: Likewise.
      	* rtl.h: Likewise.
      	* unwind-dw2-fde.h: Likewise.
      	* unwind-pe.h: Likewise.
      	* vmsdbgout.c: Likewise.
      
      From-SVN: r48987
      3ef42a0c
  32. Oct 11, 2001
    • Kazu Hirata's avatar
      calls.c: Fix formatting. · eebedaa5
      Kazu Hirata authored
      	* calls.c: Fix formatting.
      	* c-decl.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* combine.c: Likewise.
      	* cppfiles.c: Likewise.
      	* cpplib.c: Likewise.
      	* cppmacro.c: Likewise.
      	* crtstuff.c: Likewise.
      	* cse.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      	* gcse.c: Likewise.
      	* genattrtab.c: Likewise.
      	* ggc-page.c: Likewise.
      	* integrate.c: Likewise.
      	* libgcc2.c: Likewise.
      	* loop.c: Likewise.
      	* optabs.c: Likewise.
      	* profile.c: Likewise.
      	* protoize.c: Likewise.
      	* real.c: Likewise.
      	* recog.c: Likewise.
      	* reload1.c: Likewise.
      	* reload.c: Likewise.
      	* reorg.c: Likewise.
      	* resource.c: Likewise.
      	* sched-rgn.c: Likewise.
      	* sdbout.c: Likewise.
      	* stmt.c: Likewise.
      	* toplev.c: Likewise.
      	* varasm.c: Likewise.
      
      From-SVN: r46182
      eebedaa5
  33. Aug 22, 2001
    • Lars Brinkhoff's avatar
      Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      Lars Brinkhoff authored
      	* Makefile.in, alias.c, basic-block.h, bb-reorder.c, bitmap.c,
      	bitmap.h, builtin-types.def, builtins.c, builtins.def,
      	c-aux-info.c, c-common.c, c-common.def, c-common.h,
      	c-convert.c, c-decl.c, c-dump.c, c-dump.h, c-errors.c,
      	c-format.c, c-lang.c, c-lex.c, c-lex.h, c-parse.in,
      	c-pragma.c, c-pragma.h, c-semantics.c, c-tree.h, c-typeck.c,
      	caller-save.c, calls.c, collect2.c, collect2.h, combine.c,
      	conditions.h, config.gcc, configure.frag, configure.in,
      	conflict.c, convert.c, convert.h, cppspec.c, crtstuff.c,
      	cse.c, cselib.c, cselib.h, dbxout.c, dbxout.h, defaults.h,
      	dependence.c, df.c, df.h, diagnostic.c, diagnostic.h,
      	doloop.c, dominance.c, dwarf.h, dwarf2.h, dwarf2asm.c,
      	dwarf2asm.h, dwarf2out.c, dwarf2out.h, dwarfout.c,
      	emit-rtl.c, errors.c, errors.h, except.c, except.h,
      	exgettext, explow.c, expmed.c, expr.c, expr.h, final.c,
      	fixproto, flags.h, flow.c, fold-const.c, fp-test.c,
      	function.c, function.h, gbl-ctors.h, gcc.c, gcc.h, gcc.hlp,
      	gccspec.c, gcov-io.h, gcse.c, genattr.c, genattrtab.c,
      	gencheck.c, gencodes.c, genconfig.c, genemit.c,
      	genextract.c, genflags.c, gengenrtl.c, genmultilib,
      	genopinit.c, genoutput.c, genpeep.c, genrecog.c,
      	gensupport.c, gensupport.h, ggc-callbacks.c, ggc-common.c,
      	ggc-none.c, ggc-page.c, ggc-simple.c, ggc.h, global.c,
      	graph.c, graph.h, gthr-aix.h, gthr-dce.h, gthr-posix.h,
      	gthr-rtems.h, gthr-single.h, gthr-solaris.h, gthr-vxworks.h,
      	gthr-win32.h, gthr.h, haifa-sched.c, halfpic.c, halfpic.h,
      	hard-reg-set.h, hwint.h, ifcvt.c, input.h, insn-addr.h,
      	integrate.c, integrate.h, jump.c, lcm.c, libgcc2.c,
      	libgcc2.h, lists.c, local-alloc.c, loop.c, loop.h,
      	machmode.def, machmode.h, main.c, mbchar.c, mbchar.h,
      	mips-tdump.c, mips-tfile.c, mklibgcc.in, mkmap-flat.awk,
      	mkmap-symver.awk, optabs.c, output.h, params.c, params.def,
      	params.h, predict.c, predict.def, predict.h, prefix.c,
      	prefix.h, print-rtl.c, print-tree.c, profile.c, protoize.c,
      	read-rtl.c, real.c, real.h, recog.c, recog.h, reg-stack.c,
      	regclass.c, regmove.c, regrename.c, regs.h, reload.c,
      	reload.h, reload1.c, reorg.c, resource.c, resource.h, rtl.c,
      	rtl.def, rtl.h, rtlanal.c, sbitmap.c, sbitmap.h,
      	sched-deps.c, sched-ebb.c, sched-int.h, sched-rgn.c,
      	sched-vis.c, sdbout.c, sdbout.h, sibcall.c, simplify-rtx.c,
      	ssa-ccp.c, ssa-dce.c, ssa.c, ssa.h, stmt.c, stor-layout.c,
      	stringpool.c, system.h, timevar.c, timevar.def, timevar.h,
      	tlink.c, toplev.c, toplev.h, tree.c, tree.def, tree.h,
      	tsystem.h, unroll.c, unwind-dw2-fde.c, unwind-dw2-fde.h,
      	unwind-dw2.c, unwind-pe.h, unwind-sjlj.c, unwind.h,
      	unwind.inc, varasm.c, varray.c, varray.h, xcoffout.c,
      	xcoffout.h: replace "GNU CC" with "GCC".
      
      From-SVN: r45105
      1322177d
  34. Jul 11, 2001
  35. Jul 10, 2001
    • Jan van Male's avatar
      regmove.c (replace_in_call_usage): Fix warnings. · ae0ed63a
      Jan van Male authored
      2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
      	* regmove.c (replace_in_call_usage): Fix warnings.
      	* sched-deps.c (add_dependence): Fix warnings.
      	* simplify-rtx.c (simplify_subreg): Likewise.
      	Return NULL_RTX instead of NULL.
      
      	* reg-stack.c (emit_swap_insn): Eliminate warnings.
      	(subst_asm_stack_regs): Likewise.
      
      	* combine.c (num_sign_bit_copies): Cast bitwidth to int to avoid
      	warnings.
      
      	* dwarf2out.c (output_call_frame_info): Declare i as int.
      	(build_abbrev_table): Declare n_alloc as int.
      	(dwarf2out_finish): Initialize die.
      	* except.c: Declare sjlj_funcdef_number as unsigned.
      	(connect_post_landing_pads): Declare j as unsigned.
      	(convert_to_eh_region_ranges): Initialize call_site.
      	(output_function_exception_table): Initialize tt_format_size.
      	* expr.c (move_by_pieces_1): Initialize to1.
      	(store_constructor): Initialize minelt and maxelt.
      	* flow.c (mark_regs_live_at_end): Declare i as unsigned.
      	* function.c (instantiate_decls): Avoid signed/unsigned warning.
      
      	* c-decl.c (combine_parm_decls): Unused, remove.
      	* c-tree.h: Remove prototype for combine_parm_decls.
      
      	* reload.c (push_reload): Fix warning.
      	(regno_clobbered_p): Likewise.
      	* reload1.c (replace_pseudos_in_call_usage): Likewise.
      	(reload_combine): Likewise.
      
      	* bitmap.c: Rename bitmap_zero to bitmap_zero_bits to fix warnings.
      	* bitmap.h: Rename bitmap_zero to bitmap_zero_bits to fix
      	warnings.
      	* bitmap.c (bitmap_operation): Change user.
      	* bitmap.h (EXECUTE_IF_AND_COMPL_IN_BITMAP): Likewise.
      For cp/:
      2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
      
      	* call.c (build_op_delete_call): Initialize fn.
      	(convert_like_real): Delete conditional.
      	(joust): Initialize *w and *l.
      	* class.c: Add prototype for binfo_ctor_vtable.
      	(get_primary_binfo): Initialize result.
      	* init.c (build_java_class_ref): Initialize name.
      
      	* typeck.c (unary_complex_lvalue): Do not duplicate the
      	argument to modify, pre-, or post-increment when used as an
      	lvalue and when the argument has side-effects.
      
      For ch/:
      2001-07-10  Jan van Male  <jan.vanmale@fenk.wau.nl>
      
      	* ch-tree.h: Remove prototype for combine_parm_decls, unused
      	function.
      
      From-SVN: r43893
      ae0ed63a
Loading