0
|
1 /* Exported functions from emit-rtl.c
|
|
2 Copyright (C) 2004, 2007, 2008 Free Software Foundation, Inc.
|
|
3
|
|
4 This file is part of GCC.
|
|
5
|
|
6 GCC is free software; you can redistribute it and/or modify it under
|
|
7 the terms of the GNU General Public License as published by the Free
|
|
8 Software Foundation; either version 3, or (at your option) any later
|
|
9 version.
|
|
10
|
|
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
14 for more details.
|
|
15
|
|
16 You should have received a copy of the GNU General Public License
|
|
17 along with GCC; see the file COPYING3. If not see
|
|
18 <http://www.gnu.org/licenses/>. */
|
|
19
|
|
20 #ifndef GCC_EMIT_RTL_H
|
|
21 #define GCC_EMIT_RTL_H
|
|
22
|
|
23 /* Set the alias set of MEM to SET. */
|
|
24 extern void set_mem_alias_set (rtx, alias_set_type);
|
|
25
|
|
26 /* Set the alignment of MEM to ALIGN bits. */
|
|
27 extern void set_mem_align (rtx, unsigned int);
|
|
28
|
|
29 /* Set the expr for MEM to EXPR. */
|
|
30 extern void set_mem_expr (rtx, tree);
|
|
31
|
|
32 /* Set the offset for MEM to OFFSET. */
|
|
33 extern void set_mem_offset (rtx, rtx);
|
|
34
|
|
35 /* Set the size for MEM to SIZE. */
|
|
36 extern void set_mem_size (rtx, rtx);
|
|
37
|
|
38 /* Set the attributes for MEM appropriate for a spill slot. */
|
|
39 extern void set_mem_attrs_for_spill (rtx);
|
|
40 extern tree get_spill_slot_decl (bool);
|
|
41
|
|
42 /* Return a memory reference like MEMREF, but with its address changed to
|
|
43 ADDR. The caller is asserting that the actual piece of memory pointed
|
|
44 to is the same, just the form of the address is being changed, such as
|
|
45 by putting something into a register. */
|
|
46 extern rtx replace_equiv_address (rtx, rtx);
|
|
47
|
|
48 /* Likewise, but the reference is not required to be valid. */
|
|
49 extern rtx replace_equiv_address_nv (rtx, rtx);
|
|
50
|
|
51 #endif /* GCC_EMIT_RTL_H */
|