aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorBernd Schmidt <bernds@codesourcery.com>2011-07-06 23:11:51 +0000
committerBernd Schmidt <bernds@gcc.gnu.org>2011-07-06 23:11:51 +0000
commit6a4bdc797621dbf63470b88dcd50095571b0fe1d (patch)
tree5f9f7faef58377378ef03c74cddbf4a06d8c42d4 /gcc/rtl.h
parent76594d53186a78667bbb7b25f9231c396509a0a2 (diff)
downloadgcc-6a4bdc797621dbf63470b88dcd50095571b0fe1d.zip
gcc-6a4bdc797621dbf63470b88dcd50095571b0fe1d.tar.gz
gcc-6a4bdc797621dbf63470b88dcd50095571b0fe1d.tar.bz2
emit-rtl.c (paradoxical_subreg_p): New function.
* emit-rtl.c (paradoxical_subreg_p): New function. * rtl.h (paradoxical_subreg_p): Declare. * combine.c (set_nonzero_bits_and_sign_copies, get_last_value, apply_distributive_law, simplify_comparison, simplify_set): Use it. * cse.c (record_jump_cond, cse_insn): Likewise. * expr.c (force_operand): Likewise. * rtlanal.c (num_sign_bit_copies1): Likewise. * reload1.c (eliminate_regs_1, strip_paradoxical_subreg): Likewise. * reload.c (push_secondary_reload, find_reloads_toplev): Likewise. (push_reload): Use precision to check for paradoxical subregs. * expmed.c (extract_bit_field_1): Likewise. From-SVN: r175944
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index 2f2aaca..ac3c871 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -1633,6 +1633,7 @@ extern rtx operand_subword (rtx, unsigned int, int, enum machine_mode);
/* In emit-rtl.c */
extern rtx operand_subword_force (rtx, unsigned int, enum machine_mode);
+extern bool paradoxical_subreg_p (const_rtx);
extern int subreg_lowpart_p (const_rtx);
extern unsigned int subreg_lowpart_offset (enum machine_mode,
enum machine_mode);