]>
Commit | Line | Data |
---|---|---|
78528714 JQ |
1 | /* Exported functions from emit-rtl.c |
2 | Copyright (C) 2004 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 2, 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 COPYING. If not, write to the Free | |
18 | Software Foundation, 59 Temple Place - Suite 330, Boston, MA | |
19 | 02111-1307, USA. */ | |
20 | ||
21 | #ifndef GCC_EMIT_RTL_H | |
22 | #define GCC_EMIT_RTL_H | |
23 | ||
24 | /* Set the alias set of MEM to SET. */ | |
25 | extern void set_mem_alias_set (rtx, HOST_WIDE_INT); | |
26 | ||
27 | /* Set the alignment of MEM to ALIGN bits. */ | |
28 | extern void set_mem_align (rtx, unsigned int); | |
29 | ||
30 | /* Set the expr for MEM to EXPR. */ | |
31 | extern void set_mem_expr (rtx, tree); | |
32 | ||
33 | /* Set the offset for MEM to OFFSET. */ | |
34 | extern void set_mem_offset (rtx, rtx); | |
35 | ||
36 | /* Set the size for MEM to SIZE. */ | |
37 | extern void set_mem_size (rtx, rtx); | |
38 | ||
39 | /* Return a memory reference like MEMREF, but with its address changed to | |
40 | ADDR. The caller is asserting that the actual piece of memory pointed | |
41 | to is the same, just the form of the address is being changed, such as | |
42 | by putting something into a register. */ | |
43 | extern rtx replace_equiv_address (rtx, rtx); | |
44 | ||
45 | /* Likewise, but the reference is not required to be valid. */ | |
46 | extern rtx replace_equiv_address_nv (rtx, rtx); | |
47 | ||
48 | #endif /* GCC_EMIT_RTL_H */ |