rename isl_local_space_add_dim to isl_local_space_add_dims for consistency
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 28 Jun 2011 18:38:40 +0000 (20:38 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Thu, 30 Jun 2011 12:17:12 +0000 (14:17 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/local_space.h
isl_local_space.c
isl_map.c

index 0c3d38d..afc905c 100644 (file)
@@ -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);
 
index e1dbbc4..664f4fb 100644 (file)
@@ -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,
index e6a8cb8..a7d581f 100644 (file)
@@ -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;
index afc284d..f116687 100644 (file)
--- 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);