1. 23 Jul, 2002 2 commits
    • genautomata.c (VLA_HWINT_SHORTEN, [...]): Remove. · 10d6af32
      	* genautomata.c (VLA_HWINT_SHORTEN, VLA_HWINT_LAST): Remove.
      	* df.c (HANDLE_SUBREG, FOR_EACH_BB_IN_BITMAP_REV,
      	FOR_EACH_BB_IN_SBITMAP): Remove.
      	* gcse.c (NEVER_SET, FOLLOW_BACK_EDGES): Remove.
      	* haifa-sched.c (DONE_PRIORITY, MAX_PRIORITY, TAIL_PRIORITY,
      	LAUNCH_PRIORITY, DONE_PRIORITY_P, LOW_PRIORITY_P): Remove.
      	* loop.c (PREFETCH_BLOACK_IN_LOOP_MIN,
      	PREFETCH_LIMIT_TO_SIMULTANEOUS): Remove.
      	* regrename.c (REGNO_MODE_OK_FOR_BASE_P): Remove.
      
      From-SVN: r55685
      Neil Booth committed
    • defaults.h (obstack_chunk_alloc, [...]): Default definition. · 4fa31c2a
      	* defaults.h (obstack_chunk_alloc, obstack_chunk_free):
      	Default definition.
      	* gcse.c: Don't define obstack_chunk_free.
      	* collect2.c, conflict.c, df.c, diagnostic.c, fix-header.c,
      	flow.c, gcc.c, genattrtab.c, genautomata.c, genflags.c, gensupport.c,
      	integrate.c, loop.c, ra.c, read-rtl.c, regrename.c, reload1.c,
      	reorg.c, tlink.c, tree.c, config/arm/arm.c, objc/objc-act.c:
      	Don't define obstack macros.
      cp:
      	* class.c, method.c, pt.c, search.c: Similarly.
      
      From-SVN: r55665
      Neil Booth committed
  2. 16 Jul, 2002 1 commit
    • Add a new register allocator. · 9406d60d
      	* ra.c: New file.
      	* ra.h: New file.
      	* ra-build.c: New file.
      	* ra-colorize.c: New file.
      	* ra-debug.c: New file.
      	* ra-rewrite.c: New file.
      
      	* Makefile.in (ra.o, ra-build.o, ra-colorize.o, ra-debug.o,
      	(ra-rewrite.o): New .o files for libbackend.a.
      	(GTFILES): Add basic-block.h.
      
      	* toplev.c (flag_new_regalloc): New.
      	(f_options): New option "new-ra".
      	(rest_of_compilation): Call initialize_uninitialized_subregs()
      	only for the old allocator.  If flag_new_regalloc is set, call
      	new allocator, instead of local_alloc(), global_alloc() and
      	friends.
      
      	* doc/invoke.texi: Document -fnew-ra.
      	* basic-block.h (FOR_ALL_BB): New.
      	* config/rs6000/rs6000.c (print_operand): Write small constants
      	as @l+80.
      
      	* df.c (read_modify_subreg_p): Narrow down cases for a rmw subreg.
      	(df_reg_table_realloc): Make size at least as large as max_reg_num().
      	(df_insn_table_realloc): Size argument now is absolute, not relative.
      	Changed all callers.
      
      	* gengtype.c (main): Add the pseudo-type "HARD_REG_SET".
      	* regclass.c (reg_scan_mark_refs): Ignore NULL rtx's.
      
      	2002-06-20  Michael Matz  <matz@suse.de>
      
      	* df.h (struct ref.id): Make unsigned.
      	* df.c (df_bb_reg_def_chain_create): Remove unsigned cast.
      
      	2002-06-13  Michael Matz  <matz@suse.de>
      
      	* df.h (DF_REF_MODE_CHANGE): New flag.
      	* df.c (df_def_record_1, df_uses_record): Set this flag for refs
      	involving subregs with invalid mode changes, when
      	CLASS_CANNOT_CHANGE_MODE is defined.
      
      	2002-05-07  Michael Matz  <matz@suse.de>
      
      	* reload1.c (fixup_abnormal_edges): Don't insert on NULL edge.
      
      	2002-05-03  Michael Matz  <matz@suse.de>
      
      	* sbitmap.c (sbitmap_difference): Accept sbitmaps of different size.
      
      	Sat Feb  2 18:58:07 2002  Denis Chertykov  <denisc@overta.ru>
      
      	* regclass.c (regclass): Work with all regs which have sets or
      	refs.
      	(reg_scan_mark_refs): Count regs inside (clobber ...).
      
      	2002-01-04  Michael Matz  <matzmich@cs.tu-berlin.de>
      
      	* df.c (df_ref_record): Correctly calculate SUBREGs of hardregs.
      	(df_bb_reg_def_chain_create, df_bb_reg_use_chain_create): Only
      	add new refs.
      	(df_bb_refs_update): Don't clear insns_modified here, ...
      	(df_analyse): ... but here.
      
      	* sbitmap.c (dump_sbitmap_file): New.
      	(debug_sbitmap): Use it.
      
      	* sbitmap.h (dump_sbitmap_file): Add prototype.
      
      	2001-08-07  Daniel Berlin  <dan@cgsoftware.com>
      
      	* df.c (df_insn_modify): Grow the UID table if necessary, rather
      	than assume all emits go through df_insns_modify.
      
      	2001-07-26  Daniel Berlin  <dan@cgsoftware.com>
      
      	* regclass.c (reg_scan_mark_refs): When we increase REG_N_SETS,
      	increase REG_N_REFS (like flow does), so that regclass doesn't
      	think a reg is useless, and thus, not calculate a class, when it
      	really should have.
      
      	2001-01-28  Daniel Berlin  <dberlin@redhat.com>
      
      	* sbitmap.h (EXECUTE_IF_SET_IN_SBITMAP_REV): New macro, needed for
      	dataflow analysis.
      
      From-SVN: r55485
      Michael Matz committed
  3. 08 Jun, 2002 1 commit
    • emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx. · e50126e8
      	* emit-rtl.c (init_emit): Add hard registers to regno_reg_rtx.
      	* combine.c (move_deaths): Use regno_reg_rtx for hard regs rather
      	than creating a new register.
      	(distribute_notes): Likewise.
      	* df.c (df_reg_use_gen): Likewise.
      	(df_reg_clobber_gen): Likewise.
      	(df_ref_record): Likewise.
      	* expr.c (use_regs): Likewise.
      	* flow.c (propagate_one_insn): Likewise.
      	(mark_set_1): Likewise.
      	(mark_used_reg): Likewise.
      	* reload.c (emit_reload_insns): Likewise.
      
      From-SVN: r54358
      Jeff Law committed
  4. 27 May, 2002 1 commit
    • basic-block.h (last_basic_block): Defined as synonym for n_basic_blocks. · d55bc081
      	* basic-block.h (last_basic_block): Defined as synonym for
      	n_basic_blocks.
      	* cfganal.c (mark_dfs_back_edges, flow_reverse_top_sort_order_compute,
      	flow_depth_first_order_compute, flow_preorder_transversal_compute,
      	flow_dfs_compute_reverse_init): Replaced relevant occurences of
      	n_basic_blocks with last_basic_block.
      	* cfgbuild.c (make_edges): Likewise.
      	* cfgloop.c (flow_loop_scan, flow_loops_find): Likewise.
      	* cfgrtl.c (verify_flow_info, purge_all_dead_edges): Likewise.
      	* combine.c (combine_instructions): Likewise.
      	* df.c (df_alloc, df_analyse_1, df_analyse, iterative_dataflow_sbitmap,
      	iterative_dataflow_bitmap): Likewise.
      	* dominance.c (init_dom_info, calc_dfs_tree_nonrec, calc_dfs_tree,
      	calc_idoms, idoms_to_doms): Likewise.
      	* flow.c (update_life_info_in_dirty_blocks, free_basic_block_vars):
      	Likewise.
      	* gcse.c (gcse_main, alloc_gcse_mem, compute_local_properties,
      	compute_hash_table, expr_reaches_here_p, one_classic_gcse_pass,
      	one_cprop_pass, compute_pre_data, pre_expr_reaches_here_p,
      	one_pre_gcse_pass, compute_transpout, delete_null_pointer_checks_1,
      	delete_null_pointer_checks, compute_code_hoist_vbeinout,
      	hoist_expr_reaches_here_p, hoist_code, one_code_hoisting_pass,
      	compute_store_table, build_store_vectors): Likewise.
      	* haifa-sched.c (sched_init): Likewise.
      	* ifcvt.c (if_convert): Likewise.
      	* lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
      	pre_edge_lcm, compute_available, compute_nearerout,
      	compute_rev_insert_delete, pre_edge_rev_lcm, optimize_mode_switching):
      	Likewise.
      	* predict.c (estimate_probability, process_note_prediction,
      	note_prediction_to_br_prob): Likewise.
      	* profile.c (GCOV_INDEX_TO_BB, BB_TO_GCOV_INDEX): Likewise.
      	* recog.c (split_all_insns, peephole2_optimize): Likewise.
      	* regrename.c (copyprop_hardreg_forward): Likewise.
      	* resource.c (init_resource_info): Likewise.
      	* sched-rgn.c (build_control_flow, find_rgns, compute_trg_info,
      	init_regions, schedule_insns): Likewise.
      	* ssa-ccp.c (ssa_const_prop): Likewise.
      	* ssa-dce.c (ssa_eliminate_dead_code): Likewise.
      	* ssa.c (compute_dominance_frontiers,
      	compute_iterated_dominance_frontiers, convert_to_ssa): Likewise.
      
      	* df.c (df_refs_unlink): Fix FOR_EACH_BB usage (in #if 0'ed code)
      	* gcse.c (alloc_rd_mem, alloc_avail_expr_mem): Use n_blocks for vector
      	sizes consistently.
      
      From-SVN: r53924
      Zdenek Dvorak committed
  5. 23 May, 2002 1 commit
    • bb-reorder.c (make_reorder_chain, [...]): Use FOR_EACH_BB macros to iterate over basic block chain. · e0082a72
      	* bb-reorder.c (make_reorder_chain, make_reorder_chain_1):
      	Use FOR_EACH_BB macros to iterate over basic block chain.
      	* cfg.c (clear_edges, clear_bb_flags, dump_flow_info,
      	alloc_aux_for_blocks, clear_aux_for_blocks, alloc_aux_for_edges):
      	Likewise.
      	* cfganal.c (set_edge_can_fallthru_flag, flow_call_edges_add,
      	find_unreachable_blocks, create_edge_list, verify_edge_list,
      	remove_fake_edges, add_noreturn_fake_exit_edges,
      	flow_preorder_transversal_compute, flow_dfs_compute_reverse_execute):
      	Likewise.
      	* cfgbuild.c (make_edges, find_basic_blocks, find_many_sub_basic_blocks,
      	find_sub_basic_blocks): Likewise.
      	* cfgcleanup.c (try_optimize_cfg, delete_unreachable_blocks):
      	Likewise.
      	* cfglayout.c (record_effective_endpoints, cleanup_unconditional_jumps):
      	Likewise.
      	* cfgloop.c (flow_loops_cfg_dump, flow_loops_find):
      	Likewise.
      	* cfgrtl.c (compute_bb_for_insn, tidy_fallthru_edges,
      	commit_edge_insertions, commit_edge_insertions_watch_calls,
      	print_rtl_with_bb, verify_flow_info, purge_all_dead_edges): Likewise.
      	* combine.c (combine_instructions, reg_dead_at_p): Likewise.
      	* conflict.c (conflict_graph_compute): Likewise.
      	* df.c (df_bitmaps_alloc, df_bitmaps_free, df_alloc, df_analyse_1,
      	df_modified_p, df_refs_unlink, df_dump): Likewise.
      	* dominance.c (calc_dfs_tree, calculate_dominance_info): Likewise.
      	* final.c (compute_alignments): Likewise.
      	* flow.c (update_life_info, update_life_info_in_dirty_blocks,
      	delete_noop_moves, calculate_global_regs_live, allocate_bb_life_data,
      	count_or_remove_death_notes): Likewise.
      	* gcse.c (oprs_unchanged_p, record_last_reg_set_info,
      	compute_hash_table, compute_kill_rd, compute_rd, compute_ae_kill,
      	classic_gcse, compute_transp, cprop, compute_pre_data,
      	compute_transpout, invalidate_nonnull_info,
      	delete_null_pointer_checks_1, delete_null_pointer_checks,
      	compute_code_hoist_vbeinout, hoist_code, compute_ld_motion_mems,
      	compute_store_table, build_store_vectors, store_motion): Likewise.
      	* global.c (global_conflicts, mark_elimination): Likewise.
      	* graph.c (print_rtl_graph_with_bb): Likewise.
      	* haifa-sched.c (sched_init): Likewise.
      	* ifcvt.c (if_convert): Likewise.
      	* lcm.c (compute_antinout_edge, compute_laterin, compute_insert_delete,
      	compute_available, compute_nearerout, compute_rev_insert_delete,
      	optimize_mode_switching): Likewise.
      	* local-alloc.c (local_alloc, update_equiv_regs): Likewise.
      	* predict.c (estimate_probability, note_prediction_to_br_prob,
      	propagate_freq, counts_to_freqs, expensive_function_p,
      	estimate_bb_frequencies): Likewise.
      	* profile.c (instrument_edges, get_exec_counts,
      	compute_branch_probabilities, compute_checksum, branch_prob,
      	find_spanning_tree): Likewise.
      	* recog.c (split_all_insns, peephole2_optimize): Likewise.
      	* reg-stack.c (reg_to_stack, convert_regs_entry, convert_regs):
      	Likewise.
      	* regclass.c (scan_one_insn, regclass): Likewise.
      	* regmove.c (mark_flags_life_zones, regmove_optimize,
      	record_stack_memrefs): Likewise.
      	* regrename.c (regrename_optimize, copyprop_hardreg_forward): Likewise.
      	* reload1.c (reload, reload_combine, fixup_abnormal_edges): Likewise.
      	* resource.c (find_basic_block): Likewise.
      	* sched-ebb.c (schedule_ebbs): Likewise.
      	* sched-rgn.c (is_cfg_nonregular, build_control_flow,
      	find_single_block_region, find_rgns, schedule_insns)
      	* sibcall.c (optimize_sibling_and_tail_recursive_call)
      	* ssa-ccp.c (optimize_unexecutable_edges,
      	ssa_ccp_df_delete_unreachable_insns): Likewise.
      	* ssa-dce.c (ssa_eliminate_dead_code): Likewise.
      	* ssa.c (find_evaluations, compute_dominance_frontiers_1,
      	rename_block, convert_to_ssa, compute_conservative_reg_partition,
      	compute_coalesced_reg_partition, rename_equivalent_regs,
      	convert_from_ssa): Likewise.
      	* config/ia64/ia64.c (emit_predicate_relation_info, process_epilogue,
      	process_for_unwind_directive): Likewise.
      
      	* df.c (FOR_ALL_BBS): Removed.
      	* gcse.c (struct null_pointer_info): Type of current_block field
      	changed.
      	(struct reg_avail_info): Type of last_bb field changed.
      	* config/ia64/ia64.c (block_num): Removed.
      	(need_copy_state): Type changed.
      	(last_block): New.
      
      From-SVN: r53804
      Zdenek Dvorak committed
  6. 17 May, 2002 1 commit
  7. 16 May, 2002 1 commit
  8. 11 May, 2002 1 commit
    • dbxout.c: Fix formatting. · 3a538a66
      	* dbxout.c: Fix formatting.
      	* dependence.c: Likewise.
      	* df.c: Likewise.
      	* diagnostic.c: Likewise.
      	* doloop.c: Likewise.
      	* dominance.c: Likewise.
      	* doschk.c: Likewise.
      	* dwarf2asm.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      
      From-SVN: r53380
      Kazu Hirata committed
  9. 03 Apr, 2002 1 commit
  10. 27 Feb, 2002 1 commit
  11. 19 Feb, 2002 1 commit
    • i386.md ("mmx_uavgv8qi3"): Use const_vector. · 69ef87e2
      2002-02-19  Aldy Hernandez  <aldyh@redhat.com>
      
      	* config/i386/i386.md ("mmx_uavgv8qi3"): Use const_vector.
      	("mmx_uavgv4hi3"): Same.
      	("pmulhrwv4hi3"): Same.
      
      	* tree-inline.c (walk_tree): Handle vectors.
      
      	* c-common.c (constant_expression_warning): Handle vectors.
      	(overflow_warning): Same.
      
      	* sched-deps.c (sched_analyze_2): Handle vectors.
      
      	* rtlanal.c (rtx_unstable_p): Handle vectors.
      	(rtx_varies_p): Same.
      	(count_occurrences): Same.
      	(regs_set_between_p): Same.
      	(modified_between_p): Same.
      	(modified_in_p): Same.
      	(volatile_insn_p): Same.
      	(volatile_refs_p): Same.
      	(side_effects_p): Same.
      	(may_trap_p): Same.
      	(inequality_comparisons_p): Same.
      	(replace_regs): Same.
      	(computed_jump_p_1): Same.
      
      	* rtl.c (DEF_MACHMODE): Change all definitions to accept 8th
      	argument.
      	(inner_mode_array): New.
      	(copy_rtx): Handle vectors.
      	(copy_most_rtx): Same.
      	(rtx_equal_p): Same.
      	(get_mode_alignment): Adjust for vectors.
      
      	* resource.c (mark_referenced_resources): Handle vectors.
      	(mark_set_resources): Same.
      
      	* reload1.c (eliminate_regs): Handle vectors.
      	(elimination_effects): Same.
      	(scan_paradoxical_subregs): Same.
      
      	* reload.c (subst_reg_equivs): Handle vectors.
      
      	* regrename.c (scan_rtx): Handle vectors.
      
      	* regclass.c (reg_scan_mark_refs): Handle vectors.
      
      	* recog.c (find_single_use_1): Handle vectors.
      
      	* local-alloc.c (equiv_init_varies_p): Handle vectors.
      	(contains_replace_regs): Same.
      	(memref_referenced_p): Same.
      
      	* integrate.c (copy_rtx_and_substitute): Handle vectors.
      	(subst_constants): Same.
      
      	* genattrtab.c (attr_copy_rtx): Handle vectors.
      	(encode_units_mask): Same.
      	(clear_struct_flag): Same.
      	(count_sub_rtxs): Same.
      
      	* gcse.c (want_to_gcse_p): Handle vectors.
      	(oprs_unchanged_p): Same.
      	(hash_expr_1): Same.
      	(oprs_not_set_p): Same.
      	(expr_killed_p): Same.
      	(compute_transp): Same.
      	(store_ops_ok): Same.
      
      	* function.c (purge_addressof_1): Do not allow paradoxical subregs
      	of vectors.
      	(fixup_var_refs_1): Same.
      	(instantiate_virtual_regs_1): Same.
      
      	* fold-const.c (operand_equal_p): Handle vectors.
      	(fold): Same.
      	(rtl_expr_nonnegative_p): Same.
      
      	* flow.c (mark_used_regs): Handle vectors.
      
      	* df.c (df_uses_record): Handle vectors.
      
      	* cselib.c (cselib_subst_to_values): Handle vectors.
      	(cselib_mem_conflict_p): Same.
      	(hash_rtx): Same.
      
      	* cse.c (canon_reg): Handle vectors.
      	(fold_rt): Same.
      	(cse_process_notes): Same.
      	(count_reg_usage): Same.
      	(canon_hash): Same.
      
      	* alias.c (nonlocal_mentioned_p): Add case for CONST_VECTOR.
      
      	* combine.c (mark_used_regs_combine): Add case for CONST_VECTOR.
      
      	* emit-rtl.c (init_emit_once): Generate const0_rtx for vectors.
      	(gen_rtx): Handle CONST_VECTOR.
      	(gen_const_vector_0): New.
      	(copy_rtx_if_shared): CONST_VECTORs can be shared.
      	(reset_used_flags): Same.
      	(copy_insn_1): Same.
      	(initializer_constant_valid_p): Handle VECTOR_CST.
      
      	* doc/c-tree.texi (Expression trees): Document VECTOR_CST.
      
      	* doc/rtl.texi (Constants): Document const_vector.
      	(CONST0_RTX): Update for vectors.
      	(RTL sharing): Same.
      
      	* print-tree.c (print_node): Add case for VECTOR_CST.
      
      	* tree.h (TREE_VECTOR_CST_ELTS): New.
      	(struct tree_vector): New.
      	(union tree_node): Add vector node.
      	(build_vector): Add prototype.
      
      	* tree.def (VECTOR_CST): New.
      
      	* tree.c (build_vector): New.
      
      	* expmed.c (make_tree): Handle CONST_VECTOR.
      
      	* rtl.h (CONSTANT_P): CONST_VECTORs are constants too.
      	(CONST_VECTOR_ELT): New.
      	(CONST_VECTOR_NUNITS): New.
      
      	* machmode.h (GET_MODE_INNER): New.
      	(DEF_MACHMODE): Accept 8th arg.
      
      	* machmode.def: Add 8th argument for vector inner mode.
      	Add inner vector modes for vectors.
      
      	* rtl.def (VEC_CONST): Remove.
      	(CONST_VECTOR): New.
      
      	* expr.c (clear_storage): Allow vectors.
      	(is_zeros_p): Handle VECTOR_CST.
      
      	* varasm.c (output_constant_pool): Handle vectors.
      	(rtx_const): Add veclo and vechi fields.
      	(kind): Add RTX_VECTOR.
      	(decode_rtx_const): Add case for vector.
      
      	* config/rs6000/rs6000-protos.h: Add zero_constant.
      
      	* config/rs6000/rs6000.c (rs6000_emit_move): Handle vector
      	constants.  Force easy vector constants into memory.
      	(easy_vector_constant): New.
      	(emit_easy_vector_constant): New.
      	(rs6000_legitimize_reload_address): Do not generate bad reloads on
      	darwin.
      
      	* config/rs6000/rs6000.md ("altivec_lvx"): Reflect what
      	instruction does.
      	("altivec_lvxl"): Same.
      	(altivec_lvebx): Same.
      	(altivec_lvehx): Same.
      	(altivec_lvewx): Same.
      	("*movv4si_const0"): New.
      	("*movv4sf_const0"): New.
      	("*movv8hi_const0"): New.
      	("*movv16qi_const0"): New.
      
      From-SVN: r49853
      Aldy Hernandez committed
  12. 25 Jan, 2002 1 commit
    • df.c (df_ref_create, [...]): Kill BB argument. · 5a133afd
      	* df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB argument.
      	* df.h (struct ref): Kill B.
      	(DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
      
      	* basic-block.h (PROP_EQUAL_NOTES): New flag.
      	* flow.c (propagate_one_insn): Use it.
      	(mark_used_regs): Handle NIL.
      
      From-SVN: r49220
      Jan Hubicka committed
  13. 18 Jan, 2002 1 commit
    • bitmap.h: Fix comment formatting. · 3ef42a0c
      	* 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
      Kazu Hirata committed
  14. 28 Nov, 2001 1 commit
  15. 25 Nov, 2001 1 commit
  16. 23 Nov, 2001 1 commit
    • ChangeLog.0, [...]: Fix spelling errors. · a1f300c0
      	* ChangeLog.0, ChangeLog.2, ChangeLog.3, ChangeLog.4, ChangeLog,
      	FSFChangeLog.10, c-decl.c, cppfiles.c, cppinit.c, cpplex.c,
      	cpplib.c, cppmain.c, cse.c, df.c, diagnostic.c, dominance.c,
      	dwarf2out.c, dwarfout.c, emit-rtl.c, errors.c, except.c, except.h,
      	explow.c, function.c, gcse.c, genrecog.c, predict.c, regmove.c,
      	sched-rgn.c, ssa-ccp.c, stmt.c, toplev.c: Fix spelling errors.
      
      From-SVN: r47279
      Joseph Myers committed
  17. 19 Nov, 2001 1 commit
    • gcse.c (try_replace_reg): Copy RTX before creating note. · 7fcd7218
      	* gcse.c (try_replace_reg): Copy RTX before creating note.
      
      	* df.h (df_ref_flags): New uenum.
      	(DF_REF_FLAGS): New macro.
      	(struct ref): Add field "flags".
      	* df.c (HANDLE_SUBREG): Remove.
      	(df_ref_create): Likewise; set flags field of ref.
      	(df_def_record_1): Strip down read_write subreg; remove
      	commented out code; set READ_WRITE flag.
      	(read_modify_subreg_p): New static function.
      	(df_uses_record): Cleanup SET handling; set READ_WRITE flag;
      	new argument "flags".
      	(df_insn_refs_record): Update call of df_uses_record.
      	(df_insn_modify): Avoid #if 0 around comment.
      	(df_dump): Dump the read/write flag.
      
      	* predict.c (propagate_freq): Make cyclic_probability and frequency
      	volatile
      
      	* i386.c (ix86_cc_mode): Accept USE.
      
      	* cfgrtl.c (purge_dead_edges):  Cleanup EDGE_ABNORMAL flag if computed
      	jump is turned into simplejump.
      
      From-SVN: r47175
      Jan Hubicka committed
  18. 07 Nov, 2001 1 commit
    • Makefile.in (df.o): Add fibheap.h to dependencies. · 2a6f0eca
      2001-11-07  Daniel Berlin  <dan@cgsoftware.com>
      
              * Makefile.in (df.o): Add fibheap.h to dependencies.
      
              * df.h: Add prototypes for transfer functions, iterative_dataflow
              functions.
              (enum df_flow_dir): New enum.
              (enum df_confluence_op): New enum.
              (struct df): Add inverse_rts_map.
      
              * df.c: Add sbitmap.h to the list of includes.
              (df_rd_global_compute): Removed.
              (df_ru_global_compute): Removed.
              (df_lr_global_compute): Removed.
              (df_rd_transfer_function): New function.
              (df_ru_transfer_function): New function.
              (df_lr_transfer_function): New function.
              (df_analyse_1): allocate/compute/free df->inverse_rts_map.
              Use iterative_dataflow_bitmap instead of df_*_global_compute.
              (iterative_dataflow_sbitmap): New function.
              (iterative_dataflow_bitmap): New function.
      
      From-SVN: r46827
      Daniel Berlin committed
  19. 02 Nov, 2001 1 commit
    • config.gcc: Revert part of earlier patch. · 009da785
      2001-11-01  Eric Christopher  <echristo@redhat.com>
      
              * config.gcc: Revert part of earlier patch.
              * config/mips/linux.h: Ditto.
      	* df.c: Include tm_p.h to avoid warnings.
              * config/mips/mips.h (ABI_GAS_ASM_SPEC): Add defaults.  Adjust
      	#if/#endif.
      	* config/mips/mips.c: Define mips_abi regardless.
      	(mips_output_function_prologues): Add long casts for .frame
      	output.
      	(override_options): Allow use of ABI_32.
      
      From-SVN: r46707
      Eric Christopher committed
  20. 30 Oct, 2001 1 commit
    • lcm.c (optimize_mode_switching): Do not rebuild liveness information when no changes has been made. · 73991d6a
      	* lcm.c (optimize_mode_switching):  Do not rebuild liveness information
      	when no changes has been made.
      
      	* gcse.c (reg_set_bitmap): Turn into reg_set.
      	(modify_mem_list_set, canon_modify_mem_list_set)
      	(clear_modify_mem_tables, free_modify_mem_tables): New.
      	(gcse_main); Use free_modify_mem_tables.
      	(free_gcse_mem): Likewise; free the bitmaps.
      	(alloc_gcse_main): Initialize the bitmaps.
      	(canon_list_insert): Set canon_modify_mem_list_set.
      	(record_last_mem_set_info): Likewise; set modify_mem_list_set.
      	(compute_hash_table): Use clear_modify_mem_tables.
      	(reset_opr_set_tables): Likewise.
      	(oprs_not_set_p): reg_set_bitmap is regset.
      	(mark_set, mark_clobber): Likewise.
      
      	* df.h (DF_EQUIV_NOTES): New constant.
      	(df_insn_refs_record): Record uses inside or REG_EQUIV/EQUAL notes
      	when asked for.
      
      	* sched-rgn.c (CHECK_DEAD_NOTES): New constant.
      	(init_regions, schedule_insns): Conditionalize the checking
      	code by CHECK_DEAD_NOTES; avoid multiple calls to update_life_info.
      
      From-SVN: r46634
      Jan Hubicka committed
  21. 11 Oct, 2001 1 commit
    • alias.c: Remove uses of "register" specifier in declarations of arguments and local... · b3694847
      2001-10-10  Stan Shebs  <shebs@apple.com>
      
              * alias.c: Remove uses of "register" specifier in declarations
              of arguments and local variables.
              * c-common.c: Ditto.
              * c-convert.c: Ditto.
              * c-decl.c: Ditto.
              * c-format.c: Ditto.
              * c-semantics.c: Ditto.
              * c-typeck.c: Ditto.
              * caller-save.c: Ditto.
              * calls.c: Ditto.
              * cfg.c: Ditto.
              * cfgbuild.c: Ditto.
              * cfgrtl.c: Ditto.
              * collect2.c: Ditto.
              * combine.c: Ditto.
              * convert.c: Ditto.
              * cppexp.c: Ditto.
              * cppfiles.c: Ditto.
              * cse.c: Ditto.
              * dbxout.c: Ditto.
              * defaults.h: Ditto.
              * df.c: Ditto.
              * dwarf2out.c: Ditto.
              * dwarfout.c: Ditto.
              * emit-rtl.c: Ditto.
              * explow.c: Ditto.
              * expmed.c: Ditto.
              * expr.c: Ditto.
              * final.c: Ditto.
              * fix-header.c: Ditto.
              * floatlib.c: Ditto.
              * flow.c: Ditto.
              * fold-const.c: Ditto.
              * function.c: Ditto.
              * gcc.c: Ditto.
              * gcse.c: Ditto.
              * gen-protos.c: Ditto.
              * genattrtab.c: Ditto.
              * gencheck.c: Ditto.
              * genconfig.c: Ditto.
              * genemit.c: Ditto.
              * genextract.c: Ditto.
              * genflags.c: Ditto.
              * gengenrtl.c: Ditto.
              * genoutput.c: Ditto.
              * genpeep.c: Ditto.
              * genrecog.c: Ditto.
              * gensupport.c: Ditto.
              * global.c: Ditto.
              * gmon.c: Ditto.
              * graph.c: Ditto.
              * haifa-sched.c: Ditto.
              * hard-reg-set.h: Ditto.
              * hash.c: Ditto.
              * integrate.c: Ditto.
              * jump.c: Ditto.
              * lists.c: Ditto.
              * local-alloc.c: Ditto.
              * loop.c: Ditto.
              * mips-tdump.c: Ditto.
              * mips-tfile.c: Ditto.
              * optabs.c: Ditto.
              * prefix.c: Ditto.
              * print-rtl.c: Ditto.
              * read-rtl.c: Ditto.
              * real.c: Ditto.
              * recog.c: Ditto.
              * reg-stack.c: Ditto.
              * regclass.c: Ditto.
              * regmove.c: Ditto.
              * reload.c: Ditto.
              * reload1.c: Ditto.
              * reorg.c: Ditto.
              * resource.c: Ditto.
              * rtl.c: Ditto.
              * rtlanal.c: Ditto.
              * scan.c: Ditto.
              * sched-deps.c: Ditto.
              * sched-rgn.c: Ditto.
              * sdbout.c: Ditto.
              * simplify-rtx.c: Ditto.
              * stmt.c: Ditto.
              * stor-layout.c: Ditto.
              * toplev.c: Ditto.
              * tradcif.y: Ditto.
              * tradcpp.c: Ditto.
              * tree.c: Ditto.
              * unroll.c: Ditto.
              * varasm.c: Ditto.
              * xcoffout.c: Ditto.
      
      From-SVN: r46173
      Stan Shebs committed
  22. 21 Sep, 2001 1 commit
    • basic-block.h (flow_delete_insn, [...]): Kill. · 53c17031
      	* basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
      	* cfg.c (delete_insn): Rename from ....; use remove_insn; do not
      	remove some labels.
      	(flow_delete_insn): This one.
      	(delete_insn_chain): Rename from ...; do not care labels.
      	(flow_delete_insn_chain): ... this one.
      	(flow_delete_block): Remove the insns one BB has been expunged.
      	(merge_blocks_nomove): Likewise.
      	(try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
      	updating BB boundaries.
      	(tidy_fallthru_edge): Likewise.
      	(commit_one_edge_insertion): Likewise.
      	* cfgbuild.c (find_basic_block): Likewise.
      	(find_basic_blocks_1): Likewise.
      	* cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
      	(try_crossjump_to_edge): Likewise.
      	(try_optimize_cfg): Likewise.
      	* cse.c (delete_trivially_dead_insns): Likewise.
      	* df.c (df_insn_delete): Likewise.
      	* doloop.c (doloop_modify): Use delete_related_insns.
      	* emit-rtl.c (try_split): Likewise.
      	(remove_insn): Update BB boundaries.
      	* expect.c (connect_post_landing_pads): Use delete_related_insns.
      	* flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
      	updating BB boundaries.
      	(propagate_block_delete_insn): Likewise.
      	(propagate_block_delete_libcall): Likewise.
      	* function.c (delete_handlers): Use delete_related_insns.
      	(thread_prologue_and_epilogue_insns): Likewise.
      	* gcse.c (delete_null_pointer_checks): Use delete_related_insns.
      	* genpeep.c (gen_peephole): Use delete_related_insns.
      	* ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
      	BB boundaries.
      	(find_cond_trap): Likewise.
      	* integrate.c (save_for_inline): Use delete_related_insns.
      	(copy_insn_list): Likewise.
      	* jump.c (pruge_linie_number_notes): Likewise.
      	(duplicate_loop_exit_test): Likewise.
      	(delete_computation): Likewise.
      	(delete_related_insn): Rename from ...; use delete_insn
      	(delete_insn): ... this one.
      	(redirect_jump): Use delete_related_insns.
      	* loop.c (scan_loop): Likewise.
      	(move_movables): Likewise.
      	(find_and_verify_loops): Likewise.
      	(check_dbra_loop): Likewise.
      	* recog.c (peephole2_optimize): Likewise.
      	* reg-stack.c (delete_insn_for_stacker): Remove.
      	(move_for_stack_reg): Use delete_insn.
      	* regmove.c (combine_stack_adjustments_for_block): Likewise.
      	* reload1.c (delete_address_reloads): Use delete_related_insns.
      	(fixup_abnormal_edges): Use delete_insn.
      	* recog.c (emit_delay_sequence): Use delete_related_insns.
      	(delete_from-delay_slot): Likewise.
      	(delete_scheduled_jump): likewise.
      	(optimize_skip): Likewise.
      	(try_merge_delay_insns): Likewise.
      	(full_simple_delay_slots): Likewise.
      	(fill_slots_from_thread): Likewise.
      	(relax_delay_slots): Likewise.
      	(make_return_insns): Likewise.
      	(dbr_schedule): Likewise.
      	* rtl.h (delete_insn): Rename to delete_related_insns.
      	(delete_insn, delete_insn_chain): New prototypes.
      	* ssa-ccp (sse_fast_dce):  Remove deleting of DEF, as it is done
      	by df_insn_delete already.
      	* ssa-dce.c (delete_insn_bb): Use delete_insn.
      	* ssa.c (convert_from_ssa): Use delete_related_insns.
      	* unroll.c (unroll_loop): Likewise.
      	(calculate_giv_inc): Likewise.
      	(copy_loop_body): Likewise.
      
      	* i386-protos.h (ix86_libcall_value, ix86_function_value,
      	ix86_function_arg_regno_p, ix86_function_arg_boundary,
      	ix86_return_in_memory, ix86_function_value): Declare.
      	* i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
      	new static valurables.
      	(x86_64_reg_class): New enum
      	(x86_64_reg_class_name): New array.
      	(classify_argument, examine_argument, construct_container,
      	 merge_classes): New static functions.
      	(optimization_options): Enable flag_omit_frame_pointer and disable
      	flag_pcc_struct_return on 64bit.
      	(ix86_libcall_value, ix86_function_value,
      	ix86_function_arg_regno_p, ix86_function_arg_boundary,
      	ix86_return_in_memory, ix86_function_value): New global functions.
      	(init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
      	(function_arg_advance): Handle x86_64 passing conventions.
      	(function_arg): Likewise.
      	* i386.h (FUNCTION_ARG_BOUNDARY): New macro.
      	(RETURN_IN_MEMORY): Move offline.
      	(FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
      	(FUNCTION_VALUE_REGNO_P): New macro.
      	(FUNCTION_ARG_REGNO_P): Move offline.
      	(struct ix86_args): Add maybe_vaarg.
      	* next.h (FUNCTION_VALUE_REGNO_P): Delete.
      	* unix.h (FUNCTION_VALUE_REGNO_P): Delete.
      
      From-SVN: r45726
      Jan Hubicka committed
  23. 16 Sep, 2001 1 commit
    • basic-block.h (free_bb_for_insn): Declare. · 3c030e88
      	* basic-block.h (free_bb_for_insn): Declare.
      	* bb-reorder.c (label_for_bb): Use block_label.
      	(emit_jump_to_block_after): Remove.
      	(insert_intra_1): Do not update block_for_insn.
      	(insert_inter_bb_scope_notes): Likewise; update bb->end
      	* cfg.c (free_bb_for_insn): New.
      	(try_rediret_by_replacing_jump): Avoid set_block_for_new_insns call.
      	(force_nonfallthru_and_redirect): Likewise; do not update BB boundaries.
      	(commit_one_edge_insertion): Likewise.
      	(commit_one_edge_insertion): Do not update BB boundary.
      	(commit_edge_insertions): Do not call compute_bb_for_insn.
      	* cfgbuild.c (find_basic_blocks): Do not free basic_block_for_insn.
      	* cfgcleanup.c (merge_blocks_move_predecessor): Use reorder_insns_nobb.
      	(merge_blocks_move_successor_nojumps): Likewise.
      	(try_crossjump_to_edge): Do not update block_for_insn.
      	* combine.c (combine_instructions): Remove compute_bb_for_insn call.
      	* df.c (df_pattern_emit_later): Do not update BB boundary.
      	(df_jump_pattern_emit_after): Likewise.
      	(df_insn_move_before): Use emit_insn_before.
      	* emit-rtl.c (try_split): Emit after trial to get bb boundary updated
      	 properly.
      	(add_insn_after, add_insn_before, emit_insns_after): Update BB
      	boundaries and basic_block_for_insn.
      	(reorder_insns_nobb): Rename from reorder_insns.
      	(reorder_insns): New.
      	(emit_block_insn_before, emit_block_insn_after): Kill.
      	* flow.c (check_function_return_warnings): Do not call
      	compute_bb_for_insn; Do not free basic_block_for_insn.
      	(attempt_auto_inc): Do not update basic_block_for_insn.
      	* function.c (emit_return_into_block): Likewise;
      	do not update BB boundaries.
      	* gcse.c (handle_avail_expr): Do not update basic_block_for_insn.
      	(insert_insn_end_bb): Use emit_insn_before; Likewise.
      	(pre_insert_copy_insn): Likewise.
      	(update_ld_motion_notes): Likewise.
      	(insert_insn_start_bb): Likewise.
      	(replace_store_insn): Likewise.
      	* ifcvt.c (noce_process_if_block): Likewise.
      	(if_convert): Do not call compute_bb_for_insn.
      	* lcm.c (optimize_mode_switching): Do not update BB boundaries.
      	Use emit_insn_before and emit_insn_after.
      	* recog.c (split_all_insns): Do not update BB boundaries;
      	Do not call compute_bb_for_insn.
      	(peephole2_optimize): Do not update BB boundaries.
      	* reg-stack.c (emit_pop_insn): Use emit_insn_after and
      	emit_insn_before.
      	(emit_swap_insn): Likewise.
      	(convert_regs_1): Likewise.
      	* reload1.c (reload): Call compute_bb_for_insn.
      	* rtl.h (reorder_insns_nobb): Declare.
      	* ssa.c (rename_equivalent_regs): Use emit_insn_before.
      	* toplev.c (rest_of_compilation): Call free_bb_for_insn
      	at places CFG is invalidated; do not call compute_bb_for_insn.
      
      	* cfg.c (expunge_block): Invalidate BB structure.
      
      	* (merge_blocks_nomove): Update properly BLOCK_FOR_INSN
      	array.
      
      	* cfg.c (verify_flow_info): Verify the basic_block_for_insn array.
      
      From-SVN: r45647
      Jan Hubicka committed
  24. 28 Aug, 2001 1 commit
    • df.h (struct df): Add rts_order variable. · d59c5346
      2001-08-28  Daniel Berlin  <dan@cgsoftware.com>
      
      	* df.h (struct df): Add rts_order variable.
      
      	* df.c (df_visit_next_rts): New function.
      	(df_visit_next): Renamed to df_visit_next_rc
      	(df_analyse_1): Allocate/compute/free rts_order as well.
      	(df_rd_global_compute): Use df_visit_next_rc instead of
      	df_visit_next.
      	(df_ru_global_compute): Use df_visit_next_rts instead of
      	df_visit_next.
      
      	* flow.c (flow_reverse_top_sort_order_compute): New function.
      
      	* basic-block.h: Add prototype.
      
      From-SVN: r45246
      Daniel Berlin committed
  25. 26 Aug, 2001 2 commits
  26. 22 Aug, 2001 1 commit
    • Makefile.in, [...]: replace "GNU CC" with "GCC". · 1322177d
      	* 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
      Lars Brinkhoff committed
  27. 08 Aug, 2001 1 commit
    • dbxout.c: Fix comment formatting. · 30f7a378
      	* dbxout.c: Fix comment formatting.
      	* dependence.c: Likewise.
      	* df.c: Likewise.
      	* diagnostic.c: Likewise.
      	* dominance.c: Likewise.
      	* doprint.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* dwarfout.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* except.c: Likewise.
      	* explow.c: Likewise.
      	* expmed.c: Likewise.
      	* expr.c: Likewise.
      	* flow.c: Likewise.
      	* fold-const.c: Likewise.
      	* function.c: Likewise.
      
      From-SVN: r44729
      Kazu Hirata committed
  28. 07 Aug, 2001 1 commit
    • alias.c (nonlocal_mentioned_p): Rename CONST_CALL_P to CONST_OR_PURE_CALL_P · 24a28584
      	* alias.c (nonlocal_mentioned_p):
      	Rename CONST_CALL_P to CONST_OR_PURE_CALL_P
      	* calls.c (emit_call_1): Likewise.
      	* cse.c (cse_insn, invalidate_skipped_block): Likewise.
      	* cselib.c (cselib_process_insn): Likewise.
      	* df.c (df_insns_modify): Likewise.
      	* flow.c (need_fake_edge_p): Likewise.
      	(propagate_one_insn): Likewise.
      	* haifa-sched.c (reemit_notes): Likewise.
      	* integrate.c (copy_insn_list): Likewise.
      	* jump.c (delete_prior_computation): Likewise.
      	* local-alloc.c (validate_equiv_mem): Likewise.
      	* loop.c (scan_loop): Likewise.
      	* predict.c (estimate_probability): Likewise.
      	* reload.c (reload): Likewise.
      	* sched-deps (sched_analyze): Likewise.
      	* rtl.h (CONST_CALL_P): rename to CONST_OR_PURE_CALL_P.
      	* gcse.c (compute_hash_table): Likewise.
      	(mark_call): Likewise.
      	(store_killed_in_insn): Likewise.
      
      From-SVN: r44688
      Jan Hubicka committed
  29. 29 Jul, 2001 1 commit
  30. 16 Jul, 2001 1 commit
    • hard-reg-set.h (regs_invalidated_by_call): Declare. · 4e2db584
              * hard-reg-set.h (regs_invalidated_by_call): Declare.
              * regclass.c (regs_invalidated_by_call): Move from cse.c.
              (init_reg_sets_1): Move initialization from cse_main.
              * cse.c (regs_invalidated_by_call): Move to regclass.c.
              (cse_main): Move its initialization also.
              * df.c (df_insn_refs_record): Use regs_invalidated_by_call.
              * flow.c (propagate_one_insn): Likewise.
              * gcse.c (compute_hash_table): Likewise.
              (compute_kill_rd, compute_store_table): Likewise.
              * sched-deps.c (sched_analyze_1): Likewise.
      
      From-SVN: r44053
      Richard Henderson committed
  31. 10 Jul, 2001 1 commit
    • ssa-ccp.c (first_phi_node): Remove. · af5c573a
              * ssa-ccp.c (first_phi_node): Remove.  Replace uses with calls to
              first_insn_after_basic_block_note instead.
      
              * df.c (df_bb_refs_unlink): #if 0 out for now.
      
              * ssa.h: Add prototype for ssa_const_prop
              * ssa-ccp.c: Add prototype for ssa_fast_dce and mark_references
              (ssa_ccp_substitute_constants): Fix signed vs unsigned comparison
              (ssa_fast_dce): Remove unused variable
      
      From-SVN: r43906
      Jeffrey A Law committed
  32. 28 Jun, 2001 1 commit
    • Makefile.in (OBJS): Add df.o · 10c4b247
              * Makefile.in (OBJS): Add df.o
              (df.o): Add dependencies.
              * basic-block.h (flow_depth_first_order_compute): Declare.
              * flow.c (flow_depth_first_order_compute): No longer declare.
              Make external.
              * df.c, df.h: New files.
      	* po/POTFILES.in: Update for new files.
      
      From-SVN: r43647
      Jeff Law committed