CLooG 0.18.4
[cloog.git] / include / cloog / isl / constraintset.h
blob5d48cdb3fa3cc8c016b8b6c158c7fbd119ad9b4d
1 #ifndef CLOOG_ISL_CONSTRAINTSET_H
2 #define CLOOG_ISL_CONSTRAINTSET_H
4 #include <cloog/isl/backend.h>
6 #if defined(__cplusplus)
7 extern "C"
9 #endif
11 struct cloogconstraintset {
12 int dummy; /* Solaris cc doesn't like zero-sized structs */
15 struct cloogequalities {
16 int n;
17 unsigned total_dim;
18 isl_constraint **constraints;
19 int *types;
22 struct cloogconstraint {
23 int dummy; /* Solaris cc doesn't like zero-sized structs */
26 CloogConstraintSet *cloog_constraint_set_from_isl_basic_set(struct isl_basic_set *bset);
27 CloogConstraint *cloog_constraint_from_isl_constraint(struct isl_constraint *constraint);
28 isl_constraint *cloog_constraint_to_isl(CloogConstraint *constraint);
30 __isl_give isl_val *cloog_int_to_isl_val(isl_ctx* ctx, cloog_int_t c);
31 void isl_val_to_cloog_int(__isl_keep isl_val *val, cloog_int_t *cint);
33 __isl_give isl_val *cloog_constraint_coefficient_get_val(CloogConstraint *constraint,
34 int var);
36 #if defined(__cplusplus)
38 #endif
39 #endif /* define _H */