isl_map_get_space: extract out isl_map_peek_space
commit37189bbe5e49274a886ed1efb74c90f50ea4c3c4
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 17 Jan 2017 12:52:04 +0000 (17 13:52 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 6 Mar 2017 13:39:35 +0000 (6 14:39 +0100)
tree527aba58e0156d4ac5a3722765f43d3c16447ea8
parent876743829554b288cefae7c635f994578040e879
isl_map_get_space: extract out isl_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_map_n_* in a future commit.

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