Mercurial > hg > CbC > CbC_gcc
annotate gcc/alias.h @ 88:f214c1d5b862
merge 89
author | Nobuyasu Oshiro <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 20 Dec 2011 18:53:46 +0900 |
parents | f6334be47118 |
children | 04ced10e8804 |
rev | line source |
---|---|
0 | 1 /* Exported functions from alias.c |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
2 Copyright (C) 2004, 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
0 | 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_ALIAS_H | |
21 #define GCC_ALIAS_H | |
22 | |
23 #include "coretypes.h" | |
24 | |
25 /* The type of an alias set. Code currently assumes that variables of | |
26 this type can take the values 0 (the alias set which aliases | |
27 everything) and -1 (sometimes indicating that the alias set is | |
28 unknown, sometimes indicating a memory barrier) and -2 (indicating | |
29 that the alias set should be set to a unique value but has not been | |
30 set yet). */ | |
31 typedef int alias_set_type; | |
32 | |
33 extern alias_set_type new_alias_set (void); | |
34 extern alias_set_type get_alias_set (tree); | |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
35 extern alias_set_type get_deref_alias_set (tree); |
0 | 36 extern alias_set_type get_varargs_alias_set (void); |
37 extern alias_set_type get_frame_alias_set (void); | |
38 extern bool component_uses_parent_alias_set (const_tree); | |
39 extern bool alias_set_subset_of (alias_set_type, alias_set_type); | |
40 extern void record_alias_subset (alias_set_type, alias_set_type); | |
41 extern void record_component_aliases (tree); | |
42 extern int alias_sets_conflict_p (alias_set_type, alias_set_type); | |
43 extern int alias_sets_must_conflict_p (alias_set_type, alias_set_type); | |
44 extern int objects_must_conflict_p (tree, tree); | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
45 extern int nonoverlapping_memrefs_p (const_rtx, const_rtx, bool); |
0 | 46 |
47 /* This alias set can be used to force a memory to conflict with all | |
48 other memories, creating a barrier across which no memory reference | |
49 can move. Note that there are other legacy ways to create such | |
50 memory barriers, including an address of SCRATCH. */ | |
51 #define ALIAS_SET_MEMORY_BARRIER ((alias_set_type) -1) | |
52 | |
53 #endif /* GCC_ALIAS_H */ |