]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/alias.h
Update copyright years.
[thirdparty/gcc.git] / gcc / alias.h
CommitLineData
4c74e6d9 1/* Exported functions from alias.c
fbd26352 2 Copyright (C) 2004-2019 Free Software Foundation, Inc.
4c74e6d9 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
8c4c00c1 8Software Foundation; either version 3, or (at your option) any later
4c74e6d9 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
8c4c00c1 17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
4c74e6d9 19
20#ifndef GCC_ALIAS_H
21#define GCC_ALIAS_H
22
32c2fdea 23extern alias_set_type new_alias_set (void);
a306ee43 24extern alias_set_type get_alias_set (tree);
dd277d48 25extern alias_set_type get_deref_alias_set (tree);
32c2fdea 26extern alias_set_type get_varargs_alias_set (void);
27extern alias_set_type get_frame_alias_set (void);
d400f5e1 28extern tree component_uses_parent_alias_set_from (const_tree);
32c2fdea 29extern bool alias_set_subset_of (alias_set_type, alias_set_type);
892fdb03 30extern void record_alias_subset (alias_set_type, alias_set_type);
a306ee43 31extern void record_component_aliases (tree);
32extern int alias_sets_conflict_p (alias_set_type, alias_set_type);
33extern int alias_sets_must_conflict_p (alias_set_type, alias_set_type);
34extern int objects_must_conflict_p (tree, tree);
a84256aa 35extern int nonoverlapping_memrefs_p (const_rtx, const_rtx, bool);
5b6bf098 36extern void dump_alias_stats_in_alias_c (FILE *s);
bd93e4f8 37tree reference_alias_ptr_type (tree);
38bool alias_ptr_types_compatible_p (tree, tree);
96ba6770 39int compare_base_decls (tree, tree);
4c74e6d9 40
c94cfd1c 41/* This alias set can be used to force a memory to conflict with all
42 other memories, creating a barrier across which no memory reference
43 can move. Note that there are other legacy ways to create such
44 memory barriers, including an address of SCRATCH. */
32c2fdea 45#define ALIAS_SET_MEMORY_BARRIER ((alias_set_type) -1)
c94cfd1c 46
4c74e6d9 47#endif /* GCC_ALIAS_H */