diff options
author | Sven Verdoolaege <skimo@kotnet.org> | 2011-08-21 10:38:41 +0200 |
---|---|---|
committer | Sven Verdoolaege <skimo@kotnet.org> | 2011-09-03 12:02:47 +0200 |
commit | d07eed3bf4d0e290118588ca80997a8035eaeb21 (patch) | |
tree | a91f34068f9540feeaf3fe687ca363968de9b5a2 /isl_reordering.h | |
parent | cd1939ed06617d00159e8e51b72a804b467e98b4 (diff) | |
download | isl-d07eed3bf4d0e290118588ca80997a8035eaeb21.tar.gz isl-d07eed3bf4d0e290118588ca80997a8035eaeb21.tar.bz2 isl-d07eed3bf4d0e290118588ca80997a8035eaeb21.zip |
rename isl_dim to isl_space
The old name was confusing because the name suggested that the object
represents a single dimension, while in fact it represents an entire space.
The documented isl_dim based names are for backward compatibility.
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'isl_reordering.h')
-rw-r--r-- | isl_reordering.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/isl_reordering.h b/isl_reordering.h index 7560d3a7..ac5b6fac 100644 --- a/isl_reordering.h +++ b/isl_reordering.h @@ -1,7 +1,7 @@ #ifndef ISL_REORDERING_H #define ISL_REORDERING_H -#include <isl/dim.h> +#include <isl/space.h> /* pos maps original dimensions to new dimensions. * The final dimension is given by dim. @@ -13,18 +13,18 @@ */ struct isl_reordering { int ref; - isl_dim *dim; + isl_space *dim; unsigned len; int pos[1]; }; typedef struct isl_reordering isl_reordering; __isl_give isl_reordering *isl_parameter_alignment_reordering( - __isl_keep isl_dim *alignee, __isl_keep isl_dim *aligner); + __isl_keep isl_space *alignee, __isl_keep isl_space *aligner); __isl_give isl_reordering *isl_reordering_copy(__isl_keep isl_reordering *exp); void *isl_reordering_free(__isl_take isl_reordering *exp); -__isl_give isl_reordering *isl_reordering_extend_dim( - __isl_take isl_reordering *exp, __isl_take isl_dim *dim); +__isl_give isl_reordering *isl_reordering_extend_space( + __isl_take isl_reordering *exp, __isl_take isl_space *dim); __isl_give isl_reordering *isl_reordering_extend(__isl_take isl_reordering *exp, unsigned extra); |