summaryrefslogtreecommitdiff
path: root/gcc/alias.h
diff options
context:
space:
mode:
authorJerry Quinn <jlquinn@optonline.net>2004-06-02 02:09:45 +0000
committerJerry Quinn <jlquinn@gcc.gnu.org>2004-06-02 02:09:45 +0000
commit785287145e15dab88c193434e6d07b68b4870783 (patch)
treee21dc25a4f3b3bd29a36d4afee3c7f6a64fb2d72 /gcc/alias.h
parent1e2a2bdc35afe7bbab8d92226882e2494644bc08 (diff)
Makefile.in (EXPR_H): Add insn-config.h...
2004-06-01 Jerry Quinn <jlquinn@optonline.net> * Makefile.in (EXPR_H): Add insn-config.h, function.h, $(RTL_H), flags.h, $(TREE_H), $(MACHMODE_H), $(EXPR_H). (ALIAS_H, EMIT_RTL_H): New. (cselib.o): Replace EXPR_H with EMIT_RTL_H. (cfgcleanup.o): Add EMIT_RTL_H. (alias.o): Replace EXPR_H with EMIT_RTL_H and ALIAS_H. * alias.c: Replace expr.h with emit-rtl.h and alias.h. * attribs.c, c-lex.c, c-obj-common.c, c-semantics.c: Remove expr.h. * cfgcleanup.c, cselib.c: Replace expr.h with emit-rtl.h. * expr.h: Add include guard. Include function.h, rtl.h, flags.h, tree.h, machmode.h, insn-config.h, alias.h, emit-rtl.h. (get_varargs_alias_set, get_frame_alias_set, record_base_value, record_alias_subset, new_alias_set, can_address_p): Move to alias.h. (set_mem_alias_set, set_mem_align, set_mem_expr, set_mem_offset, set_mem_size): Move to emit-rtl.h. * emit-rtl.h: New. * alias.h: New. From-SVN: r82568
Diffstat (limited to 'gcc/alias.h')
-rw-r--r--gcc/alias.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/alias.h b/gcc/alias.h
new file mode 100644
index 00000000000..371cdabf947
--- /dev/null
+++ b/gcc/alias.h
@@ -0,0 +1,31 @@
+/* Exported functions from alias.c
+ Copyright (C) 2004 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free
+Software Foundation; either version 2, or (at your option) any later
+version.
+
+GCC is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or
+FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING. If not, write to the Free
+Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA. */
+
+#ifndef GCC_ALIAS_H
+#define GCC_ALIAS_H
+
+extern HOST_WIDE_INT new_alias_set (void);
+extern void record_alias_subset (HOST_WIDE_INT, HOST_WIDE_INT);
+extern HOST_WIDE_INT get_varargs_alias_set (void);
+extern HOST_WIDE_INT get_frame_alias_set (void);
+extern void record_base_value (unsigned int, rtx, int);
+extern int can_address_p (tree);
+
+#endif /* GCC_ALIAS_H */