2007-03-01 Paul Brook <paul@codesourcery.com>
[official-gcc.git] / gcc / alias.h
blob46130e8e438d0b830c1a011ae48dad2ecbaa95dc
1 /* Exported functions from alias.c
2 Copyright (C) 2004 Free Software Foundation, Inc.
4 This file is part of GCC.
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.
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.
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, 51 Franklin Street, Fifth Floor, Boston, MA
19 02110-1301, USA. */
21 #ifndef GCC_ALIAS_H
22 #define GCC_ALIAS_H
24 extern HOST_WIDE_INT new_alias_set (void);
25 extern HOST_WIDE_INT get_varargs_alias_set (void);
26 extern HOST_WIDE_INT get_frame_alias_set (void);
27 extern bool component_uses_parent_alias_set (tree);
28 extern bool alias_set_subset_of (HOST_WIDE_INT, HOST_WIDE_INT);
30 /* This alias set can be used to force a memory to conflict with all
31 other memories, creating a barrier across which no memory reference
32 can move. Note that there are other legacy ways to create such
33 memory barriers, including an address of SCRATCH. */
34 #define ALIAS_SET_MEMORY_BARRIER ((HOST_WIDE_INT) -1)
36 #endif /* GCC_ALIAS_H */