isl_local.c: extract out shared isl_local_dim
commit9b371f781d9556dd7e92fd12113b8d0f2c1ac891
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 10 Nov 2015 14:22:50 +0000 (10 15:22 +0100)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 18 Mar 2018 13:08:24 +0000 (18 14:08 +0100)
tree5a7ba0140ed3344cea35ed90a2e60aefc005eab4
parent23bd3ee5398b3d1f64cd79921129f062315a71c4
isl_local.c: extract out shared isl_local_dim

The current two calls only query the number of local variables,
but future calls may also query the number of other variables or
the total number of variables, so support those too.

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