isl_tab_is_redundant: check whether passed constraint index is within bounds
[isl.git] / isl_factorization.h
blob4687b9cfd974c41a6b31fad6b37884fe50577200
1 #include <isl/set.h>
2 #include <isl_morph.h>
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
8 /* Data for factorizing a particular basic set.
9 * After applying "morph" to the basic set, there are "n_group"
10 * groups of consecutive set variables, each of length "len[i]",
11 * with 0 <= i < n_group.
12 * If no factorization is possible, then "n_group" is set to 0.
14 struct isl_factorizer {
15 isl_morph *morph;
16 int n_group;
17 int *len;
19 typedef struct isl_factorizer isl_factorizer;
21 __isl_give isl_factorizer *isl_basic_set_factorizer(
22 __isl_keep isl_basic_set *bset);
24 void isl_factorizer_free(__isl_take isl_factorizer *f);
25 void isl_factorizer_dump(__isl_take isl_factorizer *f);
27 #if defined(__cplusplus)
29 #endif