From f4faf95be23ddc1764a8a38f349afe36db210a61 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Tue, 28 Jun 2011 20:38:40 +0200 Subject: [PATCH] rename isl_local_space_add_dim to isl_local_space_add_dims for consistency Signed-off-by: Sven Verdoolaege --- doc/user.pod | 2 +- include/isl/local_space.h | 2 +- isl_local_space.c | 2 +- isl_map.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/user.pod b/doc/user.pod index 0c3d38d9..afc905ca 100644 --- a/doc/user.pod +++ b/doc/user.pod @@ -623,7 +623,7 @@ using the following functions. __isl_give isl_local_space *isl_local_space_from_domain( __isl_take isl_local_space *ls); - __isl_give isl_local_space *isl_local_space_add_dim( + __isl_give isl_local_space *isl_local_space_add_dims( __isl_take isl_local_space *ls, enum isl_dim_type type, unsigned n); diff --git a/include/isl/local_space.h b/include/isl/local_space.h index e1dbbc4a..664f4fb3 100644 --- a/include/isl/local_space.h +++ b/include/isl/local_space.h @@ -32,7 +32,7 @@ __isl_give isl_div *isl_local_space_get_div(__isl_keep isl_local_space *ls, __isl_give isl_local_space *isl_local_space_from_domain( __isl_take isl_local_space *ls); -__isl_give isl_local_space *isl_local_space_add_dim( +__isl_give isl_local_space *isl_local_space_add_dims( __isl_take isl_local_space *ls, enum isl_dim_type type, unsigned n); int isl_local_space_is_equal(__isl_keep isl_local_space *ls1, diff --git a/isl_local_space.c b/isl_local_space.c index e6a8cb8e..a7d581f7 100644 --- a/isl_local_space.c +++ b/isl_local_space.c @@ -368,7 +368,7 @@ __isl_give isl_local_space *isl_local_space_from_domain( return ls; } -__isl_give isl_local_space *isl_local_space_add_dim( +__isl_give isl_local_space *isl_local_space_add_dims( __isl_take isl_local_space *ls, enum isl_dim_type type, unsigned n) { int pos; diff --git a/isl_map.c b/isl_map.c index afc284d2..f116687f 100644 --- a/isl_map.c +++ b/isl_map.c @@ -8879,7 +8879,7 @@ __isl_give isl_basic_map *isl_basic_map_from_aff(__isl_take isl_aff *aff) ls = isl_aff_get_local_space(aff); ls = isl_local_space_from_domain(ls); - ls = isl_local_space_add_dim(ls, isl_dim_out, 1); + ls = isl_local_space_add_dims(ls, isl_dim_out, 1); bmap = isl_basic_map_from_local_space(ls); bmap = isl_basic_map_extend_constraints(bmap, 1, 0); k = isl_basic_map_alloc_equality(bmap); -- 2.11.4.GIT