]> git.ipfire.org Git - thirdparty/gcc.git/commit
rtlanal.c (struct subreg_info, [...]): New.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 20 Dec 2006 16:25:00 +0000 (16:25 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Wed, 20 Dec 2006 16:25:00 +0000 (16:25 +0000)
commitf1f4e530a59db86e577e9e83871626c782e33585
treee5723b345a12a4d1072befdb9b246a6a0ddc5270
parentee8c1b05d53213625231c9df895501823b19d44c
rtlanal.c (struct subreg_info, [...]): New.

* rtlanal.c (struct subreg_info, subreg_get_info, subreg_nregs):
New.
(subreg_regno_offset, subreg_offset_representable_p): Change to
wrappers about subreg_get_info.
(refers_to_regno_p, reg_overlap_mentioned_p): Use subreg_nregs.
* rtl.h (subreg_nregs): Declare.
* doc/tm.texi (HARD_REGNO_NREGS_HAS_PADDING): Update to refer to
subreg_get_info.
* caller-save.c (mark_set_regs, add_stored_regs): Use
subreg_nregs.
* df-scan.c (df_ref_record): Use subreg_nregs.
* flow.c (mark_set_1): Use subreg_nregs.
* postreload.c (move2add_note_store): Use subreg_nregs.
* reload.c (decompose, refers_to_regno_for_reload_p,
reg_overlap_mentioned_for_reload_p): Use subreg_nregs.
* resource.c (update_live_status, mark_referenced_resources,
mark_set_resources): Use subreg_nregs.

From-SVN: r120076
gcc/ChangeLog
gcc/caller-save.c
gcc/df-scan.c
gcc/doc/tm.texi
gcc/flow.c
gcc/postreload.c
gcc/reload.c
gcc/resource.c
gcc/rtl.h
gcc/rtlanal.c