add isl_union_set_combined_lineality_space
[isl.git] / isl_constraint_private.h
blob26a86303934ca1240ea7dfb475d38bbc26e63b7a
1 #ifndef ISL_CONSTRAINT_PRIVATE_H
2 #define ISL_CONSTRAINT_PRIVATE_H
4 #include <isl/constraint.h>
5 #include <isl/local_space.h>
6 #include <isl/vec.h>
8 struct isl_constraint {
9 int ref;
11 int eq;
12 isl_local_space *ls;
13 isl_vec *v;
16 #undef EL
17 #define EL isl_constraint
19 #include <isl_list_templ.h>
21 struct isl_constraint *isl_basic_set_constraint(struct isl_basic_set *bset,
22 isl_int **line);
24 void isl_constraint_get_constant(__isl_keep isl_constraint *constraint,
25 isl_int *v);
26 void isl_constraint_get_coefficient(__isl_keep isl_constraint *constraint,
27 enum isl_dim_type type, int pos, isl_int *v);
28 __isl_give isl_constraint *isl_constraint_set_constant(
29 __isl_take isl_constraint *constraint, isl_int v);
30 __isl_give isl_constraint *isl_constraint_set_coefficient(
31 __isl_take isl_constraint *constraint,
32 enum isl_dim_type type, int pos, isl_int v);
34 #endif