Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
__isl_give isl_dim *isl_union_pw_qpolynomial_fold_get_dim(
__isl_keep isl_union_pw_qpolynomial_fold *upwf);
+ #include <isl/aff.h>
+ __isl_give isl_dim *isl_aff_get_dim(
+ __isl_keep isl_aff *aff);
+
The names of the individual dimensions may be set or read off
using the following functions.
int isl_aff_dim(__isl_keep isl_aff *aff, enum isl_dim_type type);
+__isl_give isl_dim *isl_aff_get_dim(__isl_keep isl_aff *aff);
__isl_give isl_local_space *isl_aff_get_local_space(__isl_keep isl_aff *aff);
const char *isl_aff_get_dim_name(__isl_keep isl_aff *aff,
return aff ? isl_local_space_dim(aff->ls, type) : 0;
}
+__isl_give isl_dim *isl_aff_get_dim(__isl_keep isl_aff *aff)
+{
+ return aff ? isl_local_space_get_dim(aff->ls) : NULL;
+}
+
__isl_give isl_local_space *isl_aff_get_local_space(__isl_keep isl_aff *aff)
{
return aff ? isl_local_space_copy(aff->ls) : NULL;