isl_basic_map_get_space: extract out isl_basic_map_peek_space
commit876743829554b288cefae7c635f994578040e879
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 27 Sep 2016 07:43:52 +0000 (27 09:43 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 6 Mar 2017 13:39:26 +0000 (6 14:39 +0100)
treee8c7112c86dc9c08cfdc0c3cca9619280c6d775c
parente94e59168f7d701738cbcad6e366e4df7302c0c9
isl_basic_map_get_space: extract out isl_basic_map_peek_space

This function will be used in places where the space is only needed
temporarily, without exposing too much of the internal representation.
That is, this function can be used instead of just accessing
the "dim" field directly.
The argument is qualified as "const" so that it can also be
used by isl_basic_map_total_dim.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_map.c
isl_map_private.h