From e9a3f95f5564369e52bf13d4dc9fc97be7668f58 Mon Sep 17 00:00:00 2001 From: spop Date: Wed, 25 Nov 2009 05:19:32 +0000 Subject: 2009-10-20 Li Feng * graphite-sese-to-poly.c (free_data_refs_aux): Update to free the new structure. (pdr_add_alias_set): Update retrieving alias_set_num. (build_poly_dr): Update retrieving dr_base_object_set. (partition_drs_to_sets): Remove. (build_alias_set_optimal_p): New. (build_alias_set_for_drs): Rename. (build_scop_drs): Update. * graphite-sese-to-poly.h (struct base_alias_pair): New. (ALIAS_SET_INDEX): Remove. (BASE_OBJECT_SET_INDEX): Remove. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@154614 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/graphite-sese-to-poly.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'gcc/graphite-sese-to-poly.h') diff --git a/gcc/graphite-sese-to-poly.h b/gcc/graphite-sese-to-poly.h index 9379c14c208..0737c49bd94 100644 --- a/gcc/graphite-sese-to-poly.h +++ b/gcc/graphite-sese-to-poly.h @@ -21,8 +21,12 @@ along with GCC; see the file COPYING3. If not see #ifndef GCC_GRAPHITE_SESE_TO_POLY_H #define GCC_GRAPHITE_SESE_TO_POLY_H -#define ALIAS_SET_INDEX 0 -#define BASE_OBJECT_SET_INDEX 1 +typedef struct base_alias_pair base_alias_pair; +struct base_alias_pair +{ + int base_obj_set; + int *alias_set; +}; bool build_poly_scop (scop_p); void check_poly_representation (scop_p); -- cgit v1.2.1