rename map_offset to isl_map_offset for consistency
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 20 Sep 2016 13:46:30 +0000 (20 15:46 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Fri, 14 May 2021 22:16:01 +0000 (15 00:16 +0200)
This will also make it easier to (privately) export
the function in the next commit.

Signed-off-by: Sven Verdoolaege <sven.verdoolaege@gmail.com>
isl_map.c

index b1d082c..8082649 100644 (file)
--- a/isl_map.c
+++ b/isl_map.c
@@ -172,7 +172,7 @@ unsigned isl_basic_set_offset(__isl_keep isl_basic_set *bset,
        return isl_basic_map_offset(bset, type);
 }
 
-static unsigned map_offset(__isl_keep isl_map *map, enum isl_dim_type type)
+static unsigned isl_map_offset(__isl_keep isl_map *map, enum isl_dim_type type)
 {
        return pos(map->dim, type);
 }
@@ -10078,7 +10078,7 @@ isl_bool isl_map_plain_is_fixed(__isl_keep isl_map *map,
        if (isl_map_check_range(map, type, pos, 1) < 0)
                return isl_bool_error;
        return isl_map_plain_has_fixed_var(map,
-               map_offset(map, type) - 1 + pos, val);
+               isl_map_offset(map, type) - 1 + pos, val);
 }
 
 /* If "map" obviously lies on a hyperplane where the given dimension