1. 26 Jan, 2003 1 commit
    • df.h: Update comments, tidy formatting. · 7890e8f3
      	* df.h: Update comments, tidy formatting.
      	(DF_FORWARD, DF_REVERSE, DF_UNION, DF_INTERSECTION): Rename from FORWARD,
      	REVERSE, UNION, INTERSECTION.  All uses updated.
      	(OLD_DF_INTERFACE): Remove.
      	(struct insn_info): Remove commented out insn field.
      	* df.c: Update comments, tidy formatting.
      	(df_def_table_realloc): Remove.
      
      From-SVN: r61819
      Michael Hayes committed
  2. 18 Jan, 2003 1 commit
    • alias.c: Fix comment typos. · 95bd1dd7
      	* alias.c: Fix comment typos.
      	* basic-block.h: Likewise.
      	* c-common.c: Likewise.
      	* c-common.h: Likewise.
      	* c-decl.c: Likewise.
      	* c-opts.c: Likewise.
      	* c-pragma.c: Likewise.
      	* c-pretty-print.h: Likewise.
      	* cfg.c: Likewise.
      	* cfganal.c: Likewise.
      	* cfgbuild.c: Likewise.
      	* cfgcleanup.c: Likewise.
      	* cfglayout.c: Likewise.
      	* cfgrtl.c: Likewise.
      	* convert.c: Likewise.
      	* cpphash.h: Likewise.
      	* cpplex.c: Likewise.
      	* cpplib.h: Likewise.
      	* df.h: Likewise.
      	* diagnostic.c: Likewise.
      	* diagnostic.h: Likewise.
      	* dwarf2.h: Likewise.
      
      From-SVN: r61462
      Kazu Hirata committed
  3. 15 Jul, 2002 1 commit
    • [multiple changes] · ed8d2920
      2002-07-15  Michael Matz  <matz@suse.de>,
                  Daniel Berlin  <dberlin@dberlin.org>,
      	    Denis Chertykov  <denisc@overta.ru>
      
      	Add a new register allocator.
      
      	* 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: r55458
      Michael Matz committed
  4. 17 May, 2002 1 commit
  5. 16 May, 2002 1 commit
  6. 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
  7. 26 Nov, 2001 1 commit
  8. 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
  9. 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
  10. 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
  11. 28 Oct, 2001 1 commit
    • ChangeLog.0, [...]: Fix spelling errors. · f63d1bf7
      	* ChangeLog.0, ChangeLog.1, ChangeLog.2, ChangeLog.3, ChangeLog.4,
      	ChangeLog.5, ChangeLog, ChangeLog.lib, FSFChangeLog.10, ONEWS,
      	c-common.c, caller-save.c, cfg.c, cfgcleanup.c, cfgrtl.c,
      	collect2.c, df.h, diagnostic.h, final.c, gcse.c, gthr.h,
      	haifa-sched.c, jump.c, local-alloc.c, profile.c, protoize.c,
      	regmove.c, reload1.c, rtlanal.c, sched-vis.c, ssa.c, stmt.c,
      	system.h, toplev.c: Fix spelling errors.
      
      From-SVN: r46580
      Joseph Myers committed
  12. 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
  13. 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
  14. 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