• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/toolchains/hndtools-armeabi-2013.11/lib/gcc/arm-none-eabi/4.8.1/plugin/include/
1/* Exported functions from alias.c
2   Copyright (C) 2004-2013 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 3, 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 COPYING3.  If not see
18<http://www.gnu.org/licenses/>.  */
19
20#ifndef GCC_ALIAS_H
21#define GCC_ALIAS_H
22
23/* The type of an alias set.  Code currently assumes that variables of
24   this type can take the values 0 (the alias set which aliases
25   everything) and -1 (sometimes indicating that the alias set is
26   unknown, sometimes indicating a memory barrier) and -2 (indicating
27   that the alias set should be set to a unique value but has not been
28   set yet).  */
29typedef int alias_set_type;
30
31extern alias_set_type new_alias_set (void);
32extern alias_set_type get_alias_set (tree);
33extern alias_set_type get_deref_alias_set (tree);
34extern alias_set_type get_varargs_alias_set (void);
35extern alias_set_type get_frame_alias_set (void);
36extern bool component_uses_parent_alias_set (const_tree);
37extern bool alias_set_subset_of (alias_set_type, alias_set_type);
38extern void record_alias_subset (alias_set_type, alias_set_type);
39extern void record_component_aliases (tree);
40extern int alias_sets_conflict_p (alias_set_type, alias_set_type);
41extern int alias_sets_must_conflict_p (alias_set_type, alias_set_type);
42extern int objects_must_conflict_p (tree, tree);
43extern int nonoverlapping_memrefs_p (const_rtx, const_rtx, bool);
44
45/* This alias set can be used to force a memory to conflict with all
46   other memories, creating a barrier across which no memory reference
47   can move.  Note that there are other legacy ways to create such
48   memory barriers, including an address of SCRATCH.  */
49#define ALIAS_SET_MEMORY_BARRIER	((alias_set_type) -1)
50
51#endif /* GCC_ALIAS_H */
52