isl_qpolynomial_domain_offset: extract out isl_qpolynomial_domain_var_offset
commita97a59649629907e10afc8580eb4465c41ae733c
authorSven Verdoolaege <sven.verdoolaege@gmail.com>
Thu, 16 Aug 2018 15:44:54 +0000 (16 17:44 +0200)
committerSven Verdoolaege <sven.verdoolaege@gmail.com>
Sun, 2 Sep 2018 15:14:53 +0000 (2 17:14 +0200)
treebd15122dd5a6e9ef45f8b6ce6728f7b6e02c674b
parent1f2d3373aec3095b35969894f1835eca57a24da8
isl_qpolynomial_domain_offset: extract out isl_qpolynomial_domain_var_offset

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

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