From a3e48a5b14c0500318db2e4a658849f02fa55b38 Mon Sep 17 00:00:00 2001 From: spop Date: Fri, 31 Jul 2009 02:35:02 +0000 Subject: Remove unused function and field in data_reference. 2009-07-30 Sebastian Pop * tree-data-ref.c (stmt_simple_memref_p: Removed. * tree-data-ref.h (scop_p): Removed. (struct data_reference): Remove field scop. (DR_SCOP): Removed. (stmt_simple_memref_p): Removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150295 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/tree-data-ref.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'gcc/tree-data-ref.h') diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h index dfce23309f5..eea73dd3900 100644 --- a/gcc/tree-data-ref.h +++ b/gcc/tree-data-ref.h @@ -96,8 +96,6 @@ struct dr_alias bitmap vops; }; -typedef struct scop *scop_p; - /* Each vector of the access matrix represents a linear access function for a subscript. First elements correspond to the leftmost indices, ie. for a[i][j] the first vector corresponds to @@ -184,14 +182,10 @@ struct data_reference /* Alias information for the data reference. */ struct dr_alias alias; - /* The SCoP in which the data reference was analyzed. */ - scop_p scop; - /* Matrix representation for the data access functions. */ struct access_matrix *access_matrix; }; -#define DR_SCOP(DR) (DR)->scop #define DR_STMT(DR) (DR)->stmt #define DR_REF(DR) (DR)->ref #define DR_BASE_OBJECT(DR) (DR)->indices.base_object @@ -418,7 +412,6 @@ extern void compute_all_dependences (VEC (data_reference_p, heap) *, extern void create_rdg_vertices (struct graph *, VEC (gimple, heap) *); extern bool dr_may_alias_p (const struct data_reference *, const struct data_reference *); -extern bool stmt_simple_memref_p (struct loop *, gimple, tree); /* Return true when the DDR contains two data references that have the same access functions. */ -- cgit v1.2.1