aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-structalias.h
diff options
context:
space:
mode:
authorDaniel Berlin <dberlin@dberlin.org>2005-06-09 13:05:39 +0000
committerDaniel Berlin <dberlin@gcc.gnu.org>2005-06-09 13:05:39 +0000
commit910fdc79ea9fe5da9cded92bceb7d2f4e7368e43 (patch)
tree75032da16867a5ae124f136fe53fb7e86f768eb1 /gcc/tree-ssa-structalias.h
parent5878b92f9edefa7c60d5508fbba8441dc1358df9 (diff)
downloadgcc-910fdc79ea9fe5da9cded92bceb7d2f4e7368e43.zip
gcc-910fdc79ea9fe5da9cded92bceb7d2f4e7368e43.tar.gz
gcc-910fdc79ea9fe5da9cded92bceb7d2f4e7368e43.tar.bz2
Makefile.in (OBJS-common): Add tree-ssa-structalias.o.
2005-06-08 Daniel Berlin <dberlin@dberlin.org> * Makefile.in (OBJS-common): Add tree-ssa-structalias.o. * tree-flow.h (find_what_p_points_to): Add prototype. (push_fields_onto_fieldstack): Ditto. (sort_fieldstack): Ditto. * tree-optimize.c (init_tree_optimization_passes): Add pass_build_pta and pass_del_pta. * tree-pass.h (pass_build_pta): New structure. (pass_del_pta): Ditto. * tree-ssa-alias.c (compute_flow_sensitive_aliasing): Disambiguate using new alias analyzer. (push_fields_onto_fieldstack): Removed from here. (bitpos_of_field): Ditto. (fieldoff_compare): Ditto. * tree-ssa-structalias.c: New file. * tree-ssa-structalias.h: Ditto. From-SVN: r100800
Diffstat (limited to 'gcc/tree-ssa-structalias.h')
-rw-r--r--gcc/tree-ssa-structalias.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/gcc/tree-ssa-structalias.h b/gcc/tree-ssa-structalias.h
new file mode 100644
index 0000000..4725f28
--- /dev/null
+++ b/gcc/tree-ssa-structalias.h
@@ -0,0 +1,33 @@
+/* Tree based points-to analysis
+ Copyright (C) 2002, 2003 Free Software Foundation, Inc.
+ Contributed by Daniel Berlin <dberlin@dberlin.org>
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, 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; if not, write to the Free Software
+Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+*/
+
+#ifndef TREE_ALIAS_COMMON
+#define TREE_ALIAS_COMMON
+
+struct constraint;
+typedef struct constraint *constraint_t;
+extern void dump_constraint (FILE *, constraint_t);
+extern void dump_constraints (FILE *);
+extern void debug_constraint (constraint_t);
+extern void debug_constraints (void);
+extern void dump_solution_for_var (FILE *, unsigned int);
+extern void debug_solution_for_var (unsigned int);
+#endif /* TREE_ALIAS_COMMON */