diff options
author | Sebastian Pop <pop@cri.ensmp.fr> | 2005-11-05 17:50:47 +0100 |
---|---|---|
committer | Sebastian Pop <spop@gcc.gnu.org> | 2005-11-05 16:50:47 +0000 |
commit | 304afda64b71d7db8236375440c79ff0a7c3a748 (patch) | |
tree | 04c21f33875e763a6900f3781420822aed5db6ec /gcc/lambda.h | |
parent | 541c886c9f35a68fbe4e01d82c43909e9d0b4aa7 (diff) | |
download | gcc-304afda64b71d7db8236375440c79ff0a7c3a748.zip gcc-304afda64b71d7db8236375440c79ff0a7c3a748.tar.gz gcc-304afda64b71d7db8236375440c79ff0a7c3a748.tar.bz2 |
lambda-code.c (lambda_transform_legal_p): Use DDR_NUM_DIST_VECTS for testing whether the data_dependence_relation...
* lambda-code.c (lambda_transform_legal_p): Use DDR_NUM_DIST_VECTS
for testing whether the data_dependence_relation contains distance
vectors. Iterate over all distance vectors of the ddr.
* lambda.h: Define a vec of lambda_vector pointers.
* tree-data-ref.c (dump_data_dependence_relation,
dump_data_dependence_direction): Iterate over all distance and
direction vectors of the ddr.
(initialize_data_dependence_relation): Initialize DDR_DIR_VECTS and
DDR_DIST_VECTS.
(build_classic_dist_vector, build_classic_dir_vector): Push a set
of distance/direction vectors instead of a single one.
* tree-data-ref.h (dir_vects, dist_vects): Replace dir/dist
lambda_vectors with a vec of lambda_vectors.
(DDR_DIR_VECT, DDR_DIST_VECT): Redefined as operations on vec.
(DDR_DIR_VECTS, DDR_DIST_VECTS, DDR_NUM_DIR_VECTS,
DDR_NUM_DIST_VECTS): New.
* tree-loop-linear.c (gather_interchange_stats): Test for the
existence of distance vectors only after having checked that there
is a dependence. Iterate over all distance vectors of the ddr.
(linear_transform_loops): Use dump_data_dependence_relation.
* tree-vect-analyze.c (vect_analyze_data_ref_dependence): Test for
distance vectors using DDR_NUM_DIST_VECTS. Iterate over all the
distance vectors of the ddr.
From-SVN: r106530
Diffstat (limited to 'gcc/lambda.h')
-rw-r--r-- | gcc/lambda.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/lambda.h b/gcc/lambda.h index 9855b6f..418cb04 100644 --- a/gcc/lambda.h +++ b/gcc/lambda.h @@ -30,6 +30,9 @@ Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA integers. */ typedef int *lambda_vector; +DEF_VEC_P(lambda_vector); +DEF_VEC_ALLOC_P(lambda_vector,heap); + /* An integer matrix. A matrix consists of m vectors of length n (IE all vectors are the same length). */ typedef lambda_vector *lambda_matrix; |