add isl_constraint_get_aff
[isl.git] / isl_aff_private.h
blob3b3005730eaebe9acc0e1b803b7623f6770ed447
1 #ifndef ISL_AFF_PRIVATE_H
2 #define ISL_AFF_PRIVATE_H
4 #include <isl/aff.h>
5 #include <isl/vec.h>
6 #include <isl/mat.h>
7 #include <isl/local_space.h>
9 struct isl_aff {
10 int ref;
12 isl_local_space *ls;
13 isl_vec *v;
16 struct isl_pw_aff_piece {
17 struct isl_set *set;
18 struct isl_aff *aff;
21 struct isl_pw_aff {
22 int ref;
24 isl_dim *dim;
26 int n;
28 size_t size;
29 struct isl_pw_aff_piece p[1];
32 __isl_give isl_aff *isl_aff_alloc(__isl_take isl_local_space *ls);
34 __isl_give isl_aff *isl_aff_expand_divs( __isl_take isl_aff *aff,
35 __isl_take isl_mat *div, int *exp);
37 __isl_give isl_pw_aff *isl_pw_aff_add_disjoint(
38 __isl_take isl_pw_aff *pwaff1, __isl_take isl_pw_aff *pwaff2);
40 #endif