1/* Exported functions from alias.c
2   Copyright (C) 2004 Free Software Foundation, Inc.
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify it under
7the terms of the GNU General Public License as published by the Free
8Software Foundation; either version 2, or (at your option) any later
9version.
10
11GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12WARRANTY; without even the implied warranty of MERCHANTABILITY or
13FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING.  If not, write to the Free
18Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
1902110-1301, USA.  */
20
21#ifndef GCC_ALIAS_H
22#define GCC_ALIAS_H
23
24extern HOST_WIDE_INT new_alias_set (void);
25extern HOST_WIDE_INT get_varargs_alias_set (void);
26extern HOST_WIDE_INT get_frame_alias_set (void);
27extern bool component_uses_parent_alias_set (tree);
28
29/* This alias set can be used to force a memory to conflict with all
30   other memories, creating a barrier across which no memory reference
31   can move.  Note that there are other legacy ways to create such
32   memory barriers, including an address of SCRATCH.  */
33#define ALIAS_SET_MEMORY_BARRIER	((HOST_WIDE_INT) -1)
34
35#endif /* GCC_ALIAS_H */
36