1*38fd1498Szrj /* Exported functions from alias.c 2*38fd1498Szrj Copyright (C) 2004-2018 Free Software Foundation, Inc. 3*38fd1498Szrj 4*38fd1498Szrj This file is part of GCC. 5*38fd1498Szrj 6*38fd1498Szrj GCC is free software; you can redistribute it and/or modify it under 7*38fd1498Szrj the terms of the GNU General Public License as published by the Free 8*38fd1498Szrj Software Foundation; either version 3, or (at your option) any later 9*38fd1498Szrj version. 10*38fd1498Szrj 11*38fd1498Szrj GCC is distributed in the hope that it will be useful, but WITHOUT ANY 12*38fd1498Szrj WARRANTY; without even the implied warranty of MERCHANTABILITY or 13*38fd1498Szrj FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14*38fd1498Szrj for more details. 15*38fd1498Szrj 16*38fd1498Szrj You should have received a copy of the GNU General Public License 17*38fd1498Szrj along with GCC; see the file COPYING3. If not see 18*38fd1498Szrj <http://www.gnu.org/licenses/>. */ 19*38fd1498Szrj 20*38fd1498Szrj #ifndef GCC_ALIAS_H 21*38fd1498Szrj #define GCC_ALIAS_H 22*38fd1498Szrj 23*38fd1498Szrj extern alias_set_type new_alias_set (void); 24*38fd1498Szrj extern alias_set_type get_alias_set (tree); 25*38fd1498Szrj extern alias_set_type get_deref_alias_set (tree); 26*38fd1498Szrj extern alias_set_type get_varargs_alias_set (void); 27*38fd1498Szrj extern alias_set_type get_frame_alias_set (void); 28*38fd1498Szrj extern tree component_uses_parent_alias_set_from (const_tree); 29*38fd1498Szrj extern bool alias_set_subset_of (alias_set_type, alias_set_type); 30*38fd1498Szrj extern void record_alias_subset (alias_set_type, alias_set_type); 31*38fd1498Szrj extern void record_component_aliases (tree); 32*38fd1498Szrj extern int alias_sets_conflict_p (alias_set_type, alias_set_type); 33*38fd1498Szrj extern int alias_sets_must_conflict_p (alias_set_type, alias_set_type); 34*38fd1498Szrj extern int objects_must_conflict_p (tree, tree); 35*38fd1498Szrj extern int nonoverlapping_memrefs_p (const_rtx, const_rtx, bool); 36*38fd1498Szrj extern void dump_alias_stats_in_alias_c (FILE *s); 37*38fd1498Szrj tree reference_alias_ptr_type (tree); 38*38fd1498Szrj bool alias_ptr_types_compatible_p (tree, tree); 39*38fd1498Szrj int compare_base_decls (tree, tree); 40*38fd1498Szrj 41*38fd1498Szrj /* This alias set can be used to force a memory to conflict with all 42*38fd1498Szrj other memories, creating a barrier across which no memory reference 43*38fd1498Szrj can move. Note that there are other legacy ways to create such 44*38fd1498Szrj memory barriers, including an address of SCRATCH. */ 45*38fd1498Szrj #define ALIAS_SET_MEMORY_BARRIER ((alias_set_type) -1) 46*38fd1498Szrj 47*38fd1498Szrj #endif /* GCC_ALIAS_H */ 48