summaryrefslogtreecommitdiff
path: root/gcc/graphite-sese-to-poly.h
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-25 05:19:32 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2009-11-25 05:19:32 +0000
commite9a3f95f5564369e52bf13d4dc9fc97be7668f58 (patch)
treebb4cdaef9f176870449a2ee4eb8295c1323c68a8 /gcc/graphite-sese-to-poly.h
parenta6457fb8f13237911aa3625bbd27dcd903bf427d (diff)
downloadgcc-e9a3f95f5564369e52bf13d4dc9fc97be7668f58.tar.gz
2009-10-20 Li Feng <nemokingdom@gmail.com>
* 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
Diffstat (limited to 'gcc/graphite-sese-to-poly.h')
-rw-r--r--gcc/graphite-sese-to-poly.h8
1 files changed, 6 insertions, 2 deletions
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);