summaryrefslogtreecommitdiff
path: root/gcc/expr.h
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-12 02:47:55 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2001-12-12 02:47:55 +0000
commit8259ab073a26c51edd402611be081ae3af277cb9 (patch)
treed0c847cd9f0510c842ba5ecc5cdd2721a76aa489 /gcc/expr.h
parentf095ddef663b35d7eafdbbf7c26423775eefc608 (diff)
downloadgcc-8259ab073a26c51edd402611be081ae3af277cb9.tar.gz
* emit-rtl.c (widen_memory_access): New.
* expr.h (widen_memory_access): Declare it. * config/alpha/alpha.c (get_aligned_mem): Use it. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47913 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/expr.h')
-rw-r--r--gcc/expr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/expr.h b/gcc/expr.h
index 192733b9a5c..e5b488aec33 100644
--- a/gcc/expr.h
+++ b/gcc/expr.h
@@ -646,6 +646,10 @@ extern rtx replace_equiv_address PARAMS ((rtx, rtx));
/* Likewise, but the reference is not required to be valid. */
extern rtx replace_equiv_address_nv PARAMS ((rtx, rtx));
+/* Return a memory reference like MEMREF, but with its mode widened to
+ MODE and adjusted by OFFSET. */
+extern rtx widen_memory_access PARAMS ((rtx, enum machine_mode, HOST_WIDE_INT));
+
/* Return a memory reference like MEMREF, but which is known to have a
valid address. */
extern rtx validize_mem PARAMS ((rtx));