isl_basic_map_offset: extract out isl_basic_map_var_offset
commitff130026a0dfeeea6b88d1668aaabc971adb42b3
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 16 Aug 2018 08:25:03 +0000 (16 10:25 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Tue, 28 Aug 2018 19:41:54 +0000 (28 21:41 +0200)
tree752d8016c2fe508f42e0d63d7389587e26554c8d
parentea59758ac592a6ebf23c9a5eefc5494f5abd20db
isl_basic_map_offset: extract out isl_basic_map_var_offset

isl_basic_map_offset returns the position of the coefficients
of a given type, while in some cases it is more convenient
to think in terms of the position among the variables.
isl_basic_map_var_offset returns this position.

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