]> gcc.gnu.org Git - gcc.git/commit - gcc/postreload.c
regset.h (fixed_reg_set_regset): Declare.
authorJoern Rennecke <joern.rennecke@embecosm.com>
Sun, 6 Nov 2011 22:58:54 +0000 (22:58 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Sun, 6 Nov 2011 22:58:54 +0000 (22:58 +0000)
commit9e582b1da06d78eab05921174bdc9e7f0464c17f
tree292c99c70f3521110cea26b4cb276bbfa0bbdc77
parent57899d2fc591789a7ef0839d6e38e954a5f494e0
regset.h (fixed_reg_set_regset): Declare.

        * regset.h (fixed_reg_set_regset): Declare.
        * dse.c: Include regset.h .
        (struct insn_info): Add member fixed_regs_live.
        (note_add_store_info): New typedef.
        (note_add_store): New function.
        (emit_inc_dec_insn_before): Expect arg to be of type insn_info_t .
        Use gen_add3_insn / gen_move_insn.
        Check new insn for unwanted clobbers before emitting it.
        (check_for_inc_dec): Rename to...
        (check_for_inc_dec_1:) ... this.  Return bool.  Take insn_info
        parameter.  Changed all callers in file.
        (check_for_inc_dec, copy_fixed_regs): New functions.
        (scan_insn): Set fixed_regs_live field of insn_info.
        * rtl.h (check_for_inc_dec): Update prototype.
        * postreload.c (reload_cse_simplify): Take new signature of
        check_ind_dec into account.
        * reginfo.c (fixed_reg_set_regset): New variable.
        (init_reg_sets_1): Initialize it.

Co-Authored-By: Eric Botcazou <ebotcazou@adacore.com>
From-SVN: r181046
gcc/ChangeLog
gcc/dse.c
gcc/postreload.c
gcc/reginfo.c
gcc/regset.h
gcc/rtl.h
This page took 0.057634 seconds and 5 git commands to generate.