1169689Skan/* Exported functions from emit-rtl.c
2169689Skan   Copyright (C) 2004 Free Software Foundation, Inc.
3169689Skan
4169689SkanThis file is part of GCC.
5169689Skan
6169689SkanGCC is free software; you can redistribute it and/or modify it under
7169689Skanthe terms of the GNU General Public License as published by the Free
8169689SkanSoftware Foundation; either version 2, or (at your option) any later
9169689Skanversion.
10169689Skan
11169689SkanGCC is distributed in the hope that it will be useful, but WITHOUT ANY
12169689SkanWARRANTY; without even the implied warranty of MERCHANTABILITY or
13169689SkanFITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14169689Skanfor more details.
15169689Skan
16169689SkanYou should have received a copy of the GNU General Public License
17169689Skanalong with GCC; see the file COPYING.  If not, write to the Free
18169689SkanSoftware Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
19169689Skan02110-1301, USA.  */
20169689Skan
21169689Skan#ifndef GCC_EMIT_RTL_H
22169689Skan#define GCC_EMIT_RTL_H
23169689Skan
24169689Skan/* Set the alias set of MEM to SET.  */
25169689Skanextern void set_mem_alias_set (rtx, HOST_WIDE_INT);
26169689Skan
27169689Skan/* Set the alignment of MEM to ALIGN bits.  */
28169689Skanextern void set_mem_align (rtx, unsigned int);
29169689Skan
30169689Skan/* Set the expr for MEM to EXPR.  */
31169689Skanextern void set_mem_expr (rtx, tree);
32169689Skan
33169689Skan/* Set the offset for MEM to OFFSET.  */
34169689Skanextern void set_mem_offset (rtx, rtx);
35169689Skan
36169689Skan/* Set the size for MEM to SIZE.  */
37169689Skanextern void set_mem_size (rtx, rtx);
38169689Skan
39169689Skan/* Return a memory reference like MEMREF, but with its address changed to
40169689Skan   ADDR.  The caller is asserting that the actual piece of memory pointed
41169689Skan   to is the same, just the form of the address is being changed, such as
42169689Skan   by putting something into a register.  */
43169689Skanextern rtx replace_equiv_address (rtx, rtx);
44169689Skan
45169689Skan/* Likewise, but the reference is not required to be valid.  */
46169689Skanextern rtx replace_equiv_address_nv (rtx, rtx);
47169689Skan
48169689Skan#endif /* GCC_EMIT_RTL_H */
49