add isl_space_extend_domain_with_range
[isl.git] / isl_local_space_private.h
blob85ecfe159b27351e95ecdd91631c38c19e6a932d
1 #ifndef ISL_LOCAL_SPACE_PRIVATE_H
2 #define ISL_LOCAL_SPACE_PRIVATE_H
4 #include <isl/div.h>
5 #include <isl/mat.h>
6 #include <isl/set.h>
7 #include <isl/local_space.h>
9 struct isl_local_space {
10 int ref;
12 isl_space *dim;
13 isl_mat *div;
16 __isl_give isl_local_space *isl_local_space_alloc(__isl_take isl_space *dim,
17 unsigned n_div);
19 __isl_give isl_local_space *isl_local_space_add_div(
20 __isl_take isl_local_space *ls, __isl_take isl_vec *div);
22 __isl_give isl_mat *isl_merge_divs(__isl_keep isl_mat *div1,
23 __isl_keep isl_mat *div2, int *exp1, int *exp2);
25 unsigned isl_local_space_offset(__isl_keep isl_local_space *ls,
26 enum isl_dim_type type);
28 __isl_give isl_local_space *isl_local_space_replace_divs(
29 __isl_take isl_local_space *ls, __isl_take isl_mat *div);
30 int isl_local_space_divs_known(__isl_keep isl_local_space *ls);
32 __isl_give isl_local_space *isl_local_space_substitute_equalities(
33 __isl_take isl_local_space *ls, __isl_take isl_basic_set *eq);
35 int isl_local_space_is_named_or_nested(__isl_keep isl_local_space *ls,
36 enum isl_dim_type type);
38 __isl_give isl_local_space *isl_local_space_reset_space(
39 __isl_take isl_local_space *ls, __isl_take isl_space *dim);
40 __isl_give isl_local_space *isl_local_space_realign(
41 __isl_take isl_local_space *ls, __isl_take isl_reordering *r);
43 int isl_local_space_is_div_constraint(__isl_keep isl_local_space *ls,
44 isl_int *constraint, unsigned div);
46 int *isl_local_space_get_active(__isl_keep isl_local_space *ls, isl_int *l);
48 #endif