1. 22 Aug, 2005 1 commit
  2. 10 Aug, 2005 1 commit
    • bb-reorder.c (pass_duplicate_computed_gotos, [...]): Add dump. · defb77dc
      2005-08-09  Paolo Bonzini  <bonzini@gnu.org>
      
      	* bb-reorder.c (pass_duplicate_computed_gotos, pass_partition_blocks):
      	Add dump.
      	* cfglayout.c (pass_insn_locators_initialize): Add dump.
      	* emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes):
      	Add dump.
      	* except.c (pass_convert_to_eh_region_ranges): Add dump.
      	* final.c (pass_shorten_branches): Add dump.
      	* flow.c (pass_recompute_reg_usage, pass_remove_death_notes): Add dump.
      	(pass_life): Rename dump.
      	(rest_of_handle_flow2): Remove initial verify_flow_info.
      	* function.c (pass_instantiate_virtual_regs): Add dump.
      	* integrate.c (pass_initial_value_sets): Add dump.
      	* jump.c (pass_cleanup_barriers, pass_purge_lineno_notes): Add dump.
      	* loop-init.c (pass_rtl_loop_init, pass_rtl_loop_done): Rename dump.
      	(pass_rtl_move_loop_invariants, pass_rtl_unswitch, pass_rtl_doloop,
      	pass_rtl_unroll_and_peel_loops): Rename dump and add gate.
      	(gate_rtl_move_loop_invariants, gate_rtl_unswitch, gate_rtl_doloop,
      	gate_rtl_unrool_and_peel_loops): New.
      	(rtl_move_loop_invariants, rtl_unswitch, rtl_unrool_and_peel_loops,
      	rtl_doloop): Do not look at flags.
      	* mode-switching.c (pass_mode_switching): Add dump.
      	* recog.c (pass_split_all_insns, pass_split_for_shorten_branches,
      	pass_split_before_regstack): Add dump.
      	* regmove.c (pass_stack_adjustments): Add dump.
      	* tree-optimize.c (pass_fixup_cfg): Add dump.
      
      From-SVN: r102945
      Paolo Bonzini committed
  3. 19 Jul, 2005 1 commit
    • bt-load.c (link_btr_uses): Fix uninitialised warnings. · dfea6c85
      	* bt-load.c (link_btr_uses): Fix uninitialised warnings.
      	* cfganal.c (find_edge_index): Ditto.
      	* combine.c (combine_instructions): Ditto.
      	* ddg.c (create_scc): Ditto.
      	(find_successors): Ditto.
      	(find_predecessors): Ditto.
      	(find_nodes_on_paths): Ditto.
      	(longest_simple_path): Ditto.
      	* flow.c (update_life_info): Ditto.
      	(count_or_remove_death_notes): Ditto.
      	(clear_log_links): Ditto.
      	* modulo-sched.c (generate_reg_moves): Ditto.
      	(find_max_asap): Ditto.
      	(find_max_hv_min_mob): Ditto.
      	(find_max_dv_min_mob): Ditto.
      	* sbitmap.c (sbitmap_first_set_bit): Ditto.
      	* sched-rgn.c (extract_edgelst): Ditto.
      	* tree-into-ssa.c (prepare_names_to_update): Ditto.
      	(dump_update_ssa): Ditto.
      	(ssa_names_to_replace) Ditto.
      	(switch_virtuals_to_full_rewrite): Ditto.
      	(update_ssa): Ditto.
      	* tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto.
      
      From-SVN: r102151
      Ben Elliston committed
  4. 05 Jul, 2005 1 commit
    • Makefile.in: Adjust dependencies. · ef330312
      2005-07-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.in: Adjust dependencies.
      	* tree-pass.h: Add new passes and passes formerly in tree-optimize.c.
      	* basic-block.h (duplicate_computed_gotos): Remove, it is now static.
      	* alias.c (rest_of_handle_cfg, pass_cfg): New.
      	* bb-reorder.c (duplicate_computed_gotos): Make it static.
      	* cfgexpand.c (tree_expand_cfg): Add code formerly at the beginning of
      	rest_of_compilation.
      
      	* bb-reorder.c (gate_duplicate_computed_gotos,
      	pass_duplicate_computed_gotos, gate_handle_reorder_blocks,
      	rest_of_handle_reorder_blocks, pass_reorder_blocks,
      	gate_handle_partition_blocks, rest_of_handle_partition_blocks,
      	pass_partition_blocks): New.
      	* bt-load.c (gate_handle_branch_target_load_optimize,
      	rest_of_handle_branch_target_load_optimize,
      	pass_branch_target_load_optimize): New.
      	* cfgcleanup.c (rest_of_handle_jump, pass_jump, rest_of_handle_jump2,
      	pass_jump2): New.
      	* cfglayout.c (pass_insn_locators_initialize): New.
      	* cfgrtl.c (pass_free_cfg): New.
      	* combine.c (gate_handle_combine, rest_of_handle_combine,
      	pass_combine): New.
      	* cse.c (gate_handle_cse, rest_of_handle_cse, pass_cse,
      	gate_handle_cse2, rest_of_handle_cse2, pass_cse2): New.
      	* emit-rtl.c (pass_unshare_all_rtl, pass_remove_unnecessary_notes): New.
      	* except.c (pass_set_nothrow_function_flags,
      	pass_convert_to_eh_region_ranges, gate_handle_eh, rest_of_handle_eh,
      	pass_rtl_eh): New.
      	* final.c (pass_compute_alignments, rest_of_handle_final, pass_final,
      	rest_of_handle_shorten_branches, pass_shorten_branches,
      	rest_of_clean_state, pass_clean_state): New.
      	* flow.c (pass_recompute_reg_usage, gate_remove_death_notes,
      	rest_of_handle_remove_death_notes, pass_remove_death_notes,
      	rest_of_handle_life, pass_life, rest_of_handle_flow2,
      	pass_flow2): New.
      	* function.c (pass_instantiate_virtual_regs, pass_init_function,
      	rest_of_handle_check_leaf_regs, pass_leaf_regs): New.
      	* gcse.c (gate_handle_jump_bypass, rest_of_handle_jump_bypass,
      	pass_jump_bypass, gate_handle_gcse, rest_of_handle_gcse,
      	pass_gcse): New.
      	* global.c (rest_of_handle_global_alloc, pass_global_alloc): New.
      	* ifcvt.c (gate_handle_if_conversion, rest_of_handle_if_conversion,
      	pass_rtl_ifcvt, gate_handle_if_after_combine,
      	rest_of_handle_if_after_combine, pass_if_after_combine,
      	gate_handle_if_after_reload, rest_of_handle_if_after_reload,
      	pass_if_after_reload): New.
      	* integrate.c (pass_initial_value_sets): New.
      	* jump.c (pass_cleanup_barriers, purge_line_number_notes,
      	pass_purge_lineno_notes): New.
      	* mode-switching.c (rest_of_handle_mode_switching,
      	pass_mode_switching): New.
      	* local-alloc.c (rest_of_handle_local_alloc, pass_local_alloc): New.
      	* loop-init.c (gate_handle_loop2, rest_of_handle_loop2,
      	pass_loop2): New.
      	* loop.c (gate_handle_loop_optimize, rest_of_handle_loop_optimize,
      	pass_loop_optimize): New.
      	* modulo-sched.c (gate_handle_sms, rest_of_handle_sms,
      	pass_sms): New.
      	* postreload-gcse.c (gate_handle_gcse2, rest_of_handle_gcse2,
      	pass_gcse2): New.
      	* postreload.c (gate_handle_postreload, rest_of_handle_postreload,
      	pass_postreload_cse): New.
      	* profile.c (gate_handle_profiling, pass_profiling,
      	rest_of_handle_branch_prob, pass_branch_prob): New.
      	* recog.c (pass pass_split_for_shorten_branches, gate_do_final_split,
      	pass_split_before_regstack, gate_handle_split_before_regstack,
      	gate_handle_peephole2, rest_of_handle_peephole2, pass_peephole2,
      	rest_of_handle_split_all_insns, pass_split_all_insns): New.
      	* reg-stack.c (gate_handle_stack_regs, rest_of_handle_stack_regs,
      	pass_stack_regs): New.
      	* regmove.c (gate_handle_regmove, rest_of_handle_regmove, pass_regmove,
      	gate_handle_stack_adjustments, rest_of_handle_stack_adjustments,
      	pass_stack_adjustments): New.
      	* regrename.c (gate_handle_regrename, rest_of_handle_regrename,
      	pass_regrename): New.
      	* reorg.c (gate_handle_delay_slots, rest_of_handle_delay_slots,
      	pass_delay_slots, gate_handle_machine_reorg,
      	rest_of_handle_machine_reorg, pass_machine_reorg): New.
      	* rtl.h (extern void purge_line_number_notes): New.
      	* sched-rgn.c (gate_handle_sched, rest_of_handle_sched,
      	gate_handle_sched2, rest_of_handle_sched2, pass_sched,
      	pass_sched2): New.
      	* tracer.c (gate_handle_tracer, rest_of_handle_tracer,
      	pass_tracer): New.
      	* value-prof.c (gate_handle_value_profile_transformations,
      	rest_of_handle_value_profile_transformations,
      	pass_value_profile_transformations): New.
      	* var-tracking.c (gate_handle_var_tracking,
      	pass_variable_tracking): New.
      	* web.c (gate_handle_web, rest_of_handle_web, pass_web): New.
      
      	* passes.c (open_dump_file, close_dump_file, rest_of_handle_final,
      	rest_of_handle_delay_slots, rest_of_handle_stack_regs,
      	rest_of_handle_variable_tracking, rest_of_handle_machine_reorg,
      	rest_of_handle_old_regalloc, rest_of_handle_regrename,
      	rest_of_handle_reorder_blocks, rest_of_handle_partition_blocks,
      	rest_of_handle_sms, rest_of_handle_sched, rest_of_handle_sched2,
      	rest_of_handle_gcse2, rest_of_handle_regmove,
      	rest_of_handle_tracer, rest_of_handle_if_conversion,
      	rest_of_handle_if_after_combine, rest_of_handle_if_after_reload,
      	rest_of_handle_web, rest_of_handle_branch_prob,
      	rest_of_handle_value_profile_transformations, rest_of_handle_cfg,
      	rest_of_handle_jump_bypass, rest_of_handle_combine,
      	rest_of_handle_life, rest_of_handle_cse, rest_of_handle_cse2,
      	rest_of_handle_gcse, rest_of_handle_loop_optimize,
      	rest_of_handle_loop2, rest_of_handle_branch_target_load_optimize,
      	rest_of_handle_mode_switching, rest_of_handle_jump,
      	rest_of_handle_eh, rest_of_handle_stack_adjustments,
      	rest_of_handle_flow2, rest_of_handle_jump2,
      	rest_of_handle_peephole2, rest_of_handle_postreload,
      	rest_of_handle_shorten_branches, rest_of_clean_state,
      	rest_of_compilation): Remove.
      
      	* cgraphunit.c (ipa_passes): Moved from tree-optimize.c.
      	* passes.c (dump_flags, in_gimple_form, all_passes,
      	all_ipa_passes, all_lowering_passes, register_one_dump_file,
      	register_dump_files, next_pass_1, last_verified, execute_todo,
      	execute_one_pass, execute_pass_list, execute_ipa_pass_list): Moved
      	from tree-optimize.c.
      	(init_optimization_passes): Moved from tree-optimize.c,
      	adding the RTL optimizations.
      	* tree-dump.h (dump_info_p, dump_flag): Moved from tree.h.
      	* tree-optimize.c (dump_flags, in_gimple_form, all_passes,
      	all_ipa_passes, all_lowering_passes, register_one_dump_file,
      	register_dump_files, next_pass_1, last_verified, execute_todo,
      	execute_one_pass, execute_pass_list, execute_ipa_pass_list,
      	init_tree_optimization_passes, ipa_passes): Delete.
      	* tree-pass.h (enum tree_dump_index): Moved from tree.h, removing
      	the RTL dumps.
      	(TDF_*, get_dump_file_name, dump_enabled_p, dump_initialized_p,
      	dump_begin, dump_end, dump_node, dump_switch_p, dump_flag_name): Moved
      	from tree.h.
      	(ipa_passes): Remove.
      	(all_passes, all_ipa_passes, all_lowering_passes): Now extern.
      	* tree.h (enum tree_dump_index, TDF_*, get_dump_file_name,
      	dump_enabled_p, dump_initialized_p, dump_begin, dump_end, dump_node,
      	dump_switch_p, dump_flag_name): Moved to tree-pass.h.
      	(dump_info_p, dump_flag): Moved to tree-dump.h.
      
      	* Makefile.in: Adjust dependencies for tree-pretty-print.c,
      	cgraph.c, opts.c.
      	* passes.c (finish_optimization_passes): Use dump_begin
      	and dump_end, TDI_end.
      	(gate_rest_of_compilation): New.
      	(pass_rest_of_compilation): Use it.
      	(gate_postreload, pass_postreload): New.
      	* toplev.c (general_init): Rename init_tree_optimization_passes.
      	* toplev.h (init_tree_optimization_passes): Rename to
      	init_optimizations_passes.
      	* tree-dump.c (dump_flag): Make static.
      	(dump_files): Remove RTL dumps.
      	* tree-optimize.c (pass_all_optimizations, pass_early_local_passes,
      	pass_cleanup_cfg, pass_free_cfg_annotations,
      	pass_cleanup_cfg_post_optimizing, pass_free_datastructures,
      	pass_init_datastructures, pass_fixup_cfg): Make non-static.
      	* tree-pretty-print.c: Include tree-pass.h.
      	* cgraph.c: Include tree-dump.h.
      
      cp:
      2005-07-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.in (class.o, decl2.o): Adjust dependencies.
      	* class.c: Include tree-dump.h.
      	* decl2.c: Include tree-dump.h.
      
      java:
      2005-07-05  Paolo Bonzini  <bonzini@gnu.org>
      
      	* Makefile.in (parse.o): Adjust dependencies.
      	* parse.y: Include tree-dump.h.
      
      From-SVN: r101627
      Paolo Bonzini committed
  5. 25 Jun, 2005 1 commit
  6. 16 Jun, 2005 1 commit
    • basic-block.h (rtl_bb_info): Break out head_, end_, global_live_at_start,… · 5e2d947c
      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
      Jan Hubicka committed
  7. 07 Jun, 2005 1 commit
    • sbitmap.h (sbitmap_iterator, [...]): New. · b6e7e9af
      	* sbitmap.h (sbitmap_iterator, sbitmap_iter_init,
      	sbitmap_iter_cond, sbitmap_iter_next): New.
      	* bt-load.c, cfganal.c, combine.c, ddg.c, flow.c,
      	modulo-sched.c, sbitmap.c, sched-rgn.c, tree-into-ssa.c,
      	tree-outof-ssa.c, tree-ssa-alias.c, tree-ssa-live.c: Update
      	uses of EXECUTE_IF_SET_IN_SBITMAP to the new style.
      
      From-SVN: r100709
      Kazu Hirata committed
  8. 13 May, 2005 1 commit
  9. 22 Apr, 2005 1 commit
    • builtins.c (gimplify_va_arg_expr): Reword comments to avoid 'abort'. · 535a42b1
      	* builtins.c (gimplify_va_arg_expr): Reword comments to avoid
      	'abort'. Use gcc_assert and gcc_unreachable as appropriate.
      	* c-format.c (get_constant, decode_format_attr, get_flag_spec,
      	find_char_info_specifier_index,
      	find_length_info_modifier_index): Likewise.
      	* c-typeck.c (composite_type, pop_init_level): Likewise.
      	* combine.c (cant_combine_insn_p, try_combine): Likewise.
      	* cse.c (cse_insn): Likewise
      	* dominance.c (calc_dfs_tree): Likewise
      	dwarf2out.c (loc_descriptor_from_tree_1,
      	add_abstract_origin_attribute, force_decl_die,
      	force_type_die): Likewise
      	emit-rtl.c (operand_subword_force): Likewise
      	explow.c (hard_function_value): Likewise
      	expmed.c (store_bit_field, expand_divmod,
      	emit_store_flag_force): Likewise
      	expr.c (emit_move_multi_word, store_expr,
      	expand_expr_real_1): Likewise
      	final.c (this_is_asm_operands, shorten_branches, final_scan_insn,
      	output_operand): Likewise
      	flow.c (recompute_reg_usage): Likewise
      	* function.c (assign_stack_temp_for_type, assign_temp,
      	handle_epilogue_set): Likewise
      	* genextract.c (main): Likewise
      	* gimplify.c (mostly_copy_tree_r, gimplify_return_expr,
      	gimplify_modify_expr_rhs, gimplify_expr): Likewise
      	* haifa-sched.c (ready_lastpos, ready_remove_first, ready_element,
      	ready_remove, rm_line_notes, rm_other_notes,
      	schedule_block): Likewise
      	mips-tfile.c (copy_object, out_of_bounds): Likewise
      
      From-SVN: r98567
      Nathan Sidwell committed
  10. 15 Apr, 2005 1 commit
  11. 12 Apr, 2005 1 commit
    • Makefile.in: Add function.h to BASIC_BLOCK_H. · 997de8ed
      	* Makefile.in: Add function.h to BASIC_BLOCK_H.  Remove all
      	references to gt-tree-cfg.h.
      	* basic-block.h (struct basic_block_def): Don't skip rbi
      	for garbage collection.
      	(struct reorder_block_def): Make GTY-able.
      	(struct control_flow_graph): New structure.
      	(n_edges, n_basic_blocks, last_basic_block, basic_block_info,
      	BASIC_BLOCK, EXIT_BLOCK_PTR, ENTRY_BLOCK_PTR): No longer vars,
      	but instead defines to the control_flow_graph for cfun.
      	(label_to_block_map): New define, points to the label map of
      	the control_flow_graph for cfun.
      	(n_edges_for_function, n_basic_blocks_for_function,
      	last_basic_block_for_function, basic_block_info_for_function,
      	EXIT_BLOCK_PTR_FOR_FUNCTION, ENTRY_BLOCK_PTR_FOR_FUNCTION,
      	basic_block_info_for_function, label_to_block_map_for_function):
      	Counterparts for the above, taking a struct function as an extra
      	argument.
      	(alloc_rbi_pool, free_rbi_pool): Remove prototypes.
      	* cfg.c: (n_edges, n_basic_blocks, last_basic_block,
      	basic_block_info, ENTRY_BLOCK_PTR, EXIT_BLOCK_PTR): Remove.
      	(alloc_rbi_pool, free_rbi_pool): Remove.
      	(initialize_bb_rbi): Use ggc_alloc_cleared instead of pool_alloc.
      	* cfglayout.c: (cfg_layout_initialize): Don't allocate the rbi pool
      	here...
      	(cfg_layout_finalize) ... and don't free it here.
      	* cfgrtl.c (cfg_layout_delete_block): Zero out rbi so it gets
      	garbage collected.
      	* flow.c (free_basic_block_vars): Set label_to_block_map and
      	n_edges to zero too.
      	* function.h (struct function): Add cfg field.
      	* function.c (allocate_struct_function): Allocate the cfg.
      	* tree-cfg.c (label_to_block_map): Remove.
      	(build_tree_cfg): Don't allocate the rbi pool here...
      	(delete_tree_cfg_annotations): ...and don't free it here.
      	Also don't nullify label_to_block_map for cfun.
      
      Co-Authored-By: Jan Hubicka <jh@suse.cz>
      Co-Authored-By: Stuart Hastings <stuart@apple.com>
      
      From-SVN: r98048
      Steven Bosscher committed
  12. 08 Apr, 2005 1 commit
  13. 01 Apr, 2005 1 commit
    • cgraphunit.c, [...]: Fix comment typos. · aabcd309
      	* cgraphunit.c, dbxout.c, flow.c, gcse.c, gimplify.c,
      	lambda-code.c, loop.c, machmode.def, mips-tfile.c,
      	modulo-sched.c, passes.c, postreload-gcse.c, tree-eh.c,
      	tree-ssa-ccp.c, varasm.c, config/frv/frv.c, config/frv/frv.h,
      	config/frv/frv.md, config/i386/i386.c, config/i386/i386.h,
      	config/i386/i386.md, config/rs6000/predicates.md,
      	config/rs6000/rs6000.c, config/s390/fixdfdi.h,
      	config/s390/s390.c, config/stormy16/stormy16.c,
      	config/stormy16/stormy16.md, config/vax/vax.md: Fix comment
      	typos.
      
      From-SVN: r97362
      Kazu Hirata committed
  14. 11 Mar, 2005 1 commit
    • basic-block.h (single_succ_p, [...]): New inline functions. · c5cbcccf
      	* basic-block.h (single_succ_p, single_pred_p, single_succ_edge,
      	single_pred_edge, single_succ, single_pred): New inline functions.
      	* bb-reorder.c (rotate_loop, find_traces_1_round,
      	add_labels_and_missing_jumps, fix_up_fall_thru_edges,
      	duplicate_computed_gotos): Use the single_succ/pred functions.
      	* cfganal.c (forwarder_block_p): Ditto.
      	* cfgbuild.c (compute_outgoing_frequencies): Ditto.
      	* cfgcleanup.c (try_simplify_condjump, try_forward_edges,
      	outgoing_edges_match, try_crossjump_to_edge, try_optimize_cfg,
      	merge_seq_blocks): Ditto.
      	* cfghooks.c (split_edge, tidy_fallthru_edges): Ditto.
      	* cfglayout.c (fixup_reorder_chain): Ditto.
      	* cfgloop.c (mark_single_exit_loops, update_latch_info,
      	canonicalize_loop_headers, verify_loop_structure): Ditto.
      	* cfgloopmanip.c (remove_path, unloop, loop_delete_branch_edge,
      	mfb_update_loops, create_preheader, force_single_succ_latches,
      	create_loop_notes): Ditto.
      	* cfgrtl.c (rtl_can_merge_blocks, try_redirect_by_replacing_jump,
      	force_nonfallthru_and_redirect, rtl_tidy_fallthru_edge,
      	commit_one_edge_insertion, purge_dead_edges,
      	cfg_layout_can_merge_blocks_p): Ditto.
      	* except.c (sjlj_emit_function_enter): Ditto.
      	* flow.c (init_propagate_block_info): Ditto.
      	* function.c (thread_prologue_and_epilogue_insns): Ditto.
      	* gcse.c (find_implicit_sets, bypass_conditional_jumps,
      	insert_insn_end_bb): Ditto.
      	* ifcvt.c (merge_if_block, find_if_block, find_if_case_1,
      	find_if_case_2): Ditto.
      	* lambda-code.c (perfect_nestify): Ditto.
      	* lcm.c (optimize_mode_switching): Ditto.
      	* loop-doloop.c (doloop_modify): Ditto.
      	* loop-init.c (loop_optimizer_init): Ditto.
      	* loop-iv.c (simplify_using_initial_values): Ditto.
      	* loop-unroll.c (unroll_loop_runtime_iterations): Ditto.
      	* loop-unswitch.c (unswitch_loop): Ditto.
      	* modulo-sched.c (generate_prolog_epilog): Ditto.
      	* predict.c (combine_predictions_for_insn, estimate_probability,
      	tree_estimate_probability, last_basic_block_p,
      	estimate_bb_frequencies): Ditto.
      	* profile.c (branch_prob): Ditto.
      	* regrename.c (copyprop_hardreg_forward): Ditto.
      	* sched-rgn.c (is_cfg_nonregular, find_rgns, update_live): Ditto.
      	* tracer.c (layout_superblocks): Ditto.
      	* tree-cfg.c (tree_can_merge_blocks_p, tree_merge_blocks,
      	cfg_remove_useless_stmts_bb, cleanup_control_flow,
      	cleanup_control_expr_graph, disband_implicit_edges,
      	tree_find_edge_insert_loc, bsi_commit_edge_inserts,
      	tree_verify_flow_info, tree_make_forwarder_block,
      	tree_forwarder_block_p, remove_forwarder_block,
      	remove_forwarder_block_with_phi, merge_phi_nodes): Ditto.
      	* tree-if-conv.c (tree_if_conversion): Ditto.
      	* tree-mudflap.c (mf_build_check_statement_for): Ditto.
      	* tree-ssa-dce.c (remove_dead_stmt): Ditto.
      	* tree-ssa-dom.c (dom_opt_finalize_block): Ditto.
      	* tree-ssa-loop-ch.c (should_duplicate_loop_header_p,
      	copy_loop_headers): Ditto.
      	* tree-ssa-loop-im.c (loop_commit_inserts): Ditto.
      	* tree-ssa-loop-ivopts.c (compute_phi_arg_on_exit): Ditto.
      	* tree-ssa-loop-manip.c (split_loop_exit_edge, ip_normal_pos,
      	lv_adjust_loop_entry_edge, tree_ssa_loop_version): Ditto.
      	* tree-ssa-loop-niter.c (simplify_using_initial_conditions): Ditto.
      	* tree-ssa-loop-unswitch.c (simplify_using_entry_checks): Ditto.
      	* tree-ssa-phiopt.c (tree_ssa_phiopt, value_replacement): Ditto.
      	* tree-ssa-pre.c (compute_antic_aux, insert_aux, init_pre): Ditto.
      	* tree-ssa-threadupdate.c (redirect_edges): Ditto.
      	* tree-tailcall.c (independent_of_stmt_p, find_tail_calls,
      	eliminate_tail_call, tree_optimize_tail_calls_1): Ditto.
      	* tree-vect-analyze.c (vect_analyze_loop_form): Ditto.
      	* tree-vect-transform.c (vect_update_ivs_after_vectorizer): Ditto.
      	* tree-vectorizer.c (slpeel_update_phi_nodes_for_guard,
      	slpeel_add_loop_guard): Ditto.
      
      From-SVN: r96292
      Zdenek Dvorak committed
  15. 07 Mar, 2005 1 commit
  16. 21 Feb, 2005 1 commit
  17. 20 Feb, 2005 1 commit
    • re PR middle-end/19698 (Infinite loop in update_life_info) · a310245f
      	PR middle-end/19698
      	* function.h (struct function): New field `max_loop_depth'.
      	* cfgloop.c (establish_preds): Update maximum loop depth seen so far.
      	(flow_loops_find): Reset the max loop depth count before finding loops.
      	* flow.c (MAX_LIVENESS_ROUNDS): New constant.
      	(update_life_info_in_dirty_blocks): Remove 2002-05-28 workaround.
      	(calculate_global_regs_live): Make sure the loop will terminate
      	when the initial sets are not empty.
      
      From-SVN: r95299
      Steven Bosscher committed
  18. 17 Feb, 2005 1 commit
    • bitmap.h (BITMAP_XMALLOC, [...]): Remove. · 8bdbfff5
      	* 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
      Nathan Sidwell committed
  19. 15 Feb, 2005 1 commit
  20. 12 Feb, 2005 1 commit
  21. 24 Jan, 2005 1 commit
    • re PR middle-end/19551 (pure (complex types) function call removed as dead… · b77302be
      re PR middle-end/19551 (pure (complex types) function call removed as dead (LAPACK routine claic1.f bug))
      
      	* flow.c (propagate_one_insn): Formatting.
      
      	PR middle-end/19551
      	* flow.c (libcall_dead_p): Be more conservative if unsure.
      	If there are any instructions between insn and call, see if they are
      	all dead before saying the libcall is dead.
      
      	* gcc.c-torture/execute/20050121-1.c: New test.
      	* gcc.dg/20050121-2.c: New test.
      
      From-SVN: r94145
      Jakub Jelinek committed
  22. 23 Jan, 2005 1 commit
  23. 18 Jan, 2005 1 commit
    • basic-block.h, [...]: Update copyright. · ad616de1
      	* basic-block.h, c-common.c, c-cppbuiltin.c, c-lang.c,
      	c-tree.h, cfgbuild.c, cgraph.c, cgraph.h, collect2.c,
      	combine.c, config.gcc, coverage.h, cse.c, cselib.c,
      	defaults.h, df.c, dwarf2asm.c, dwarf2out.c, explow.c, expr.c,
      	flow.c, fold-const.c, gcse.c, ggc-page.c, gimple-low.c,
      	gimplify.c, ifcvt.c, langhooks-def.h, lcm.c, optabs.h,
      	output.h, postreload-gcse.c, postreload.c, recog.c,
      	resource.c, rtl.def, rtlanal.c, sched-deps.c, sched-rgn.c,
      	targhooks.h, toplev.c, tree-data-ref.c, tree-eh.c,
      	tree-flow.h, tree-loop-linear.c, tree-mudflap.h, tree-nrv.c,
      	tree-optimize.c, tree-outof-ssa.c, tree-pass.h,
      	tree-scalar-evolution.c, tree-ssa-copy.c, tree-ssa-dce.c,
      	tree-ssa-dse.c, tree-ssa-loop-ivopts.c, tree-ssa-operands.c,
      	tree-ssa-pre.c, tree-ssa.c, tree-vectorizer.c, tree.def,
      	unwind-dw2-fde-darwin.c, var-tracking.c: Update copyright.
      
      From-SVN: r93827
      Kazu Hirata committed
  24. 05 Jan, 2005 1 commit
    • combine.c (expand_compound_operation): Add comment that we fall through after case. · 46d096a3
      	* combine.c (expand_compound_operation)  <ZERO_EXTRACT>: Add
      	comment that we fall through after case.
      	(mark_used_regs_combine): Don't expect a SIGN_EXTRACT in a SET_DEST.
      	(distribute_links): Likewise.
      	* cse.c (cse_insn): Likewise.
      	* cselib.c (cselib_invalidate_mem): Likewise.
      	* df.c: Update comments at the top of the file.
      	(read_modify_subreg_p): Update comments here too.
      	(df_def_record_1): Don't expect a SIGN_EXTRACT in a SET_DEST.
      	* flow.c (mark_set_1): Likewise.
      	(mark_used_regs): Likewise.
      	* gcse.c (mems_conflict_for_gcse_p): Likewise.
      	(canon_list_insert): Likewise.
      	(mark_set): Likewise.
      	(try_replace_reg): Likewise.
      	(store_killed_in_insn): Likewise.
      	* loop.c (count_one_set): Likewise.
      	(basic_induction_var): Likewise.
      	* postreload-gcse.c (find_mem_conflicts): Likewise.
      	* postreload.c (reload_combine_note_store): Likewise.
      	(move2add_note_store): Likewise.
      	* reload.c (find_equiv_reg): Likewise.
      	(mark_referenced_resources): Likewise.
      	* rtlanal.c (set_noop_p): Likewise.
      	(note_stores): Likewise.
      	(note_uses): Likewise.
      	* sched-deps.c (sched_analyze_1): Likewise.
      	* sched-rgn.c (check_live_1): Likewise.
      	(update_live_1): Likewise.
      	* config/i860/i860.c: Likewise.
      
      	* rtl.dec (SIGN_EXTRACT): Document that this cannot appear as
      	an lvalue.
      	(ZERO_EXTRACT): Mention that this one can be an lvalue.
      
      	* doc/rtl.texi: Update documentation for bit-fields and SET.
      
      From-SVN: r92974
      Steven Bosscher committed
  25. 25 Nov, 2004 1 commit
    • basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ... · 04389919
      	* basic-block.h (OBSTACK_ALLOC_REG_SET): Rename to ...
      	(ALLOC_REG_SET): ... here.
      	(FREE_REG_SET): Adjust.
      	(XMALLOC_REG_SET, XFREE_REG_SET): Remove.
      	* bb-reorder.c (fix_crossing_conditional_branches): Adjust.
      	* cfglayout.c (cfg_layout_duplicate_bb): Adjust.
      	* cfgrtl.c (rtl_split_block, rtl_split_edge,
      	safe_insert_insn_on_edge, cfg_layout_split_edge): Adjust.
      	* flow.c (update_life_info, calculate_global_regs_live,
      	allocate_bb_life_data, init_propagate_block_info): Adjust.
      	* global.c (build_insn_chain): Adjust.
      	* ifcvt.c (dead_or_predicable): Adjust.
      	* loop-iv.c (simplify_using_initial_values): Adjust.
      	* recog.c (peephole2_optimize): Adjust.
      	* sched-deps.c (init_deps_global): Adjust.
      
      From-SVN: r91279
      Nathan Sidwell committed
  26. 22 Nov, 2004 1 commit
    • bitmap.h (struct bitmap_obstack): New obstack type. · 7932a3db
      	* 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
      Nathan Sidwell committed
  27. 13 Nov, 2004 1 commit
    • cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and HARD_REGISTER_NUM_P. · d67fb775
      	* cse.c (CHEAP_REGNO): Redefine using REGNO_PTR_FRAME_P and
      	HARD_REGISTER_NUM_P.
      
      	* cselib.c (new_cselib_val): Make comment correct and more detailed.
      	* flow.c (mark_set_1): Likewise.
      
      	* except.c (duplicate_eh_region_1, duplicate_eh_region_2,
      	duplicate_eh_regions): Remove.
      	* except.h (duplicate_eh_regions): Remove prototype.
      	* integrate.c (get_label_from_map, copy_rtx_and_substitute,
      	global_const_equiv_varray): Remove.
      	* integrate.h (get_label_from_map, copy_rtx_and_substitute,
      	global_const_equiv_varray, set_label_in_map): Remove prototypes,
      	extern declaration, and #define.
      	(MAYBE_EXTEND_CONST_EQUIV_VARRAY, SET_CONST_EQUIV_DATA): Remove.
      	(struct inline_remap): Remove.
      	* varray.c (struct element): Remove entry for const_equiv_data.
      	* varray.h (struct const_equiv_data): Remove.
      	(enum varray_data_enum) <VARRAY_DATA_CONST_EQUIV>: Remove.
      	(union varray_data_tag) <const_equiv>: Remove.
      	(VARRAY_CONST_EQUIV_INIT, VARRAY_CONST_EQUIV,
      	VARRAY_PUSH_CONST_EQUIV, VARRAY_TOP_CONST_EQUIV): Remove.
      
      	* regstack.c (record_label_references): Remove unused function.
      
      	* rtl.def (VALUE): Update comment.
      	(LABEL_REF): Remove unused operand 2.
      	* rtl.h (struct rtx_def): Update for removed accessor macros.
      	(XCADVFLAGS, INSN_DEAD_CODE_P, LINE_NUMBER, CONTAINING_INSN,
      	REG_LOOP_TEST_P): Remove.
      	(ADDR_DIFF_VEC_FLAGS, CSELIB_VAL_PTR, LABEL_NEXTREF): Add comments.
      	* web.c (entry_register): Don't copy REG_LOOP_TEST_P.
      	* doc/rtl.texi (INSN_DEAD_CODE_P, REG_LOOP_TEST_P): Remove.
      
      From-SVN: r90580
      Steven Bosscher committed
  28. 10 Nov, 2004 1 commit
    • basic-block.h (XMALLOC_REG_SET, [...]): New. · dda49b66
      	* basic-block.h (XMALLOC_REG_SET, XFREE_REG_SET): New.
      	(struct basic_block_def): Remove local_set and cond_local_set
      	fields.  Update comment for global_live_at_start.
      	* flow.c (calculate_global_regs_live): Allocate local_sets and
      	cond_local_sets here as arrays of bitmaps previously stored in
      	bb->local_set and bb->cond_local_set.  Use xmalloc instead of
      	obstack allocated bitmaps.
      
      From-SVN: r90390
      Steven Bosscher committed
  29. 08 Nov, 2004 1 commit
  30. 04 Nov, 2004 2 commits
    • flow.c (init_propagate_block_info): Change the type of i to unsigned. · db20bd62
      2004-11-04  Andrew Pinski  <pinskia@physics.uc.edu>
      
              * flow.c (init_propagate_block_info): Change the type of i to
              unsigned.
      
      From-SVN: r90080
      Andrew Pinski committed
    • bitmap.c (bitmap_print): Make bitno unsigned. · 3cd8c58a
      	* bitmap.c (bitmap_print): Make bitno unsigned.
      	* bt-load.c (clear_btr_from_live_range,
      	btr_def_live_range): Likewise.
      	* caller-save.c (save_call_clobbered_regs): Likewise.
      	* cfganal.c (compute_dominance_frontiers_1): Likewise.
      	* cfgcleanup.c (thread_jump): Likewise.
      	* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
      	* conflict.c (conflict_graph_compute): Likewise.
      	* ddg.c (add_deps_for_use): Likewise.
      	* df.c (df_refs_update): Likewise.
      	* except.c (remove_eh_handler): Likewise.
      	* flow.c (verify_local_live_at_start, update_life_info,
      	initialize_uninitialized_subregs, propagate_one_insn,
      	free_propagate_block_info, propagate_block, find_use_as_address,
      	reg_set_to_hard_reg_set): Likewise.
      	* gcse.c (clear_modify_mem_tables): Likewise.
      	* global.c (global_conflicts, build_insn_chain): Likewise.
      	* ifcvt.c (dead_or_predicable): Likewise.
      	* local-alloc.c (update_equiv_regs): Likewise.
      	* loop.c (load_mems): Likewise.
      	* ra-build.c (livethrough_conflicts_bb, conflicts_between_webs):
      	Likewise.
      	* ra-rewrite.c (reloads_to_loads, rewrite_program2, actual_spill):
      	Likewise.
      	* reload1.c (order_regs_for_reload, finish_spills): Likewise.
      	* sched-deps.c (sched_analyze_insn, free_deps): Likewise.
      	* sched-rgn.c (propagate_deps
      	* tree-cfg.c (tree_purge_all_dead_eh_edges): Likewise.
      	* tree-dfa.c (dump_dfa_stats
      	tree-into-ssa.c (compute_global_livein, insert_phi_nodes,
      	insert_phi_nodes_for, debug_def_blocks_r, invalidate_name_tags):
      	Likewise.
      	* tree-outof-ssa.c (coalesce_ssa_name, coalesce_vars,
      	free_temp_expr_table, find_replaceable_exprs): Likewise.
      	* tree-sra.c (scan_function, scalarize_parms): Likewise.
      	* tree-ssa-alias.c (init_alias_info,
      	compute_points_to_and_addr_escape,
      	compute_flow_sensitive_aliasing, maybe_create_global_var): Likewise.
      	* tree-ssa-dce.c (mark_control_dependent_edges_necessary): Likewise.
      	* tree-ssa-live.c (new_tree_live_info, live_worklist,
      	calculate_live_on_entry, calculate_live_on_exit, compare_pairs,
      	sort_coalesce_list, build_tree_conflict_graph, dump_live_info
      	tree-ssa-loop-manip.c (add_exit_phis_var): Likewise.
      	tree-ssa-operands.c (get_asm_expr_operands, add_call_clobber_ops,
      	add_call_read_ops): Likewise.
      	* tree-ssa-pre.c (bitmap_print_value_set, insert_aux): Likewise.
      	* tree-ssa-live.h (num_var_partitions): Return unsigned.
      
      From-SVN: r90053
      Nathan Sidwell committed
  31. 02 Nov, 2004 2 commits
  32. 29 Oct, 2004 1 commit
    • bitmap.h (bitmap_empty_p): New. · eb59b8de
      	* 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
      Nathan Sidwell committed
  33. 18 Oct, 2004 1 commit
    • basic-block.h (reg_set_iterator): New. · a2041967
      	* basic-block.h (reg_set_iterator): New.
      	(EXECUTE_IF_SET_IN_REG_SET): Make it iterator style.
      	(EXECUTE_IF_AND_COMPL_IN_REG_SET): Likewise.
      	(EXECUTE_IF_AND_IN_REG_SET): Likewise.
      	* caller-save.c (save_call_clobbered_regs): Adjust to the new
      	style.
      	* cfgcleanup.c (thread_jump): Likewise.
      	* cfgrtl.c (safe_insert_insn_on_edge): Likewise.
      	* conflict.c (conflict_graph_compute): Likewise.
      	* flow.c (verify_local_live_at_start, update_life_info,
      	initialize_uninitialized_subregs, propagate_one_insn,
      	init_propagate_block_info, free_propagate_block_info,
      	propagate_block, dump_regset): Likewise.
      	* global.c (global_conflicts): Likewise.
      	* graph.c (start_bb): Likewise.
      	* local-alloc.c (update_equiv_regs): Likewise.
      	* loop.c (load_mems): Likewise.
      	* reload1.c (compute_use_by_pseudos, order_regs_for_reload,
      	find_reg, finish_spills): Likewise.
      	* resource.c (mark_target_live_regs): Likewise.
      	* sched-deps.c (sched_analyze_insn): Likewise.
      	* sched-rgn.c (sched-rgn.c): Likewise.
      	* config/frv/frv.c (frv_ifcvt_modify_tests): Likewise.
      
      From-SVN: r89226
      Kazu Hirata committed
  34. 28 Sep, 2004 1 commit
    • backport: basic-block.h: Include vec.h, errors.h. · 628f6a4e
      2004-09-24  Ben Elliston  <bje@au.ibm.com>
      	    Steven Bosscher  <stevenb@suse.de>
      	    Andrew Pinski  <pinskia@physics.uc.edu>
      
      	Merge from edge-vector-branch:
      	* basic-block.h: Include vec.h, errors.h. Instantiate a VEC(edge).
      	(struct edge_def): Remove pred_next, succ_next members.
      	(struct basic_block_def): Remove pred, succ members.  Add preds
      	and succs members of type VEC(edge).
      	(FALLTHRU_EDGE): Redefine using EDGE_SUCC.
      	(BRANCH_EDGE): Likewise.
      	(EDGE_CRITICAL_P): Redefine using EDGE_COUNT.
      	(EDGE_COUNT, EDGE_I, EDGE_PRED, EDGE_SUCC): New.
      	(edge_iterator): New.
      	(ei_start, ei_last, ei_end_p, ei_one_before_end_p): New.
      	(ei_next, ei_prev, ei_edge, ei_safe_edge): Likewise.
      	(FOR_EACH_EDGE): New.
      	* bb-reorder.c (find_traces): Use FOR_EACH_EDGE and EDGE_* macros
      	where applicable.
      	(rotate_loop): Likewise.
      	(find_traces_1_route): Likewise.
      	(bb_to_key): Likewise.
      	(connect_traces): Likewise.
      	(copy_bb_p): Likewise.
      	(find_rarely_executed_basic_blocks_and_crossing_edges): Likewise.
      	(add_labels_and_missing_jumps): Likewise.
      	(fix_up_fall_thru_edges): Likewise.
      	(find_jump_block): Likewise.
      	(fix_crossing_conditional_branches): Likewise.
      	(fix_crossing_unconditional_branches): Likewise.
      	(add_reg_crossing_jump_notes): Likewise.
      	* bt-load.c (augment_live_range): Likewise.
      	* cfg.c (clear_edges): Likewise.
      	(unchecked_make_edge): Likewise.
      	(cached_make_edge): Likewise.
      	(make_single_succ_edge): Likewise.
      	(remove_edge): Likewise.
      	(redirect_edge_succ_nodup): Likewise.
      	(check_bb_profile): Likewise.
      	(dump_flow_info): Likewise.
      	(alloc_aux_for_edges): Likewise.
      	(clear_aux_for_edges): Likewise.
      	(dump_cfg_bb_info): Likewise.
      	* cfganal.c (forwarder_block_p): Likewise.
      	(can_fallthru): Likewise.
      	(could_fall_through): Likewise.
      	(mark_dfs_back_edges): Likewise.
      	(set_edge_can_fallthru_flag): Likewise.
      	(find_unreachable_blocks): Likewise.
      	(create_edge_list): Likewise.
      	(verify_edge_list): Likewise.
      	(add_noreturn_fake_exit_edges): Likewise.
      	(connect_infinite_loops_to_exit): Likewise.
      	(flow_reverse_top_sort_order_compute): Likewise.
      	(flow_depth_first_order_compute): Likewise.
      	(flow_preorder_transversal_compute): Likewise.
      	(flow_dfs_compute_reverse_execute): Likewise.
      	(dfs_enumerate_from): Likewise.
      	(compute_dominance_frontiers_1): Likewise.
      	* cfgbuild.c (make_edges): Likewise.
      	(compute_outgoing_frequencies): Likewise.
      	(find_many_sub_basic_blocks): Likewise.
      	(find_sub_basic_blocks): Likewise.
      	* cfgcleanup.c (try_simplify_condjump): Likewise.
      	(thread_jump): Likewise.
      	(try_forward_edges): Likewise.
      	(merge_blocks_move): Likewise.
      	(outgoing_edges_match): Likewise.
      	(try_crossjump_to_edge): Likewise.
      	(try_crossjump_bb): Likewise.
      	(try_optimize_cfg): Likewise.
      	(merge_seq_blocks): Likewise.
      	* cfgexpand.c (expand_gimple_tailcall): Likewise.
      	(expand_gimple_basic_block): Likewise.
      	(construct_init_block): Likewise.
      	(construct_exit_block): Likewise.
      	* cfghooks.c (verify_flow_info): Likewise.
      	(dump_bb): Likewise.
      	(delete_basic_block): Likewise.
      	(split_edge): Likewise.
      	(merge_blocks): Likewise.
      	(make_forwarder_block): Likewise.
      	(tidy_fallthru_edges): Likewise.
      	(can_duplicate_block_p): Likewise.
      	(duplicate_block): Likewise.
      	* cfglayout.c (fixup_reorder_chain): Likewise.
      	(fixup_fallthru_exit_predecessor): Likewise.
      	(can_copy_bbs_p): Likewise.
      	(copy_bbs): Likewise.
      	* cfgloop.c (flow_loops_cfg_dump): Likewise.
      	(flow_loop_entry_edges_find): Likewise.
      	(flow_loop_exit_edges_find): Likewise.
      	(flow_loop_nodes_find): Likewise.
      	(mark_single_exit_loops): Likewise.
      	(flow_loop_pre_header_scan): Likewise.
      	(flow_loop_pre_header_find): Likewise.
      	(update_latch_info): Likewise.
      	(canonicalize_loop_headers): Likewise.
      	(flow_loops_find): Likewise.
      	(get_loop_body_in_bfs_order): Likewise.
      	(get_loop_exit_edges): Likewise.
      	(num_loop_branches): Likewise.
      	(verify_loop_structure): Likewise.
      	(loop_latch_edge): Likewise.
      	(loop_preheader_edge): Likewise.
      	* cfgloopanal.c (mark_irreducible_loops): Likewise.
      	(expected_loop_iterations): Likewise.
      	* cfgloopmanip.c (remove_bbs): Likewise.
      	(fix_bb_placement): Likewise.
      	(fix_irreducible_loops): Likewise.
      	(remove_path): Likewise.
      	(scale_bbs_frequencies): Likewise.
      	(loopify): Likewise.
      	(unloop): Likewise.
      	(fix_loop_placement): Likewise.
      	(loop_delete_branch_edge): Likewise.
      	(duplicate_loop_to_header_edge): Likewise.
      	(mfb_keep_just): Likewise.
      	(create_preheader): Likewise.
      	(force_single_succ_latches): Likewise.
      	(loop_split_edge_with): Likewise.
      	(create_loop_notes): Likewise.
      	* cfgrtl.c (rtl_split_block): Likewise.
      	(rtl_merge_blocks): Likewise.
      	(rtl_can_merge_blocks): Likewise.
      	(try_redirect_by_replacing_jump): Likewise.
      	(force_nonfallthru_and_redirect): Likewise.
      	(rtl_tidy_fallthru_edge): Likewise.
      	(commit_one_edge_insertion): Likewise.
      	(commit_edge_insertions): Likewise.
      	(commit_edge_insertions_watch_calls): Likewise.
      	(rtl_verify_flow_info_1): Likewise.
      	(rtl_verify_flow_info): Likewise.
      	(purge_dead_edges): Likewise.
      	(cfg_layout_redirect_edge_and_branch): Likewise.
      	(cfg_layout_can_merge_blocks_p): Likewise.
      	(rtl_flow_call_edges_add): Likewise.
      	* cse.c (cse_cc_succs): Likewise.
      	* df.c (hybrid_search): Likewise.
      	* dominance.c (calc_dfs_tree_nonrec): Likewise.
      	(calc_dfs_tree): Likewise.
      	(calc_idoms): Likewise.
      	(recount_dominator): Likewise.
      	* domwalk.c (walk_dominator_tree): Likewise.
      	* except.c (emit_to_new_bb_before): Likewise.
      	(connect_post_landing_pads): Likewise.
      	(sjlj_emit_function_enter): Likewise.
      	(sjlj_emit_function_exit): Likewise.
      	(finish_eh_generation): Likewise.
      	* final.c (compute_alignments): Likewise.
      	* flow.c (calculate_global_regs_live): Likewise.
      	(initialize_uninitialized_subregs): Likewise.
      	(init_propagate_block_info): Likewise.
      	* function.c (thread_prologue_and_epilogue_insns): Likewise.
      	* gcse.c (find_implicit_sets): Likewise.
      	(bypass_block): Likewise.
      	(bypass_conditional_jumps): Likewise.
      	(compute_pre_data): Likewise.
      	(insert_insn_end_bb): Likewise.
      	(insert_store): Likewise.
      	(remove_reachable_equiv_notes): Likewise.
      	* global.c (global_conflicts): Likewise.
      	(calculate_reg_pav): Likewise.
      	* graph.c (print_rtl_graph_with_bb): Likewise.
      	* ifcvt.c (mark_loop_exit_edges): Likewise.
      	(merge_if_block): Likewise.
      	(find_if_header): Likewise.
      	(block_jumps_and_fallthru_p): Likewise.
      	(find_if_block): Likewise.
      	(find_cond_trap): Likewise.
      	(block_has_only_trap): Likewise.
      	(find_if_case1): Likewise.
      	(find_if_case_2): Likewise.
      	* lambda-code.c (lambda_loopnest_to_gcc_loopnest): Likewise.
      	(perfect_nestify): Likewise.
      	* lcm.c (compute_antinout_edge): Likewise.
      	(compute_laterin): Likewise.
      	(compute_available): Likewise.
      	(compute_nearerout): Likewise.
      	* loop-doloop.c (doloop_modify): Likewise.
      	* loop-init.c (loop_optimizer_init): Likewise.
      	* loop-invariant.c (find_exits): Likewise.
      	* loop-iv.c (simplify_using_initial_values): Likewise.
      	(check_simple_exit): Likewise.
      	(find_simple_exit): Likewise.
      	* loop-unroll.c (peel_loop_completely): Likewise.
      	(unroll_loop_constant_iterations): Likewise.
      	(unroll_loop_runtime_iterations): Likewise.
      	* loop-unswitch.c (may_unswitch_on): Likewise.
      	(unswitch_loop): Likewise.
      	* modulo-sched.c (generate_prolog_epilog): Likewise.
      	(sms_schedule): Likewise.
      	* postreload-gcse.c (eliminate_partially_redundant_load):
      	Likewise.
      	* predict.c (can_predict_insn_p): Likewise.
      	(set_even_probabilities): Likewise.
      	(combine_predictions_for_bb): Likewise.
      	(predict_loops): Likewise.
      	(estimate_probability): Likewise.
      	(tree_predict_by_opcode): Likewise.
      	(tree_estimate_probability): Likewise.
      	(last_basic_block_p): Likewise.
      	(propagate_freq): Likewise.
      	(estimate_loops_at_level): Likewise.
      	(estimate_bb_frequencies): Likewise.
      	* profile.c (instrument_edges): Likewise.
      	(get_exec_counts): Likewise.
      	(compute_branch_probabilities): Likewise.
      	(branch_prob): Likewise.
      	* ra-build.c (live_in): Likewise.
      	* ra-rewrite.c (rewrite_program2): Likewise.
      	* ra.c (reg_alloc): Likewise.
      	* reg-stack.c (reg_to_stack): Likewise.
      	(convert_regs_entry): Likewise.
      	(compensate_edge): Likewise.
      	(convert_regs_1): Likewise,
      	(convert_regs_2): Likewise.
      	(convert_regs): Likewise.
      	* regrename.c (copyprop_hardreg_forward): Likewise.
      	* reload1.c (fixup_abnormal_edges): Likewise.
      	* sbitmap.c (sbitmap_intersection_of_succs): Likewise.
      	(sbitmap_insersection_of_preds): Likewise.
      	(sbitmap_union_of_succs): Likewise.
      	(sbitmap_union_of_preds): Likewise.
      	* sched-ebb.c (compute_jump_reg_dependencies): Likewise.
      	(fix_basic_block_boundaries): Likewise.
      	(sched_ebbs): Likewise.
      	* sched-rgn.c (build_control_flow): Likewise.
      	(find_rgns): Likewise.
      	* tracer.c (find_best_successor): Likewise.
      	(find_best_predecessor): Likewise.
      	(tail_duplicate): Likewise.
      	* tree-cfg.c (make_edges): Likewise.
      	(make_ctrl_stmt_edges): Likewise.
      	(make_goto_expr_edges): Likewise.
      	(tree_can_merge_blocks_p): Likewise.
      	(tree_merge_blocks): Likewise.
      	(cfg_remove_useless_stmts_bb): Likewise.
      	(remove_phi_nodes_and_edges_for_unreachable_block): Likewise.
      	(tree_block_forwards_to): Likewise.
      	(cleanup_control_expr_graph): Likewise.
      	(find_taken_edge): Likewise.
      	(dump_cfg_stats): Likewise.
      	(tree_cfg2vcg): Likewise.
      	(disband_implicit_edges): Likewise.
      	(tree_find_edge_insert_loc): Likewise.
      	(bsi_commit_edge_inserts): Likewise.
      	(tree_split_edge): Likewise.
      	(tree_verify_flow_info): Likewise.
      	(tree_make_forwarder_block): Likewise.
      	(tree_forwarder_block_p): Likewise.
      	(thread_jumps): Likewise.
      	(tree_try_redirect_by_replacing_jump): Likewise.
      	(tree_split_block): Likewise.
      	(add_phi_args_after_copy_bb): Likewise.
      	(rewrite_to_new_ssa_names_bb): Likewise.
      	(dump_function_to_file): Likewise.
      	(print_pred_bbs): Likewise.
      	(print_loop): Likewise.
      	(tree_flow_call_edges_add): Likewise.
      	(split_critical_edges): Likewise.
      	(execute_warn_function_return): Likewise.
      	(extract_true_false_edges_from_block): Likewise.
      	* tree-if-conv.c (tree_if_conversion): Likewise.
      	(if_convertable_bb_p): Likewise.
      	(find_phi_replacement_condition): Likewise.
      	(combine_blocks): Likewise.
      	* tree-into-ssa.c (compute_global_livein): Likewise.
      	(ssa_mark_phi_uses): Likewise.
      	(ssa_rewrite_initialize_block): Likewise.
      	(rewrite_add_phi_arguments): Likewise.
      	(ssa_rewrite_phi_arguments): Likewise.
      	(insert_phi_nodes_for): Likewise.
      	(rewrite_into_ssa): Likewise.
      	(rewrite_ssa_into_ssa): Likewise.
      	* tree-mudflap.c (mf_build_check_statement_for): Likewise.
      	* tree-outof-ssa.c (coalesce_abnormal_edges): Likewise.
      	(rewrite_trees): Likewise.
      	* tree-pretty-print.c (dump_bb_header): Likewise.
      	(dump_implicit_edges): Likewise.
      	* tree-sra.c (insert_edge_copies): Likewise.
      	(find_obviously_necessary_stmts): Likewise.
      	(remove_data_stmt): Likewise.
      	* tree-ssa-dom.c (thread_across_edge): Likewise.
      	(dom_opt_finalize_block): Likewise.
      	(single_incoming_edge_ignoring_loop_edges): Likewise.
      	(record_equivalences_from_incoming_edges): Likewise.
      	(cprop_into_successor_phis): Likewise.
      	* tree-ssa-live.c (live_worklist): Likewise.
      	(calculate_live_on_entry): Likewise.
      	(calculate_live_on_exit): Likewise.
      	* tree-ssa-loop-ch.c (should_duplicate_loop_header_p): Likewise.
      	(copy_loop_headers): Likewise.
      	* tree-ssa-loop-im.c (loop_commit_inserts): Likewise.
      	(fill_always_executed_in): Likewise.
      	* tree-ssa-loop-ivcanon.c (create_canonical_iv): Likewise.
      	* tree-ssa-loop-ivopts.c (find_interesting_uses): Likewise.
      	(compute_phi_arg_on_exit): Likewise.
      	* tree-ssa-loop-manip.c (add_exit_phis_edge): Likewise.
      	(get_loops_exit): Likewise.
      	(split_loop_exit_edge): Likewise.
      	(ip_normal_pos): Likewise.
      	* tree-ssa-loop-niter.c (simplify_using_initial_conditions):
      	Likewise.
      	* tree-ssa-phiopt.c (candidate_bb_for_phi_optimization): Likewise.
      	(replace_phi_with_stmt): Likewise.
      	(value_replacement): Likewise.
      	* tree-ssa-pre.c (compute_antic_aux): Likewise.
      	(insert_aux): Likewise.
      	(init_pre): Likewise.
      	* tree-ssa-propagate.c (simulate_stmt): Likewise.
      	(simulate_block): Likewise.
      	(ssa_prop_init): Likewise.
      	* tree-ssa-threadupdate.c (thread_block): Likewise.
      	(create_block_for_threading): Likewise.
      	(remove_last_stmt_and_useless_edges): Likewise.
      	* tree-ssa.c (verify_phi_args): Likewise.
      	(verify_ssa): Likewise.
      	* tree_tailcall.c (independent_of_stmt_p): Likewise.
      	(find_tail_calls): Likewise.
      	(eliminate_tail_call): Likewise.
      	(tree_optimize_tail_calls_1): Likewise.
      	* tree-vectorizer.c (vect_transform_loop): Likewise.
      	* var-tracking.c (prologue_stack_adjust): Likewise.
      	(vt_stack_adjustments): Likewise.
      	(vt_find_locations): Likewise.
      	* config/frv/frv.c (frv_ifcvt_modify_tests): Likewise.
      	* config/i386/i386.c (ix86_pad_returns): Likewise.
      	* config/ia64/ia64.c (ia64_expand_prologue): Likewise.
      	* config/rs6000/rs6000.c (rs6000_emit_prologue): Likewise.
      
      Co-Authored-By: Andrew Pinski <pinskia@physics.uc.edu>
      Co-Authored-By: Steven Bosscher <stevenb@suse.de>
      
      From-SVN: r88222
      Ben Elliston committed
  35. 26 Sep, 2004 1 commit
    • bitmap.h (EXECUTE_IF_SET_IN_BITMAP, [...]): Changed to iterator style. · 87c476a2
      	* 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
      Zdenek Dvorak committed
  36. 24 Sep, 2004 1 commit
    • re PR middle-end/17503 (quadratic behaviour in invalid_mode_change_p) · 41bf2a8b
              PR rtl-opt/17503
              * regclass.c (subregs_of_mode): Turn into an htab.  Make static.
              (som_hash, som_eq): New.
              (init_subregs_of_mode, record_subregs_of_mode): New.
              (cannot_change_mode_set_regs): Rewrite for htab implementation.
              (invalid_mode_change_p): Likewise.
              * combine.c (gen_lowpart_for_combine): Use record_subregs_of_mode.
              * flow.c (mark_used_regs): Likewise.
              (life_analysis): Use init_subregs_of_mode.
              * regs.h (subregs_of_mode): Remove.
              * rtl.h (init_subregs_of_mode, record_subregs_of_mode): Declare.
      
      From-SVN: r88067
      Richard Henderson committed
  37. 08 Sep, 2004 1 commit
    • final.c (shorten_branches, [...]): Use gcc_assert and gcc_unreachable. · 0bccc606
      	* final.c (shorten_branches, final, get_insn_template,
      	output_alternate_entry_point, final_scan_insn, alter_subreg,
      	alter_cond, output_operand, asm_fprintf, final_forward_branch_p,
      	leaf_renumber_regs_insn): Use gcc_assert and gcc_unreachable.
      	* fix-header.c (lookup_std_proto): Likewise.
      	* flow.c (first_insn_after_basic_block_note, verify_wide_reg,
      	verify_local_live_at_start, update_life_info, mark_reg,
      	calculate_global_regs_live, allocate_reg_life_data,
      	init_propagate_block_info, mark_set_regs, flush_reg_cond_reg_1,
      	ior_reg_cond, not_reg_cond, and_reg_cond, elim_reg_cond,
      	attempt_auto_inc, mark_used_reg, mark_used_regs): Likewise.
      	* fold-const.c (force_fit_type, div_and_round_double,
      	may_negate_without_overflow_p, int_const_binop, const_binop,
      	size_binop, size_diffop, fold_convert_const, fold_convert,
      	invert_tree_comparison, swap_tree_comparison,
      	comparison_to_compcode, compcode_to_comparison, invert_truthvalue,
      	range_binop, make_range, fold_cond_expr_with_comparison,
      	fold_div_compare, fold, fold_checksum_tree, fold_negate_const,
      	fold_abs_const, fold_not_const, fold_relational_const, round_up,
      	round_down): Likewise.
      	* function.c (find_function_data, assign_stack_temp_for_type,
      	instantiate_virtual_regs_lossage, aggregate_value_p,
      	assign_parm_find_entry_rtl, assign_parm_setup_block,
      	expand_function_start, expand_function_end, keep_stack_depressed,
      	handle_epilogue_set, thread_prologue_and_epilogue_insns): Likewise.
      
      From-SVN: r87192
      Nathan Sidwell committed
  38. 29 Aug, 2004 1 commit
    • flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not just the… · 15dce812
      flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not just the codes, call reversed_comparison_code ().
      
      * flow.c (REVERSE_CONDEXEC_PREDICATES_P): Use the whole comparison, not
      just the codes, call reversed_comparison_code ().
      (ior_reg_cond): Update arguments to REVERSE_CONDEXEC_PREDICATES_P.
      (not_reg_cond): Use reversed_comparison_code.
      (and_reg_cond): Likewise.
      * ifcvt.c (cond_exec_process_if_block): Likewise.
      * doc/tm.texi (REVERSE_CONDEXEC_PREDICATES_P): Update documentation.
      
      From-SVN: r86737
      Richard Earnshaw committed