From 2354850e5ecff8b6b2c9d9f933ad7394c8af23ac Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sun, 22 Jul 2012 14:30:23 +0200 Subject: [PATCH] declare isl_pw_multi_aff_drop_dims Signed-off-by: Sven Verdoolaege --- doc/user.pod | 3 +++ include/isl/aff.h | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/doc/user.pod b/doc/user.pod index 9c400ef..b2f6483 100644 --- a/doc/user.pod +++ b/doc/user.pod @@ -3528,6 +3528,9 @@ It can be modified using __isl_give isl_multi_aff *isl_multi_aff_drop_dims( __isl_take isl_multi_aff *maff, enum isl_dim_type type, unsigned first, unsigned n); + __isl_give isl_pw_multi_aff *isl_pw_multi_aff_drop_dims( + __isl_take isl_pw_multi_aff *pma, + enum isl_dim_type type, unsigned first, unsigned n); To check whether two multiple affine expressions are obviously equal to each other, use diff --git a/include/isl/aff.h b/include/isl/aff.h index b892c9f..fc4dbb6 100644 --- a/include/isl/aff.h +++ b/include/isl/aff.h @@ -340,6 +340,10 @@ __isl_give isl_pw_multi_aff *isl_pw_multi_aff_set_tuple_id( __isl_take isl_pw_multi_aff *pma, enum isl_dim_type type, __isl_take isl_id *id); +__isl_give isl_pw_multi_aff *isl_pw_multi_aff_drop_dims( + __isl_take isl_pw_multi_aff *pma, + enum isl_dim_type type, unsigned first, unsigned n); + __isl_give isl_set *isl_pw_multi_aff_domain(__isl_take isl_pw_multi_aff *pma); __isl_give isl_pw_multi_aff *isl_pw_multi_aff_empty(__isl_take isl_space *space); -- 2.7.4