summaryrefslogtreecommitdiff
path: root/gcc/tree-data-ref.h
diff options
context:
space:
mode:
authorspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-04 07:19:01 +0000
committerspop <spop@138bc75d-0d04-0410-961f-82ee72b054a4>2007-07-04 07:19:01 +0000
commit0ecb94cf0bae7efd2f24b8a4d900cd3128cfdd7a (patch)
tree5c6140337a120fe7609bb4c651252295f28f5463 /gcc/tree-data-ref.h
parent4ee81b10386aeaf0cd5f427667e71d21bae7fd4b (diff)
downloadgcc-0ecb94cf0bae7efd2f24b8a4d900cd3128cfdd7a.tar.gz
* tree-data-ref.h (data_dependence_relation): New flag reversed_p.
(DDR_REVERSED_P): New. * tree-data-ref.c (initialize_data_dependence_relation, build_classic_dist_vector): Set DDR_REVERSED_P. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@126306 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-data-ref.h')
-rw-r--r--gcc/tree-data-ref.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree-data-ref.h b/gcc/tree-data-ref.h
index ddff36a0ec0..0c04c4bf77d 100644
--- a/gcc/tree-data-ref.h
+++ b/gcc/tree-data-ref.h
@@ -251,6 +251,9 @@ struct data_dependence_relation
/* The classic distance vector. */
VEC (lambda_vector, heap) *dist_vects;
+
+ /* Is the dependence reversed with respect to the lexicographic order? */
+ bool reversed_p;
};
typedef struct data_dependence_relation *ddr_p;
@@ -281,6 +284,7 @@ DEF_VEC_ALLOC_P(ddr_p,heap);
VEC_index (lambda_vector, DDR_DIR_VECTS (DDR), I)
#define DDR_DIST_VECT(DDR, I) \
VEC_index (lambda_vector, DDR_DIST_VECTS (DDR), I)
+#define DDR_REVERSED_P(DDR) DDR->reversed_p