1169689Skan/* Exported functions from alias.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_ALIAS_H
22169689Skan#define GCC_ALIAS_H
23169689Skan
24169689Skanextern HOST_WIDE_INT new_alias_set (void);
25169689Skanextern HOST_WIDE_INT get_varargs_alias_set (void);
26169689Skanextern HOST_WIDE_INT get_frame_alias_set (void);
27169689Skanextern bool component_uses_parent_alias_set (tree);
28169689Skan
29169689Skan/* This alias set can be used to force a memory to conflict with all
30169689Skan   other memories, creating a barrier across which no memory reference
31169689Skan   can move.  Note that there are other legacy ways to create such
32169689Skan   memory barriers, including an address of SCRATCH.  */
33169689Skan#define ALIAS_SET_MEMORY_BARRIER	((HOST_WIDE_INT) -1)
34169689Skan
35169689Skan#endif /* GCC_ALIAS_H */
36