add isl_tab_is_constant
commit10b3de7b470059128c6896ac07a0404ec8c4292b
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 21 Jun 2016 10:57:08 +0000 (21 12:57 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 19 Dec 2016 09:05:20 +0000 (19 10:05 +0100)
tree6c84b2e816c5ff9938e405539f89c1fb5aead9a9
parentd88f2e90bf2fa6eea9859e1a02795d63e81aa38c
add isl_tab_is_constant

This function checks whether any given integer variable can only attain
a single integer value, adding the appropriate equality constraint.
It can be seen as a cheaper form of isl_tab_detect_equalities
that is specialized to only check if the single variable is equal to
a fixed integer value rather than an affine expression.

This function will be used in the next commit to check
whether integer divisions that are copied from one basic map
to another have fixed values in this other basic map.

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