aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2008-08-28 20:02:54 +0000
committerRichard Sandiford <rsandifo@gcc.gnu.org>2008-08-28 20:02:54 +0000
commiteef302d277ea42968569a454ed89ba5c236fe156 (patch)
treef924db7c9c66de457eab2a6629f8d764877ab80c /gcc/rtl.h
parent9b3f31f2ed0f19d5c740684d85afd71152a473c0 (diff)
downloadgcc-eef302d277ea42968569a454ed89ba5c236fe156.zip
gcc-eef302d277ea42968569a454ed89ba5c236fe156.tar.gz
gcc-eef302d277ea42968569a454ed89ba5c236fe156.tar.bz2
rtl.h (simplify_subreg_regno): Declare.
gcc/ * rtl.h (simplify_subreg_regno): Declare. * rtlanal.c (simplify_subreg_regno): New function, split out from... * simplify-rtx.c (simplify_subreg): ...here. * reload.c (find_reloads): Use simplify_subreg_regno instead of subreg_offset_representable_p. From-SVN: r139736
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 42fc2ad..9e7d40a 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1084,6 +1084,8 @@ extern unsigned int subreg_regno_offset (unsigned int, enum machine_mode,
extern bool subreg_offset_representable_p (unsigned int, enum machine_mode,
unsigned int, enum machine_mode);
extern unsigned int subreg_regno (const_rtx);
+extern int simplify_subreg_regno (unsigned int, enum machine_mode,
+ unsigned int, enum machine_mode);
extern unsigned int subreg_nregs (const_rtx);
extern unsigned int subreg_nregs_with_regno (unsigned int, const_rtx);
extern unsigned HOST_WIDE_INT nonzero_bits (const_rtx, enum machine_mode);