add isl_mat_diag
[isl.git] / isl_local_space_private.h
blob6f3e93de643378cddae65da365219e78685b5fa9
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_dim *dim;
13 isl_mat *div;
16 __isl_give isl_local_space *isl_local_space_alloc(__isl_take isl_dim *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_dim(
39 __isl_take isl_local_space *ls, __isl_take isl_dim *dim);
40 __isl_give isl_local_space *isl_local_space_realign(
41 __isl_take isl_local_space *ls, __isl_take isl_reordering *r);
43 #endif