aff.h   aff.h 
#ifndef ISL_AFF_H #ifndef ISL_AFF_H
#define ISL_AFF_H #define ISL_AFF_H
#include <isl/div.h>
#include <isl/local_space.h> #include <isl/local_space.h>
#include <isl/printer.h> #include <isl/printer.h>
#include <isl/set_type.h> #include <isl/set_type.h>
#include <isl/aff_type.h> #include <isl/aff_type.h>
#include <isl/list.h>
#include <isl/multi.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
__isl_give isl_aff *isl_aff_zero(__isl_take isl_local_space *ls); __isl_give isl_aff *isl_aff_zero_on_domain(__isl_take isl_local_space *ls);
__isl_give isl_aff *isl_aff_copy(__isl_keep isl_aff *aff); __isl_give isl_aff *isl_aff_copy(__isl_keep isl_aff *aff);
void *isl_aff_free(__isl_take isl_aff *aff); void *isl_aff_free(__isl_take isl_aff *aff);
isl_ctx *isl_aff_get_ctx(__isl_keep isl_aff *aff); isl_ctx *isl_aff_get_ctx(__isl_keep isl_aff *aff);
int isl_aff_dim(__isl_keep isl_aff *aff, enum isl_dim_type type); int isl_aff_dim(__isl_keep isl_aff *aff, enum isl_dim_type type);
int isl_aff_involves_dims(__isl_keep isl_aff *aff, int isl_aff_involves_dims(__isl_keep isl_aff *aff,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_dim *isl_aff_get_dim(__isl_keep isl_aff *aff); __isl_give isl_space *isl_aff_get_domain_space(__isl_keep isl_aff *aff);
__isl_give isl_space *isl_aff_get_space(__isl_keep isl_aff *aff);
__isl_give isl_local_space *isl_aff_get_domain_local_space(
__isl_keep isl_aff *aff);
__isl_give isl_local_space *isl_aff_get_local_space(__isl_keep isl_aff *aff ); __isl_give isl_local_space *isl_aff_get_local_space(__isl_keep isl_aff *aff );
const char *isl_aff_get_dim_name(__isl_keep isl_aff *aff, const char *isl_aff_get_dim_name(__isl_keep isl_aff *aff,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
int isl_aff_get_constant(__isl_keep isl_aff *aff, isl_int *v); int isl_aff_get_constant(__isl_keep isl_aff *aff, isl_int *v);
int isl_aff_get_coefficient(__isl_keep isl_aff *aff, int isl_aff_get_coefficient(__isl_keep isl_aff *aff,
enum isl_dim_type type, int pos, isl_int *v); enum isl_dim_type type, int pos, isl_int *v);
int isl_aff_get_denominator(__isl_keep isl_aff *aff, isl_int *v); int isl_aff_get_denominator(__isl_keep isl_aff *aff, isl_int *v);
__isl_give isl_aff *isl_aff_set_constant(__isl_take isl_aff *aff, isl_int v ); __isl_give isl_aff *isl_aff_set_constant(__isl_take isl_aff *aff, isl_int v );
__isl_give isl_aff *isl_aff_set_constant_si(__isl_take isl_aff *aff, int v) ; __isl_give isl_aff *isl_aff_set_constant_si(__isl_take isl_aff *aff, int v) ;
skipping to change at line 48 skipping to change at line 52
__isl_give isl_aff *isl_aff_set_coefficient_si(__isl_take isl_aff *aff, __isl_give isl_aff *isl_aff_set_coefficient_si(__isl_take isl_aff *aff,
enum isl_dim_type type, int pos, int v); enum isl_dim_type type, int pos, int v);
__isl_give isl_aff *isl_aff_set_denominator(__isl_take isl_aff *aff, isl_in t v); __isl_give isl_aff *isl_aff_set_denominator(__isl_take isl_aff *aff, isl_in t v);
__isl_give isl_aff *isl_aff_add_constant(__isl_take isl_aff *aff, isl_int v ); __isl_give isl_aff *isl_aff_add_constant(__isl_take isl_aff *aff, isl_int v );
__isl_give isl_aff *isl_aff_add_constant_si(__isl_take isl_aff *aff, int v) ; __isl_give isl_aff *isl_aff_add_constant_si(__isl_take isl_aff *aff, int v) ;
__isl_give isl_aff *isl_aff_add_coefficient(__isl_take isl_aff *aff, __isl_give isl_aff *isl_aff_add_coefficient(__isl_take isl_aff *aff,
enum isl_dim_type type, int pos, isl_int v); enum isl_dim_type type, int pos, isl_int v);
__isl_give isl_aff *isl_aff_add_coefficient_si(__isl_take isl_aff *aff, __isl_give isl_aff *isl_aff_add_coefficient_si(__isl_take isl_aff *aff,
enum isl_dim_type type, int pos, int v); enum isl_dim_type type, int pos, int v);
int isl_aff_is_cst(__isl_keep isl_aff *aff);
__isl_give isl_aff *isl_aff_set_dim_name(__isl_take isl_aff *aff, __isl_give isl_aff *isl_aff_set_dim_name(__isl_take isl_aff *aff,
enum isl_dim_type type, unsigned pos, const char *s); enum isl_dim_type type, unsigned pos, const char *s);
__isl_give isl_aff *isl_aff_set_dim_id(__isl_take isl_aff *aff,
enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
int isl_aff_plain_is_equal(__isl_keep isl_aff *aff1, __isl_keep isl_aff *af f2); int isl_aff_plain_is_equal(__isl_keep isl_aff *aff1, __isl_keep isl_aff *af f2);
int isl_aff_plain_is_zero(__isl_keep isl_aff *aff); int isl_aff_plain_is_zero(__isl_keep isl_aff *aff);
__isl_give isl_div *isl_aff_get_div(__isl_keep isl_aff *aff, int pos); __isl_give isl_aff *isl_aff_get_div(__isl_keep isl_aff *aff, int pos);
__isl_give isl_aff *isl_aff_neg(__isl_take isl_aff *aff); __isl_give isl_aff *isl_aff_neg(__isl_take isl_aff *aff);
__isl_give isl_aff *isl_aff_ceil(__isl_take isl_aff *aff); __isl_give isl_aff *isl_aff_ceil(__isl_take isl_aff *aff);
__isl_give isl_aff *isl_aff_floor(__isl_take isl_aff *aff); __isl_give isl_aff *isl_aff_floor(__isl_take isl_aff *aff);
__isl_give isl_aff *isl_aff_mod(__isl_take isl_aff *aff, isl_int mod);
__isl_give isl_aff *isl_aff_mul(__isl_take isl_aff *aff1,
__isl_take isl_aff *aff2);
__isl_give isl_aff *isl_aff_add(__isl_take isl_aff *aff1, __isl_give isl_aff *isl_aff_add(__isl_take isl_aff *aff1,
__isl_take isl_aff *aff2); __isl_take isl_aff *aff2);
__isl_give isl_aff *isl_aff_sub(__isl_take isl_aff *aff1, __isl_give isl_aff *isl_aff_sub(__isl_take isl_aff *aff1,
__isl_take isl_aff *aff2); __isl_take isl_aff *aff2);
__isl_give isl_aff *isl_aff_scale(__isl_take isl_aff *aff, isl_int f); __isl_give isl_aff *isl_aff_scale(__isl_take isl_aff *aff, isl_int f);
__isl_give isl_aff *isl_aff_scale_down(__isl_take isl_aff *aff, isl_int f); __isl_give isl_aff *isl_aff_scale_down(__isl_take isl_aff *aff, isl_int f);
__isl_give isl_aff *isl_aff_scale_down_ui(__isl_take isl_aff *aff, unsigned f); __isl_give isl_aff *isl_aff_scale_down_ui(__isl_take isl_aff *aff, unsigned f);
__isl_give isl_aff *isl_aff_insert_dims(__isl_take isl_aff *aff, __isl_give isl_aff *isl_aff_insert_dims(__isl_take isl_aff *aff,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_aff *isl_aff_add_dims(__isl_take isl_aff *aff, __isl_give isl_aff *isl_aff_add_dims(__isl_take isl_aff *aff,
enum isl_dim_type type, unsigned n); enum isl_dim_type type, unsigned n);
__isl_give isl_aff *isl_aff_drop_dims(__isl_take isl_aff *aff, __isl_give isl_aff *isl_aff_drop_dims(__isl_take isl_aff *aff,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_aff *isl_aff_gist(__isl_take isl_aff *aff, __isl_give isl_aff *isl_aff_gist(__isl_take isl_aff *aff,
__isl_take isl_set *context); __isl_take isl_set *context);
__isl_give isl_aff *isl_aff_gist_params(__isl_take isl_aff *aff,
__isl_take isl_set *context);
__isl_give isl_basic_set *isl_aff_le_basic_set(__isl_take isl_aff *aff1,
__isl_take isl_aff *aff2);
__isl_give isl_basic_set *isl_aff_ge_basic_set(__isl_take isl_aff *aff1, __isl_give isl_basic_set *isl_aff_ge_basic_set(__isl_take isl_aff *aff1,
__isl_take isl_aff *aff2); __isl_take isl_aff *aff2);
__isl_give isl_aff *isl_aff_read_from_str(isl_ctx *ctx, const char *str);
__isl_give isl_printer *isl_printer_print_aff(__isl_take isl_printer *p, __isl_give isl_printer *isl_printer_print_aff(__isl_take isl_printer *p,
__isl_keep isl_aff *aff); __isl_keep isl_aff *aff);
void isl_aff_dump(__isl_keep isl_aff *aff); void isl_aff_dump(__isl_keep isl_aff *aff);
isl_ctx *isl_pw_aff_get_ctx(__isl_keep isl_pw_aff *pwaff); isl_ctx *isl_pw_aff_get_ctx(__isl_keep isl_pw_aff *pwaff);
__isl_give isl_dim *isl_pw_aff_get_dim(__isl_keep isl_pw_aff *pwaff); __isl_give isl_space *isl_pw_aff_get_domain_space(__isl_keep isl_pw_aff *pw
aff);
__isl_give isl_space *isl_pw_aff_get_space(__isl_keep isl_pw_aff *pwaff);
__isl_give isl_pw_aff *isl_pw_aff_empty(__isl_take isl_dim *dim); __isl_give isl_pw_aff *isl_pw_aff_from_aff(__isl_take isl_aff *aff);
__isl_give isl_pw_aff *isl_pw_aff_empty(__isl_take isl_space *dim);
__isl_give isl_pw_aff *isl_pw_aff_alloc(__isl_take isl_set *set, __isl_give isl_pw_aff *isl_pw_aff_alloc(__isl_take isl_set *set,
__isl_take isl_aff *aff); __isl_take isl_aff *aff);
const char *isl_pw_aff_get_dim_name(__isl_keep isl_pw_aff *pa,
enum isl_dim_type type, unsigned pos);
int isl_pw_aff_has_dim_id(__isl_keep isl_pw_aff *pa,
enum isl_dim_type type, unsigned pos);
__isl_give isl_id *isl_pw_aff_get_dim_id(__isl_keep isl_pw_aff *pa,
enum isl_dim_type type, unsigned pos);
__isl_give isl_pw_aff *isl_pw_aff_set_dim_id(__isl_take isl_pw_aff *pma,
enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
int isl_pw_aff_is_empty(__isl_keep isl_pw_aff *pwaff); int isl_pw_aff_is_empty(__isl_keep isl_pw_aff *pwaff);
int isl_pw_aff_plain_is_equal(__isl_keep isl_pw_aff *pwaff1,
__isl_keep isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_max(__isl_take isl_pw_aff *pwaff1, __isl_give isl_pw_aff *isl_pw_aff_union_min(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_union_max(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_union_add(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2); __isl_take isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_copy(__isl_keep isl_pw_aff *pwaff); __isl_give isl_pw_aff *isl_pw_aff_copy(__isl_keep isl_pw_aff *pwaff);
void *isl_pw_aff_free(__isl_take isl_pw_aff *pwaff); void *isl_pw_aff_free(__isl_take isl_pw_aff *pwaff);
unsigned isl_pw_aff_dim(__isl_keep isl_pw_aff *pwaff, enum isl_dim_type typ e); unsigned isl_pw_aff_dim(__isl_keep isl_pw_aff *pwaff, enum isl_dim_type typ e);
int isl_pw_aff_involves_dims(__isl_keep isl_pw_aff *pwaff, int isl_pw_aff_involves_dims(__isl_keep isl_pw_aff *pwaff,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
int isl_pw_aff_is_cst(__isl_keep isl_pw_aff *pwaff);
__isl_give isl_pw_aff *isl_pw_aff_align_params(__isl_take isl_pw_aff *pwaff , __isl_give isl_pw_aff *isl_pw_aff_align_params(__isl_take isl_pw_aff *pwaff ,
__isl_take isl_dim *model); __isl_take isl_space *model);
__isl_give isl_pw_aff *isl_pw_aff_set_tuple_id(__isl_take isl_pw_aff *pwaff
,
enum isl_dim_type type, __isl_take isl_id *id);
__isl_give isl_set *isl_pw_aff_domain(__isl_take isl_pw_aff *pwaff); __isl_give isl_set *isl_pw_aff_domain(__isl_take isl_pw_aff *pwaff);
__isl_give isl_pw_aff *isl_pw_aff_min(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_max(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_mul(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_add(__isl_take isl_pw_aff *pwaff1, __isl_give isl_pw_aff *isl_pw_aff_add(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2); __isl_take isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_sub(__isl_take isl_pw_aff *pwaff1, __isl_give isl_pw_aff *isl_pw_aff_sub(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2); __isl_take isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_neg(__isl_take isl_pw_aff *pwaff); __isl_give isl_pw_aff *isl_pw_aff_neg(__isl_take isl_pw_aff *pwaff);
__isl_give isl_pw_aff *isl_pw_aff_ceil(__isl_take isl_pw_aff *pwaff); __isl_give isl_pw_aff *isl_pw_aff_ceil(__isl_take isl_pw_aff *pwaff);
__isl_give isl_pw_aff *isl_pw_aff_floor(__isl_take isl_pw_aff *pwaff); __isl_give isl_pw_aff *isl_pw_aff_floor(__isl_take isl_pw_aff *pwaff);
__isl_give isl_pw_aff *isl_pw_aff_mod(__isl_take isl_pw_aff *pwaff,
isl_int mod);
__isl_give isl_pw_aff *isl_pw_aff_intersect_params(__isl_take isl_pw_aff *p
a,
__isl_take isl_set *set);
__isl_give isl_pw_aff *isl_pw_aff_intersect_domain(__isl_take isl_pw_aff *p
a,
__isl_take isl_set *set);
__isl_give isl_pw_aff *isl_pw_aff_cond(__isl_take isl_set *cond, __isl_give isl_pw_aff *isl_pw_aff_cond(__isl_take isl_set *cond,
__isl_take isl_pw_aff *pwaff_true, __isl_take isl_pw_aff *pwaff_fals e); __isl_take isl_pw_aff *pwaff_true, __isl_take isl_pw_aff *pwaff_fals e);
__isl_give isl_pw_aff *isl_pw_aff_scale(__isl_take isl_pw_aff *pwaff, __isl_give isl_pw_aff *isl_pw_aff_scale(__isl_take isl_pw_aff *pwaff,
isl_int f); isl_int f);
__isl_give isl_pw_aff *isl_pw_aff_scale_down(__isl_take isl_pw_aff *pwaff, __isl_give isl_pw_aff *isl_pw_aff_scale_down(__isl_take isl_pw_aff *pwaff,
isl_int f); isl_int f);
__isl_give isl_pw_aff *isl_pw_aff_insert_dims(__isl_take isl_pw_aff *pwaff, __isl_give isl_pw_aff *isl_pw_aff_insert_dims(__isl_take isl_pw_aff *pwaff,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_pw_aff *isl_pw_aff_add_dims(__isl_take isl_pw_aff *pwaff, __isl_give isl_pw_aff *isl_pw_aff_add_dims(__isl_take isl_pw_aff *pwaff,
enum isl_dim_type type, unsigned n); enum isl_dim_type type, unsigned n);
__isl_give isl_pw_aff *isl_pw_aff_drop_dims(__isl_take isl_pw_aff *pwaff, __isl_give isl_pw_aff *isl_pw_aff_drop_dims(__isl_take isl_pw_aff *pwaff,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_pw_aff *isl_pw_aff_coalesce(__isl_take isl_pw_aff *pwqp); __isl_give isl_pw_aff *isl_pw_aff_coalesce(__isl_take isl_pw_aff *pwqp);
__isl_give isl_pw_aff *isl_pw_aff_gist(__isl_take isl_pw_aff *pwaff, __isl_give isl_pw_aff *isl_pw_aff_gist(__isl_take isl_pw_aff *pwaff,
__isl_take isl_set *context); __isl_take isl_set *context);
__isl_give isl_pw_aff *isl_pw_aff_gist_params(__isl_take isl_pw_aff *pwaff,
__isl_take isl_set *context);
int isl_pw_aff_foreach_piece(__isl_keep isl_pw_aff *pwaff,
int (*fn)(__isl_take isl_set *set, __isl_take isl_aff *aff,
void *user), void *user);
__isl_give isl_set *isl_set_from_pw_aff(__isl_take isl_pw_aff *pwaff);
__isl_give isl_map *isl_map_from_pw_aff(__isl_take isl_pw_aff *pwaff); __isl_give isl_map *isl_map_from_pw_aff(__isl_take isl_pw_aff *pwaff);
__isl_give isl_set *isl_pw_aff_nonneg_set(__isl_take isl_pw_aff *pwaff); __isl_give isl_set *isl_pw_aff_nonneg_set(__isl_take isl_pw_aff *pwaff);
__isl_give isl_set *isl_pw_aff_zero_set(__isl_take isl_pw_aff *pwaff);
__isl_give isl_set *isl_pw_aff_non_zero_set(__isl_take isl_pw_aff *pwaff);
__isl_give isl_set *isl_pw_aff_eq_set(__isl_take isl_pw_aff *pwaff1, __isl_give isl_set *isl_pw_aff_eq_set(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2); __isl_take isl_pw_aff *pwaff2);
__isl_give isl_set *isl_pw_aff_ne_set(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2);
__isl_give isl_set *isl_pw_aff_le_set(__isl_take isl_pw_aff *pwaff1, __isl_give isl_set *isl_pw_aff_le_set(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2); __isl_take isl_pw_aff *pwaff2);
__isl_give isl_set *isl_pw_aff_lt_set(__isl_take isl_pw_aff *pwaff1, __isl_give isl_set *isl_pw_aff_lt_set(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2); __isl_take isl_pw_aff *pwaff2);
__isl_give isl_set *isl_pw_aff_ge_set(__isl_take isl_pw_aff *pwaff1, __isl_give isl_set *isl_pw_aff_ge_set(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2); __isl_take isl_pw_aff *pwaff2);
__isl_give isl_set *isl_pw_aff_gt_set(__isl_take isl_pw_aff *pwaff1, __isl_give isl_set *isl_pw_aff_gt_set(__isl_take isl_pw_aff *pwaff1,
__isl_take isl_pw_aff *pwaff2); __isl_take isl_pw_aff *pwaff2);
__isl_give isl_pw_aff *isl_pw_aff_read_from_str(isl_ctx *ctx, const char *s tr);
__isl_give isl_printer *isl_printer_print_pw_aff(__isl_take isl_printer *p, __isl_give isl_printer *isl_printer_print_pw_aff(__isl_take isl_printer *p,
__isl_keep isl_pw_aff *pwaff); __isl_keep isl_pw_aff *pwaff);
void isl_pw_aff_dump(__isl_keep isl_pw_aff *pwaff); void isl_pw_aff_dump(__isl_keep isl_pw_aff *pwaff);
__isl_give isl_pw_aff *isl_pw_aff_list_min(__isl_take isl_pw_aff_list *list
);
__isl_give isl_pw_aff *isl_pw_aff_list_max(__isl_take isl_pw_aff_list *list
);
__isl_give isl_set *isl_pw_aff_list_eq_set(__isl_take isl_pw_aff_list *list
1,
__isl_take isl_pw_aff_list *list2);
__isl_give isl_set *isl_pw_aff_list_ne_set(__isl_take isl_pw_aff_list *list
1,
__isl_take isl_pw_aff_list *list2);
__isl_give isl_set *isl_pw_aff_list_le_set(__isl_take isl_pw_aff_list *list
1,
__isl_take isl_pw_aff_list *list2);
__isl_give isl_set *isl_pw_aff_list_lt_set(__isl_take isl_pw_aff_list *list
1,
__isl_take isl_pw_aff_list *list2);
__isl_give isl_set *isl_pw_aff_list_ge_set(__isl_take isl_pw_aff_list *list
1,
__isl_take isl_pw_aff_list *list2);
__isl_give isl_set *isl_pw_aff_list_gt_set(__isl_take isl_pw_aff_list *list
1,
__isl_take isl_pw_aff_list *list2);
isl_ctx *isl_multi_aff_get_ctx(__isl_keep isl_multi_aff *maff);
__isl_give isl_space *isl_multi_aff_get_space(__isl_keep isl_multi_aff *maf
f);
__isl_give isl_multi_aff *isl_multi_aff_copy(__isl_keep isl_multi_aff *maff
);
void *isl_multi_aff_free(__isl_take isl_multi_aff *maff);
unsigned isl_multi_aff_dim(__isl_keep isl_multi_aff *maff,
enum isl_dim_type type);
__isl_give isl_aff *isl_multi_aff_get_aff(__isl_keep isl_multi_aff *multi,
int pos);
__isl_give isl_multi_aff *isl_multi_aff_set_dim_name(
__isl_take isl_multi_aff *maff,
enum isl_dim_type type, unsigned pos, const char *s);
int isl_multi_aff_plain_is_equal(__isl_keep isl_multi_aff *maff1,
__isl_keep isl_multi_aff *maff2);
__isl_give isl_multi_aff *isl_multi_aff_add(__isl_take isl_multi_aff *maff1
,
__isl_take isl_multi_aff *maff2);
__isl_give isl_multi_aff *isl_multi_aff_scale(__isl_take isl_multi_aff *maf
f,
isl_int f);
__isl_give isl_multi_aff *isl_multi_aff_gist_params(
__isl_take isl_multi_aff *maff, __isl_take isl_set *context);
__isl_give isl_multi_aff *isl_multi_aff_gist(__isl_take isl_multi_aff *maff
,
__isl_take isl_set *context);
__isl_give isl_multi_aff *isl_multi_aff_lift(__isl_take isl_multi_aff *maff
,
__isl_give isl_local_space **ls);
__isl_give isl_printer *isl_printer_print_multi_aff(__isl_take isl_printer
*p,
__isl_keep isl_multi_aff *maff);
__isl_give isl_multi_aff *isl_multi_aff_read_from_str(isl_ctx *ctx,
const char *str);
void isl_multi_aff_dump(__isl_keep isl_multi_aff *maff);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_alloc(__isl_take isl_set *set
,
__isl_take isl_multi_aff *maff);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_copy(
__isl_keep isl_pw_multi_aff *pma);
void *isl_pw_multi_aff_free(__isl_take isl_pw_multi_aff *pma);
unsigned isl_pw_multi_aff_dim(__isl_keep isl_pw_multi_aff *pma,
enum isl_dim_type type);
isl_ctx *isl_pw_multi_aff_get_ctx(__isl_keep isl_pw_multi_aff *pma);
__isl_give isl_space *isl_pw_multi_aff_get_domain_space(
__isl_keep isl_pw_multi_aff *pma);
__isl_give isl_space *isl_pw_multi_aff_get_space(
__isl_keep isl_pw_multi_aff *pma);
const char *isl_pw_multi_aff_get_tuple_name(__isl_keep isl_pw_multi_aff *pm
a,
enum isl_dim_type type);
__isl_give isl_id *isl_pw_multi_aff_get_tuple_id(
__isl_keep isl_pw_multi_aff *pma, enum isl_dim_type type);
int isl_pw_multi_aff_has_tuple_id(__isl_keep isl_pw_multi_aff *pma,
enum isl_dim_type type);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_set_tuple_id(
__isl_take isl_pw_multi_aff *pma,
enum isl_dim_type type, __isl_take isl_id *id);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_empty(__isl_take isl_space *s
pace);
const char *isl_pw_multi_aff_get_dim_name(__isl_keep isl_pw_multi_aff *pma,
enum isl_dim_type type, unsigned pos);
__isl_give isl_id *isl_pw_multi_aff_get_dim_id(
__isl_keep isl_pw_multi_aff *pma, enum isl_dim_type type,
unsigned pos);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_set_dim_id(
__isl_take isl_pw_multi_aff *pma,
enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
int isl_pw_multi_aff_plain_is_equal(__isl_keep isl_pw_multi_aff *pma1,
__isl_keep isl_pw_multi_aff *pma2);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_union_add(
__isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2
);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_add(
__isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2
);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_intersect_params(
__isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_intersect_domain(
__isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_gist_params(
__isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_gist(
__isl_take isl_pw_multi_aff *pma, __isl_take isl_set *set);
int isl_pw_multi_aff_foreach_piece(__isl_keep isl_pw_multi_aff *pma,
int (*fn)(__isl_take isl_set *set, __isl_take isl_multi_aff *maff,
void *user), void *user);
__isl_give isl_map *isl_map_from_pw_multi_aff(__isl_take isl_pw_multi_aff *
pma);
__isl_give isl_set *isl_set_from_pw_multi_aff(__isl_take isl_pw_multi_aff *
pma);
__isl_give isl_printer *isl_printer_print_pw_multi_aff(__isl_take isl_print
er *p,
__isl_keep isl_pw_multi_aff *pma);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_set(__isl_take isl_set *
set);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_from_map(__isl_take isl_map *
map);
__isl_give isl_pw_multi_aff *isl_pw_multi_aff_read_from_str(isl_ctx *ctx,
const char *str);
void isl_pw_multi_aff_dump(__isl_keep isl_pw_multi_aff *pma);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#include <isl/dim.h>
#endif #endif
 End of changes. 28 change blocks. 
8 lines changed or deleted 227 lines changed or added


 aff_type.h   aff_type.h 
#ifndef ISL_AFF_TYPE_H #ifndef ISL_AFF_TYPE_H
#define ISL_AFF_TYPE_H #define ISL_AFF_TYPE_H
struct isl_aff; struct isl_aff;
typedef struct isl_aff isl_aff; typedef struct isl_aff isl_aff;
struct isl_pw_aff; struct isl_pw_aff;
typedef struct isl_pw_aff isl_pw_aff; typedef struct isl_pw_aff isl_pw_aff;
struct isl_multi_aff;
typedef struct isl_multi_aff isl_multi_aff;
struct isl_pw_multi_aff;
typedef struct isl_pw_multi_aff isl_pw_multi_aff;
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 6 lines changed or added


 arg.h   arg.h 
skipping to change at line 45 skipping to change at line 45
isl_arg_bool, isl_arg_bool,
isl_arg_child, isl_arg_child,
isl_arg_choice, isl_arg_choice,
isl_arg_flags, isl_arg_flags,
isl_arg_footer, isl_arg_footer,
isl_arg_int, isl_arg_int,
isl_arg_user, isl_arg_user,
isl_arg_long, isl_arg_long,
isl_arg_ulong, isl_arg_ulong,
isl_arg_str, isl_arg_str,
isl_arg_str_list,
isl_arg_version isl_arg_version
}; };
struct isl_args;
struct isl_arg { struct isl_arg {
enum isl_arg_type type; enum isl_arg_type type;
char short_name; char short_name;
const char *long_name; const char *long_name;
const char *argument_name; const char *argument_name;
size_t offset; size_t offset;
const char *help_msg; const char *help_msg;
#define ISL_ARG_SINGLE_DASH (1 << 0) #define ISL_ARG_SINGLE_DASH (1 << 0)
#define ISL_ARG_BOOL_ARG (1 << 1) #define ISL_ARG_BOOL_ARG (1 << 1)
#define ISL_ARG_HIDDEN (1 << 2) #define ISL_ARG_HIDDEN (1 << 2)
skipping to change at line 89 skipping to change at line 92
long default_selected; long default_selected;
int (*set)(void *opt, long val); int (*set)(void *opt, long val);
} l; } l;
struct { struct {
unsigned long default_value; unsigned long default_value;
} ul; } ul;
struct { struct {
const char *default_value; const char *default_value;
} str; } str;
struct { struct {
struct isl_arg *child; size_t offset_n;
size_t size; } str_list;
struct {
struct isl_args *child;
} child; } child;
struct { struct {
void (*print_version)(void); void (*print_version)(void);
} version; } version;
struct { struct {
int (*init)(void*); int (*init)(void*);
void (*clear)(void*); void (*clear)(void*);
} user; } user;
} u; } u;
}; };
struct isl_args {
size_t options_size;
struct isl_arg *args;
};
#define ISL_ARGS_START(s,name) \
struct isl_arg name ## LIST[]; \
struct isl_args name = { sizeof(s), name ## LIST }; \
struct isl_arg name ## LIST[] = {
#define ISL_ARGS_END \
{ isl_arg_end } };
#define ISL_ARG_ALIAS(l) { \ #define ISL_ARG_ALIAS(l) { \
.type = isl_arg_alias, \ .type = isl_arg_alias, \
.long_name = l, \ .long_name = l, \
}, },
#define ISL_ARG_ARG(st,f,a,d) { \ #define ISL_ARG_ARG(st,f,a,d) { \
.type = isl_arg_arg, \ .type = isl_arg_arg, \
.argument_name = a, \ .argument_name = a, \
.offset = offsetof(st, f), \ .offset = offsetof(st, f), \
.u = { .str = { .default_value = d } } \ .u = { .str = { .default_value = d } } \
}, },
skipping to change at line 207 skipping to change at line 224
.set = NULL } } \ .set = NULL } } \
}, },
#define ISL_ARG_ULONG(st,f,s,l,d,h) { \ #define ISL_ARG_ULONG(st,f,s,l,d,h) { \
.type = isl_arg_ulong, \ .type = isl_arg_ulong, \
.short_name = s, \ .short_name = s, \
.long_name = l, \ .long_name = l, \
.offset = offsetof(st, f), \ .offset = offsetof(st, f), \
.help_msg = h, \ .help_msg = h, \
.u = { .ul = { .default_value = d } } \ .u = { .ul = { .default_value = d } } \
}, },
#define ISL_ARG_STR(st,f,s,l,a,d,h) { \ #define ISL_ARG_STR_F(st,f,s,l,a,d,h,fl) { \
.type = isl_arg_str, \ .type = isl_arg_str, \
.short_name = s, \ .short_name = s, \
.long_name = l, \ .long_name = l, \
.argument_name = a, \ .argument_name = a, \
.offset = offsetof(st, f), \ .offset = offsetof(st, f), \
.help_msg = h, \ .help_msg = h, \
.flags = fl, \
.u = { .str = { .default_value = d } } \ .u = { .str = { .default_value = d } } \
}, },
#define _ISL_ARG_CHILD(o,sz,l,c,h,fl) { \ #define ISL_ARG_STR(st,f,s,l,a,d,h) \
ISL_ARG_STR_F(st,f,s,l,a,d,h,0)
#define ISL_ARG_STR_LIST(st,f_n,f_l,s,l,a,h) { \
.type = isl_arg_str_list, \
.short_name = s, \
.long_name = l, \
.argument_name = a, \
.offset = offsetof(st, f_l), \
.help_msg = h, \
.u = { .str_list = { .offset_n = offsetof(st, f_n) } } \
},
#define _ISL_ARG_CHILD(o,l,c,h,fl) { \
.type = isl_arg_child, \ .type = isl_arg_child, \
.long_name = l, \ .long_name = l, \
.offset = o, \ .offset = o, \
.help_msg = h, \ .help_msg = h, \
.flags = fl, \ .flags = fl, \
.u = { .child = { .child = c, .size = sz } } \ .u = { .child = { .child = c } } \
}, },
#define ISL_ARG_CHILD(st,f,l,c,h) \ #define ISL_ARG_CHILD(st,f,l,c,h) \
_ISL_ARG_CHILD(offsetof(st, f),sizeof(*((st *)NULL)->f),l,c,h,0) _ISL_ARG_CHILD(offsetof(st, f),l,c,h,0)
#define ISL_ARG_GROUP_F(c,h,fl) \ #define ISL_ARG_GROUP_F(c,h,fl) \
_ISL_ARG_CHILD(-1,0,NULL,c,h,fl) _ISL_ARG_CHILD(-1,NULL,c,h,fl)
#define ISL_ARG_GROUP(c,h) \ #define ISL_ARG_GROUP(c,h) \
ISL_ARG_GROUP_F(c,h,0) ISL_ARG_GROUP_F(c,h,0)
#define ISL_ARG_FLAGS(st,f,s,l,c,d,h) { \ #define ISL_ARG_FLAGS(st,f,s,l,c,d,h) { \
.type = isl_arg_flags, \ .type = isl_arg_flags, \
.short_name = s, \ .short_name = s, \
.long_name = l, \ .long_name = l, \
.offset = offsetof(st, f), \ .offset = offsetof(st, f), \
.help_msg = h, \ .help_msg = h, \
.u = { .flags = { .flags = c, .default_value = d } } \ .u = { .flags = { .flags = c, .default_value = d } } \
}, },
#define ISL_ARG_USER(st,f,i,c) { \ #define ISL_ARG_USER(st,f,i,c) { \
.type = isl_arg_user, \ .type = isl_arg_user, \
.offset = offsetof(st, f), \ .offset = offsetof(st, f), \
.u = { .user = { .init = i, .clear = c} } \ .u = { .user = { .init = i, .clear = c} } \
}, },
#define ISL_ARG_VERSION(print) { \ #define ISL_ARG_VERSION(print) { \
.type = isl_arg_version, \ .type = isl_arg_version, \
.u = { .version = { .print_version = print } } \ .u = { .version = { .print_version = print } } \
}, },
#define ISL_ARG_END { isl_arg_end }
#define ISL_ARG_ALL (1 << 0) #define ISL_ARG_ALL (1 << 0)
void isl_arg_set_defaults(struct isl_arg *arg, void *opt); void isl_args_set_defaults(struct isl_args *args, void *opt);
void isl_arg_free(struct isl_arg *arg, void *opt); void isl_args_free(struct isl_args *args, void *opt);
int isl_arg_parse(struct isl_arg *arg, int argc, char **argv, void *opt, int isl_args_parse(struct isl_args *args, int argc, char **argv, void *opt,
unsigned flags); unsigned flags);
#define ISL_ARG_DECL(prefix,st,arg) \ #define ISL_ARG_DECL(prefix,st,args) \
extern struct isl_arg arg[]; \ extern struct isl_args args; \
st *prefix ## _new_with_defaults(); \ st *prefix ## _new_with_defaults(void);
\
void prefix ## _free(st *opt); \ void prefix ## _free(st *opt); \
int prefix ## _parse(st *opt, int argc, char **argv, unsigned flags); int prefix ## _parse(st *opt, int argc, char **argv, unsigned flags);
#define ISL_ARG_DEF(prefix,st,arg) \ #define ISL_ARG_DEF(prefix,st,args) \
st *prefix ## _new_with_defaults() \ st *prefix ## _new_with_defaults() \
{ \ { \
st *opt = (st *)calloc(1, sizeof(st)); \ st *opt = (st *)calloc(1, sizeof(st)); \
if (opt) \ if (opt) \
isl_arg_set_defaults(arg, opt); \ isl_args_set_defaults(&(args), opt); \
return opt; \ return opt; \
} \ } \
\ \
void prefix ## _free(st *opt) \ void prefix ## _free(st *opt) \
{ \ { \
isl_arg_free(arg, opt); \ isl_args_free(&(args), opt); \
} \ } \
\ \
int prefix ## _parse(st *opt, int argc, char **argv, unsigned flags) \ int prefix ## _parse(st *opt, int argc, char **argv, unsigned flags) \
{ \ { \
return isl_arg_parse(arg, argc, argv, opt, flags); \ return isl_args_parse(&(args), argc, argv, opt, flags); \
} }
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif #endif
 End of changes. 17 change blocks. 
18 lines changed or deleted 47 lines changed or added


 blk.h   blk.h 
skipping to change at line 29 skipping to change at line 29
struct isl_blk { struct isl_blk {
size_t size; size_t size;
isl_int *data; isl_int *data;
}; };
#define ISL_BLK_CACHE_SIZE 20 #define ISL_BLK_CACHE_SIZE 20
struct isl_ctx; struct isl_ctx;
struct isl_blk isl_blk_alloc(struct isl_ctx *ctx, size_t n); struct isl_blk isl_blk_alloc(struct isl_ctx *ctx, size_t n);
struct isl_blk isl_blk_empty(); struct isl_blk isl_blk_empty(void);
int isl_blk_is_error(struct isl_blk block); int isl_blk_is_error(struct isl_blk block);
struct isl_blk isl_blk_extend(struct isl_ctx *ctx, struct isl_blk block, struct isl_blk isl_blk_extend(struct isl_ctx *ctx, struct isl_blk block,
size_t new_n); size_t new_n);
void isl_blk_free(struct isl_ctx *ctx, struct isl_blk block); void isl_blk_free(struct isl_ctx *ctx, struct isl_blk block);
void isl_blk_clear_cache(struct isl_ctx *ctx); void isl_blk_clear_cache(struct isl_ctx *ctx);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 constraint.h   constraint.h 
skipping to change at line 13 skipping to change at line 13
* *
* Use of this software is governed by the GNU LGPLv2.1 license * Use of this software is governed by the GNU LGPLv2.1 license
* *
* Written by Sven Verdoolaege, K.U.Leuven, Departement * Written by Sven Verdoolaege, K.U.Leuven, Departement
* Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
*/ */
#ifndef ISL_CONSTRAINT_H #ifndef ISL_CONSTRAINT_H
#define ISL_CONSTRAINT_H #define ISL_CONSTRAINT_H
#include <isl/local_space.h>
#include <isl/space.h>
#include <isl/aff_type.h> #include <isl/aff_type.h>
#include <isl/div.h>
#include <isl/set_type.h> #include <isl/set_type.h>
#include <isl/printer.h> #include <isl/printer.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct isl_constraint; struct isl_constraint;
typedef struct isl_constraint isl_constraint; typedef struct isl_constraint isl_constraint;
isl_ctx *isl_constraint_get_ctx(__isl_keep isl_constraint *c); isl_ctx *isl_constraint_get_ctx(__isl_keep isl_constraint *c);
__isl_give isl_constraint *isl_equality_alloc(__isl_take isl_dim *dim); __isl_give isl_constraint *isl_equality_alloc(__isl_take isl_local_space *l
__isl_give isl_constraint *isl_inequality_alloc(__isl_take isl_dim *dim); s);
__isl_give isl_constraint *isl_inequality_alloc(__isl_take isl_local_space
*ls);
struct isl_constraint *isl_constraint_cow(struct isl_constraint *c); struct isl_constraint *isl_constraint_cow(struct isl_constraint *c);
struct isl_constraint *isl_constraint_copy(struct isl_constraint *c); struct isl_constraint *isl_constraint_copy(struct isl_constraint *c);
void isl_constraint_free(struct isl_constraint *c); void *isl_constraint_free(__isl_take isl_constraint *c);
__isl_give isl_constraint *isl_basic_map_first_constraint(
__isl_take isl_basic_map *bmap);
__isl_give isl_constraint *isl_basic_set_first_constraint(
__isl_take isl_basic_set *bset);
struct isl_constraint *isl_constraint_next(struct isl_constraint *c);
int isl_basic_map_foreach_constraint(__isl_keep isl_basic_map *bmap, int isl_basic_map_foreach_constraint(__isl_keep isl_basic_map *bmap,
int (*fn)(__isl_take isl_constraint *c, void *user), void *user); int (*fn)(__isl_take isl_constraint *c, void *user), void *user);
int isl_basic_set_foreach_constraint(__isl_keep isl_basic_set *bset, int isl_basic_set_foreach_constraint(__isl_keep isl_basic_set *bset,
int (*fn)(__isl_take isl_constraint *c, void *user), void *user); int (*fn)(__isl_take isl_constraint *c, void *user), void *user);
int isl_constraint_is_equal(struct isl_constraint *constraint1, int isl_constraint_is_equal(struct isl_constraint *constraint1,
struct isl_constraint *constraint2); struct isl_constraint *constraint2);
int isl_basic_set_foreach_bound_pair(__isl_keep isl_basic_set *bset, int isl_basic_set_foreach_bound_pair(__isl_keep isl_basic_set *bset,
enum isl_dim_type type, unsigned pos, enum isl_dim_type type, unsigned pos,
int (*fn)(__isl_take isl_constraint *lower, int (*fn)(__isl_take isl_constraint *lower,
skipping to change at line 72 skipping to change at line 68
__isl_keep isl_basic_map *bmap, enum isl_dim_type type, int pos, __isl_keep isl_basic_map *bmap, enum isl_dim_type type, int pos,
__isl_give isl_constraint **c); __isl_give isl_constraint **c);
int isl_basic_set_has_defining_equality( int isl_basic_set_has_defining_equality(
struct isl_basic_set *bset, enum isl_dim_type type, int pos, struct isl_basic_set *bset, enum isl_dim_type type, int pos,
struct isl_constraint **constraint); struct isl_constraint **constraint);
int isl_basic_set_has_defining_inequalities( int isl_basic_set_has_defining_inequalities(
struct isl_basic_set *bset, enum isl_dim_type type, int pos, struct isl_basic_set *bset, enum isl_dim_type type, int pos,
struct isl_constraint **lower, struct isl_constraint **lower,
struct isl_constraint **upper); struct isl_constraint **upper);
__isl_give isl_dim *isl_constraint_get_dim( __isl_give isl_space *isl_constraint_get_space(
__isl_keep isl_constraint *constraint); __isl_keep isl_constraint *constraint);
int isl_constraint_dim(struct isl_constraint *constraint, int isl_constraint_dim(struct isl_constraint *constraint,
enum isl_dim_type type); enum isl_dim_type type);
int isl_constraint_involves_dims(__isl_keep isl_constraint *constraint, int isl_constraint_involves_dims(__isl_keep isl_constraint *constraint,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
const char *isl_constraint_get_dim_name(__isl_keep isl_constraint *constrai nt, const char *isl_constraint_get_dim_name(__isl_keep isl_constraint *constrai nt,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
void isl_constraint_get_constant(__isl_keep isl_constraint *constraint, void isl_constraint_get_constant(__isl_keep isl_constraint *constraint,
isl_int *v); isl_int *v);
void isl_constraint_get_coefficient(__isl_keep isl_constraint *constraint, void isl_constraint_get_coefficient(__isl_keep isl_constraint *constraint,
enum isl_dim_type type, int pos, isl_int *v); enum isl_dim_type type, int pos, isl_int *v);
void isl_constraint_set_constant(__isl_keep isl_constraint *constraint, isl __isl_give isl_constraint *isl_constraint_set_constant(
_int v); __isl_take isl_constraint *constraint, isl_int v);
void isl_constraint_set_constant_si(__isl_keep isl_constraint *constraint, __isl_give isl_constraint *isl_constraint_set_constant_si(
int v); __isl_take isl_constraint *constraint, int v);
void isl_constraint_set_coefficient(__isl_keep isl_constraint *constraint, __isl_give isl_constraint *isl_constraint_set_coefficient(
__isl_take isl_constraint *constraint,
enum isl_dim_type type, int pos, isl_int v); enum isl_dim_type type, int pos, isl_int v);
void isl_constraint_set_coefficient_si(__isl_keep isl_constraint *constrain __isl_give isl_constraint *isl_constraint_set_coefficient_si(
t, __isl_take isl_constraint *constraint,
enum isl_dim_type type, int pos, int v); enum isl_dim_type type, int pos, int v);
__isl_give isl_div *isl_constraint_div(__isl_keep isl_constraint *constrain t, __isl_give isl_aff *isl_constraint_get_div(__isl_keep isl_constraint *const raint,
int pos); int pos);
struct isl_constraint *isl_constraint_add_div(struct isl_constraint *constr
aint,
struct isl_div *div, int *pos);
void isl_constraint_clear(struct isl_constraint *constraint);
struct isl_constraint *isl_constraint_negate(struct isl_constraint *constra int); struct isl_constraint *isl_constraint_negate(struct isl_constraint *constra int);
int isl_constraint_is_equality(__isl_keep isl_constraint *constraint); int isl_constraint_is_equality(__isl_keep isl_constraint *constraint);
int isl_constraint_is_div_constraint(__isl_keep isl_constraint *constraint) ; int isl_constraint_is_div_constraint(__isl_keep isl_constraint *constraint) ;
__isl_give isl_basic_map *isl_basic_map_from_constraint( __isl_give isl_basic_map *isl_basic_map_from_constraint(
__isl_take isl_constraint *constraint); __isl_take isl_constraint *constraint);
struct isl_basic_set *isl_basic_set_from_constraint( struct isl_basic_set *isl_basic_set_from_constraint(
struct isl_constraint *constraint); struct isl_constraint *constraint);
skipping to change at line 128 skipping to change at line 124
__isl_take isl_basic_set *bset, __isl_take isl_constraint *constrain t); __isl_take isl_basic_set *bset, __isl_take isl_constraint *constrain t);
__isl_give isl_printer *isl_printer_print_constraint(__isl_take isl_printer *p, __isl_give isl_printer *isl_printer_print_constraint(__isl_take isl_printer *p,
__isl_keep isl_constraint *c); __isl_keep isl_constraint *c);
void isl_constraint_dump(__isl_keep isl_constraint *c); void isl_constraint_dump(__isl_keep isl_constraint *c);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#include <isl/dim.h>
#endif #endif
 End of changes. 12 change blocks. 
22 lines changed or deleted 19 lines changed or added


 ctx.h   ctx.h 
skipping to change at line 17 skipping to change at line 17
* Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
*/ */
#ifndef ISL_CTX_H #ifndef ISL_CTX_H
#define ISL_CTX_H #define ISL_CTX_H
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <isl/int.h> #include <isl/int.h>
#include <isl/options.h>
#include <isl/blk.h> #include <isl/blk.h>
#include <isl/arg.h>
#include <isl/hash.h> #include <isl/hash.h>
#include <isl/config.h> #include <isl/config.h>
#ifndef __isl_give
#define __isl_give #define __isl_give
#endif
#ifndef __isl_take
#define __isl_take #define __isl_take
#endif
#ifndef __isl_keep
#define __isl_keep #define __isl_keep
#endif
#ifndef __isl_export
#define __isl_export
#endif
#ifndef __isl_constructor
#define __isl_constructor
#endif
#ifndef __isl_subclass
#define __isl_subclass(super)
#endif
#ifdef GCC_WARN_UNUSED_RESULT #ifdef GCC_WARN_UNUSED_RESULT
#define WARN_UNUSED GCC_WARN_UNUSED_RESULT #define WARN_UNUSED GCC_WARN_UNUSED_RESULT
#else #else
#define WARN_UNUSED #define WARN_UNUSED
#endif #endif
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
skipping to change at line 108 skipping to change at line 123
#define isl_calloc_type(ctx,type) isl_calloc(ctx,type,sizeof(type)) #define isl_calloc_type(ctx,type) isl_calloc(ctx,type,sizeof(type))
#define isl_realloc_type(ctx,ptr,type) isl_realloc(ctx,ptr,type,sizeof(type )) #define isl_realloc_type(ctx,ptr,type) isl_realloc(ctx,ptr,type,sizeof(type ))
#define isl_alloc_array(ctx,type,n) isl_alloc(ctx,type,(n)*sizeof(type)) #define isl_alloc_array(ctx,type,n) isl_alloc(ctx,type,(n)*sizeof(type))
#define isl_calloc_array(ctx,type,n) isl_check_ctx(ctx,\ #define isl_calloc_array(ctx,type,n) isl_check_ctx(ctx,\
(type *)calloc(n, sizeof(typ e))) (type *)calloc(n, sizeof(typ e)))
#define isl_realloc_array(ctx,ptr,type,n) \ #define isl_realloc_array(ctx,ptr,type,n) \
isl_realloc(ctx,ptr,type,(n)*sizeof(type )) isl_realloc(ctx,ptr,type,(n)*sizeof(type ))
#define isl_die(ctx,errno,msg,code) \ #define isl_die(ctx,errno,msg,code) \
do { \ do { \
isl_ctx_set_error(ctx, errno); \ isl_handle_error(ctx, errno, msg, __FILE__, __LINE__); \
fprintf(stderr, "%s:%d: %s\n", __FILE__, __LINE__, msg);
\
code; \ code; \
} while (0) } while (0)
void isl_handle_error(isl_ctx *ctx, int errno, const char *msg,
const char *file, int line);
#define isl_assert4(ctx,test,code,errno) \ #define isl_assert4(ctx,test,code,errno) \
do { \ do { \
if (test) \ if (test) \
break; \ break; \
isl_die(ctx, errno, "Assertion \"" #test "\" failed", code); \ isl_die(ctx, errno, "Assertion \"" #test "\" failed", code); \
} while (0) } while (0)
#define isl_assert(ctx,test,code) \ #define isl_assert(ctx,test,code) \
isl_assert4(ctx,test,code,isl_error_unknown) isl_assert4(ctx,test,code,isl_error_unknown)
#define isl_min(a,b) ((a < b) ? (a) : (b)) #define isl_min(a,b) ((a < b) ? (a) : (b))
/* struct isl_ctx functions */ /* struct isl_ctx functions */
struct isl_options *isl_ctx_options(isl_ctx *ctx); struct isl_options *isl_ctx_options(isl_ctx *ctx);
isl_ctx *isl_ctx_alloc_with_options(struct isl_arg *arg, __isl_take void *o isl_ctx *isl_ctx_alloc_with_options(struct isl_args *args,
pt); __isl_take void *opt);
isl_ctx *isl_ctx_alloc(); isl_ctx *isl_ctx_alloc(void);
void *isl_ctx_peek_options(isl_ctx *ctx, struct isl_arg *arg); void *isl_ctx_peek_options(isl_ctx *ctx, struct isl_args *args);
int isl_ctx_parse_options(isl_ctx *ctx, int argc, char **argv, unsigned fla
gs);
void isl_ctx_ref(struct isl_ctx *ctx); void isl_ctx_ref(struct isl_ctx *ctx);
void isl_ctx_deref(struct isl_ctx *ctx); void isl_ctx_deref(struct isl_ctx *ctx);
void isl_ctx_free(isl_ctx *ctx); void isl_ctx_free(isl_ctx *ctx);
void isl_ctx_abort(isl_ctx *ctx); void isl_ctx_abort(isl_ctx *ctx);
void isl_ctx_resume(isl_ctx *ctx); void isl_ctx_resume(isl_ctx *ctx);
int isl_ctx_aborted(isl_ctx *ctx); int isl_ctx_aborted(isl_ctx *ctx);
#define ISL_ARG_CTX_DECL(prefix,st,arg) \ #define ISL_ARG_CTX_DECL(prefix,st,args) \
st *isl_ctx_peek_ ## prefix(isl_ctx *ctx); st *isl_ctx_peek_ ## prefix(isl_ctx *ctx);
#define ISL_ARG_CTX_DEF(prefix,st,arg) \ #define ISL_ARG_CTX_DEF(prefix,st,args) \
st *isl_ctx_peek_ ## prefix(isl_ctx *ctx) \ st *isl_ctx_peek_ ## prefix(isl_ctx *ctx) \
{ \ { \
return (st *)isl_ctx_peek_options(ctx, arg); \ return (st *)isl_ctx_peek_options(ctx, &(args)); \
} }
#define ISL_CTX_GET_INT_DEF(prefix,st,args,field) \
int prefix ## _get_ ## field(isl_ctx *ctx) \
{ \
st *options; \
options = isl_ctx_peek_ ## prefix(ctx); \
if (!options) \
isl_die(ctx, isl_error_invalid, \
"isl_ctx does not reference " #prefix, \
return -1); \
return options->field; \
}
#define ISL_CTX_SET_INT_DEF(prefix,st,args,field) \
int prefix ## _set_ ## field(isl_ctx *ctx, int val) \
{ \
st *options; \
options = isl_ctx_peek_ ## prefix(ctx); \
if (!options) \
isl_die(ctx, isl_error_invalid, \
"isl_ctx does not reference " #prefix, \
return -1); \
options->field = val; \
return 0; \
}
#define ISL_CTX_GET_BOOL_DEF(prefix,st,args,field) \
ISL_CTX_GET_INT_DEF(prefix,st,args,field)
#define ISL_CTX_SET_BOOL_DEF(prefix,st,args,field) \
ISL_CTX_SET_INT_DEF(prefix,st,args,field)
#define ISL_CTX_GET_CHOICE_DEF(prefix,st,args,field) \
ISL_CTX_GET_INT_DEF(prefix,st,args,field)
#define ISL_CTX_SET_CHOICE_DEF(prefix,st,args,field) \
ISL_CTX_SET_INT_DEF(prefix,st,args,field)
enum isl_error isl_ctx_last_error(isl_ctx *ctx); enum isl_error isl_ctx_last_error(isl_ctx *ctx);
void isl_ctx_reset_error(isl_ctx *ctx); void isl_ctx_reset_error(isl_ctx *ctx);
void isl_ctx_set_error(isl_ctx *ctx, enum isl_error error); void isl_ctx_set_error(isl_ctx *ctx, enum isl_error error);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif #endif
 End of changes. 13 change blocks. 
11 lines changed or deleted 67 lines changed or added


 dim.h   dim.h 
/*
* Copyright 2008-2009 Katholieke Universiteit Leuven
*
* Use of this software is governed by the GNU LGPLv2.1 license
*
* Written by Sven Verdoolaege, K.U.Leuven, Departement
* Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
*/
#ifndef ISL_DIM_H #ifndef ISL_DIM_H
#define ISL_DIM_H #define ISL_DIM_H
#include <isl/ctx.h> #include <isl/space.h>
#include <isl/printer.h> #include <isl/local_space.h>
#include <isl/aff_type.h>
#include <isl/constraint.h>
#include <isl/map_type.h>
#include <isl/set_type.h>
#include <isl/point.h>
#include <isl/union_map.h>
#include <isl/union_set.h>
#include <isl/polynomial_type.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct isl_dim; #define isl_dim isl_space
typedef struct isl_dim isl_dim;
enum isl_dim_type {
isl_dim_cst,
isl_dim_param,
isl_dim_in,
isl_dim_out,
isl_dim_set = isl_dim_out,
isl_dim_div,
isl_dim_all
};
isl_ctx *isl_dim_get_ctx(__isl_keep isl_dim *dim); isl_ctx *isl_dim_get_ctx(__isl_keep isl_space *dim);
__isl_give isl_dim *isl_dim_alloc(isl_ctx *ctx, __isl_give isl_space *isl_dim_alloc(isl_ctx *ctx,
unsigned nparam, unsigned n_in, unsigned n_out); unsigned nparam, unsigned n_in, unsigned n_out);
__isl_give isl_dim *isl_dim_set_alloc(isl_ctx *ctx, __isl_give isl_space *isl_dim_set_alloc(isl_ctx *ctx,
unsigned nparam, unsigned dim); unsigned nparam, unsigned dim);
__isl_give isl_dim *isl_dim_copy(__isl_keep isl_dim *dim); __isl_give isl_space *isl_dim_copy(__isl_keep isl_space *dim);
struct isl_dim *isl_dim_cow(struct isl_dim *dim); void isl_dim_free(__isl_take isl_space *dim);
void isl_dim_free(__isl_take isl_dim *dim);
__isl_give isl_dim *isl_dim_set_tuple_name(__isl_take isl_dim *dim, unsigned isl_dim_size(__isl_keep isl_space *dim, enum isl_dim_type type);
__isl_give isl_space *isl_dim_set_dim_id(__isl_take isl_space *dim,
enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
int isl_dim_has_dim_id(__isl_keep isl_space *dim,
enum isl_dim_type type, unsigned pos);
__isl_give isl_id *isl_dim_get_dim_id(__isl_keep isl_space *dim,
enum isl_dim_type type, unsigned pos);
int isl_dim_find_dim_by_id(__isl_keep isl_space *dim,
enum isl_dim_type type, __isl_keep isl_id *id);
__isl_give isl_space *isl_dim_set_tuple_id(__isl_take isl_space *dim,
enum isl_dim_type type, __isl_take isl_id *id);
__isl_give isl_space *isl_dim_reset_tuple_id(__isl_take isl_space *dim,
enum isl_dim_type type);
int isl_dim_has_tuple_id(__isl_keep isl_space *dim, enum isl_dim_type type)
;
__isl_give isl_id *isl_dim_get_tuple_id(__isl_keep isl_space *dim,
enum isl_dim_type type);
__isl_give isl_space *isl_dim_set_name(__isl_take isl_space *dim,
enum isl_dim_type type, unsigned pos, __isl_keep const char *name);
__isl_keep const char *isl_dim_get_name(__isl_keep isl_space *dim,
enum isl_dim_type type, unsigned pos);
__isl_give isl_space *isl_dim_set_tuple_name(__isl_take isl_space *dim,
enum isl_dim_type type, const char *s); enum isl_dim_type type, const char *s);
const char *isl_dim_get_tuple_name(__isl_keep isl_dim *dim, const char *isl_dim_get_tuple_name(__isl_keep isl_space *dim,
enum isl_dim_type type); enum isl_dim_type type);
__isl_give isl_dim *isl_dim_set_name(__isl_take isl_dim *dim, int isl_dim_is_wrapping(__isl_keep isl_space *dim);
enum isl_dim_type type, unsigned pos, __isl_give isl_space *isl_dim_wrap(__isl_take isl_space *dim);
__isl_keep const char *name); __isl_give isl_space *isl_dim_unwrap(__isl_take isl_space *dim);
__isl_keep const char *isl_dim_get_name(__isl_keep isl_dim *dim,
enum isl_dim_type type, unsigned pos);
struct isl_dim *isl_dim_extend(struct isl_dim *dim, __isl_give isl_space *isl_dim_domain(__isl_take isl_space *dim);
unsigned nparam, unsigned n_in, unsigned n_out); __isl_give isl_space *isl_dim_from_domain(__isl_take isl_space *dim);
__isl_give isl_dim *isl_dim_add(__isl_take isl_dim *dim, enum isl_dim_type __isl_give isl_space *isl_dim_range(__isl_take isl_space *dim);
type, __isl_give isl_space *isl_dim_from_range(__isl_take isl_space *dim);
unsigned n); __isl_give isl_space *isl_dim_reverse(__isl_take isl_space *dim);
__isl_give isl_dim *isl_dim_move(__isl_take isl_dim *dim, __isl_give isl_space *isl_dim_join(__isl_take isl_space *left,
__isl_take isl_space *right);
__isl_give isl_space *isl_dim_align_params(__isl_take isl_space *dim1,
__isl_take isl_space *dim2);
__isl_give isl_space *isl_dim_insert(__isl_take isl_space *dim,
enum isl_dim_type type, unsigned pos, unsigned n);
__isl_give isl_space *isl_dim_add(__isl_take isl_space *dim,
enum isl_dim_type type, unsigned n);
__isl_give isl_space *isl_dim_drop(__isl_take isl_space *dim,
enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_space *isl_dim_move(__isl_take isl_space *dim,
enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type dst_type, unsigned dst_pos,
enum isl_dim_type src_type, unsigned src_pos, unsigned n); enum isl_dim_type src_type, unsigned src_pos, unsigned n);
__isl_give isl_dim *isl_dim_insert(__isl_take isl_dim *dim, __isl_give isl_space *isl_dim_map_from_set(
enum isl_dim_type type, unsigned pos, unsigned n); __isl_take isl_space *dim);
__isl_give isl_dim *isl_dim_join(__isl_take isl_dim *left, __isl_give isl_space *isl_dim_zip(__isl_take isl_space *dim);
__isl_take isl_dim *right);
struct isl_dim *isl_dim_product(struct isl_dim *left, struct isl_dim *right
);
__isl_give isl_dim *isl_dim_range_product(__isl_take isl_dim *left,
__isl_take isl_dim *right);
__isl_give isl_dim *isl_dim_map_from_set(__isl_take isl_dim *dim);
__isl_give isl_dim *isl_dim_reverse(__isl_take isl_dim *dim);
__isl_give isl_dim *isl_dim_drop(__isl_take isl_dim *dim,
enum isl_dim_type type, unsigned first, unsigned num);
struct isl_dim *isl_dim_drop_inputs(struct isl_dim *dim,
unsigned first, unsigned n);
struct isl_dim *isl_dim_drop_outputs(struct isl_dim *dim,
unsigned first, unsigned n);
__isl_give isl_dim *isl_dim_domain(__isl_take isl_dim *dim);
__isl_give isl_dim *isl_dim_from_domain(__isl_take isl_dim *dim);
__isl_give isl_dim *isl_dim_range(__isl_take isl_dim *dim);
__isl_give isl_dim *isl_dim_from_range(__isl_take isl_dim *dim);
struct isl_dim *isl_dim_underlying(struct isl_dim *dim, unsigned n_div);
__isl_give isl_dim *isl_dim_align_params(__isl_take isl_dim *dim1, __isl_give isl_local_space *isl_local_space_from_dim(
__isl_take isl_dim *dim2); __isl_take isl_space *dim);
__isl_give isl_space *isl_local_space_get_dim(
__isl_keep isl_local_space *ls);
int isl_dim_is_wrapping(__isl_keep isl_dim *dim); __isl_give isl_space *isl_aff_get_dim(__isl_keep isl_aff *aff);
__isl_give isl_dim *isl_dim_wrap(__isl_take isl_dim *dim); __isl_give isl_space *isl_pw_aff_get_dim(__isl_keep isl_pw_aff *pwaff);
__isl_give isl_dim *isl_dim_unwrap(__isl_take isl_dim *dim);
int isl_dim_can_zip(__isl_keep isl_dim *dim); __isl_give isl_space *isl_constraint_get_dim(
__isl_give isl_dim *isl_dim_zip(__isl_take isl_dim *dim); __isl_keep isl_constraint *constraint);
int isl_dim_equal(struct isl_dim *dim1, struct isl_dim *dim2); __isl_give isl_space *isl_basic_map_get_dim(__isl_keep isl_basic_map *bmap)
int isl_dim_match(struct isl_dim *dim1, enum isl_dim_type dim1_type, ;
struct isl_dim *dim2, enum isl_dim_type dim2_type); __isl_give isl_space *isl_map_get_dim(__isl_keep isl_map *map);
int isl_dim_tuple_match(__isl_keep isl_dim *dim1, enum isl_dim_type dim1_ty __isl_give isl_space *isl_union_map_get_dim(__isl_keep isl_union_map *umap)
pe, ;
__isl_keep isl_dim *dim2, enum isl_dim_type dim2_typ
e);
int isl_dim_compatible(struct isl_dim *dim1, struct isl_dim *dim2);
unsigned isl_dim_size(__isl_keep isl_dim *dim, enum isl_dim_type type);
unsigned isl_dim_total(struct isl_dim *dim);
__isl_give isl_printer *isl_printer_print_dim(__isl_take isl_printer *p, __isl_give isl_space *isl_basic_set_get_dim(__isl_keep isl_basic_set *bset)
__isl_keep isl_dim *dim); ;
void isl_dim_dump(__isl_keep isl_dim *dim); __isl_give isl_space *isl_set_get_dim(__isl_keep isl_set *set);
__isl_give isl_space *isl_union_set_get_dim(__isl_keep isl_union_set *uset)
;
__isl_give isl_space *isl_point_get_dim(__isl_keep isl_point *pnt);
__isl_give isl_space *isl_qpolynomial_get_dim(__isl_keep isl_qpolynomial *q
p);
__isl_give isl_space *isl_pw_qpolynomial_get_dim(
__isl_keep isl_pw_qpolynomial *pwqp);
__isl_give isl_space *isl_qpolynomial_fold_get_dim(
__isl_keep isl_qpolynomial_fold *fold);
__isl_give isl_space *isl_pw_qpolynomial_fold_get_dim(
__isl_keep isl_pw_qpolynomial_fold *pwf);
__isl_give isl_space *isl_union_pw_qpolynomial_get_dim(
__isl_keep isl_union_pw_qpolynomial *upwqp);
__isl_give isl_space *isl_union_pw_qpolynomial_fold_get_dim(
__isl_keep isl_union_pw_qpolynomial_fold *upwf);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif #endif
 End of changes. 16 change blocks. 
83 lines changed or deleted 99 lines changed or added


 domain.h   domain.h 
skipping to change at line 47 skipping to change at line 47
#define CLOOG_DOMAIN_H #define CLOOG_DOMAIN_H
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" extern "C"
{ {
#endif #endif
struct cloogdomain; struct cloogdomain;
typedef struct cloogdomain CloogDomain ; typedef struct cloogdomain CloogDomain ;
struct cloogscattering; struct cloogscattering;
typedef struct cloogscattering CloogScattering; typedef struct cloogscattering CloogScattering;
struct osl_relation;
/** /**
* CloogDomainList structure: * CloogDomainList structure:
* this structure reprensents a node of a linked list of CloogDomain struct ures. * this structure reprensents a node of a linked list of CloogDomain struct ures.
*/ */
struct cloogdomainlist { struct cloogdomainlist {
CloogDomain *domain; /**< An element of the list. */ CloogDomain *domain; /**< An element of the list. */
struct cloogdomainlist *next;/**< Pointer to the next element of the list .*/ struct cloogdomainlist *next;/**< Pointer to the next element of the list .*/
} ; } ;
typedef struct cloogdomainlist CloogDomainList; typedef struct cloogdomainlist CloogDomainList;
skipping to change at line 116 skipping to change at line 117
CloogScattering *cloog_domain_read_scattering(CloogDomain *domain, FILE *fo o); CloogScattering *cloog_domain_read_scattering(CloogDomain *domain, FILE *fo o);
CloogDomain * cloog_domain_from_cloog_matrix(CloogState *state, CloogDomain * cloog_domain_from_cloog_matrix(CloogState *state,
CloogMatrix *matrix, int nb_par); CloogMatrix *matrix, int nb_par);
CloogScattering * cloog_scattering_from_cloog_matrix(CloogState *state, CloogScattering * cloog_scattering_from_cloog_matrix(CloogState *state,
CloogMatrix *matrix, int nb_scat, int nb_par ); CloogMatrix *matrix, int nb_scat, int nb_par );
/************************************************************************** **** /************************************************************************** ****
* Processing functions * * Processing functions *
************************************************************************** ****/ ************************************************************************** ****/
CloogDomain *cloog_domain_from_osl_relation(CloogState *,
struct osl_relation *);
CloogScattering *cloog_scattering_from_osl_relation(CloogState *,
struct osl_relation *);
CloogConstraintSet *cloog_domain_constraints(CloogDomain *); CloogConstraintSet *cloog_domain_constraints(CloogDomain *);
int cloog_domain_isempty(CloogDomain *) ; int cloog_domain_isempty(CloogDomain *) ;
CloogDomain * cloog_domain_universe(CloogState *state, unsigned dim); CloogDomain * cloog_domain_universe(CloogState *state, unsigned dim);
CloogDomain * cloog_domain_project(CloogDomain *, int); CloogDomain * cloog_domain_project(CloogDomain *, int);
CloogDomain * cloog_domain_extend(CloogDomain *, int); CloogDomain * cloog_domain_extend(CloogDomain *, int);
int cloog_domain_never_integral(CloogDomain *) ; int cloog_domain_never_integral(CloogDomain *) ;
void cloog_domain_stride(CloogDomain *, int, cloog_int_t *, cloog_ int_t *); void cloog_domain_stride(CloogDomain *, int, cloog_int_t *, cloog_ int_t *);
int cloog_domain_can_stride(CloogDomain *domain, int level); int cloog_domain_can_stride(CloogDomain *domain, int level);
int cloog_domain_is_otl(CloogDomain *domain, int level); int cloog_domain_is_otl(CloogDomain *domain, int level);
CloogDomain * cloog_domain_stride_lower_bound(CloogDomain *domain, int leve l, CloogDomain * cloog_domain_stride_lower_bound(CloogDomain *domain, int leve l,
 End of changes. 2 change blocks. 
0 lines changed or deleted 5 lines changed or added


 ilp.h   ilp.h 
skipping to change at line 25 skipping to change at line 25
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
enum isl_lp_result isl_basic_set_solve_ilp(struct isl_basic_set *bset, int max, enum isl_lp_result isl_basic_set_solve_ilp(struct isl_basic_set *bset, int max,
isl_int *f, isl_int *opt, isl_int *f, isl_int *opt,
struct isl_vec **sol_p); struct isl_vec **sol_p);
enum isl_lp_result isl_basic_set_max(__isl_keep isl_basic_set *bset, enum isl_lp_result isl_basic_set_max(__isl_keep isl_basic_set *bset,
__isl_keep isl_aff *obj, isl_int *opt); __isl_keep isl_aff *obj, isl_int *opt);
enum isl_lp_result isl_set_min(__isl_keep isl_set *set,
__isl_keep isl_aff *obj, isl_int *opt);
enum isl_lp_result isl_set_max(__isl_keep isl_set *set, enum isl_lp_result isl_set_max(__isl_keep isl_set *set,
__isl_keep isl_aff *obj, isl_int *opt); __isl_keep isl_aff *obj, isl_int *opt);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif #endif
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added


 input.h   input.h 
#ifndef CLOOG_INPUT_H #ifndef CLOOG_INPUT_H
#define CLOOG_INPUT_H #define CLOOG_INPUT_H
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct osl_scop;
struct clooginput { struct clooginput {
CloogDomain *context; CloogDomain *context;
CloogUnionDomain *ud; CloogUnionDomain *ud;
}; };
typedef struct clooginput CloogInput; typedef struct clooginput CloogInput;
CloogInput *cloog_input_from_osl_scop(CloogState *, struct osl_scop *);
CloogInput *cloog_input_read(FILE *file, CloogOptions *options); CloogInput *cloog_input_read(FILE *file, CloogOptions *options);
CloogInput *cloog_input_alloc(CloogDomain *context, CloogUnionDomain *ud); CloogInput *cloog_input_alloc(CloogDomain *context, CloogUnionDomain *ud);
void cloog_input_free(CloogInput *input); void cloog_input_free(CloogInput *input);
void cloog_input_dump_cloog(FILE *file, CloogInput *input, CloogOptions *op t); void cloog_input_dump_cloog(FILE *file, CloogInput *input, CloogOptions *op t);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 3 lines changed or added


 list.h   list.h 
skipping to change at line 25 skipping to change at line 25
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
#define ISL_DECLARE_LIST(EL) \ #define ISL_DECLARE_LIST(EL) \
struct isl_##EL; \ struct isl_##EL; \
struct isl_##EL##_list; \ struct isl_##EL##_list; \
typedef struct isl_##EL##_list isl_##EL##_list; \ typedef struct isl_##EL##_list isl_##EL##_list; \
isl_ctx *isl_##EL##_list_get_ctx(__isl_keep isl_##EL##_list *list); \ isl_ctx *isl_##EL##_list_get_ctx(__isl_keep isl_##EL##_list *list); \
__isl_give isl_##EL##_list *isl_##EL##_list_from_##EL( \
__isl_take struct isl_##EL *el); \
__isl_give isl_##EL##_list *isl_##EL##_list_alloc(isl_ctx *ctx, int n); \ __isl_give isl_##EL##_list *isl_##EL##_list_alloc(isl_ctx *ctx, int n); \
__isl_give isl_##EL##_list *isl_##EL##_list_copy( \ __isl_give isl_##EL##_list *isl_##EL##_list_copy( \
__isl_keep isl_##EL##_list *list); \ __isl_keep isl_##EL##_list *list); \
void isl_##EL##_list_free(__isl_take isl_##EL##_list *list); \ void *isl_##EL##_list_free(__isl_take isl_##EL##_list *list); \
__isl_give isl_##EL##_list *isl_##EL##_list_add( \ __isl_give isl_##EL##_list *isl_##EL##_list_add( \
__isl_take isl_##EL##_list *list, \ __isl_take isl_##EL##_list *list, \
__isl_take struct isl_##EL *el); \ __isl_take struct isl_##EL *el); \
__isl_give isl_##EL##_list *isl_##EL##_list_concat( \
__isl_take isl_##EL##_list *list1, \
__isl_take isl_##EL##_list *list2); \
int isl_##EL##_list_n_##EL(__isl_keep isl_##EL##_list *list); \ int isl_##EL##_list_n_##EL(__isl_keep isl_##EL##_list *list); \
__isl_give struct isl_##EL *isl_##EL##_list_get_##EL( \ __isl_give struct isl_##EL *isl_##EL##_list_get_##EL( \
__isl_keep isl_##EL##_list *list, int index); \ __isl_keep isl_##EL##_list *list, int index); \
int isl_##EL##_list_foreach(__isl_keep isl_##EL##_list *list, \ int isl_##EL##_list_foreach(__isl_keep isl_##EL##_list *list, \
int (*fn)(__isl_take struct isl_##EL *el, void *user), \ int (*fn)(__isl_take struct isl_##EL *el, void *user), \
void *user); \ void *user); \
__isl_give isl_printer *isl_printer_print_##EL##_list( \ __isl_give isl_printer *isl_printer_print_##EL##_list( \
__isl_take isl_printer *p, __isl_keep isl_##EL##_list *list); \ __isl_take isl_printer *p, __isl_keep isl_##EL##_list *list); \
void isl_##EL##_list_dump(__isl_keep isl_##EL##_list *list); void isl_##EL##_list_dump(__isl_keep isl_##EL##_list *list);
ISL_DECLARE_LIST(basic_set) ISL_DECLARE_LIST(basic_set)
ISL_DECLARE_LIST(set) ISL_DECLARE_LIST(set)
ISL_DECLARE_LIST(aff) ISL_DECLARE_LIST(aff)
ISL_DECLARE_LIST(pw_aff)
ISL_DECLARE_LIST(band) ISL_DECLARE_LIST(band)
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif #endif
 End of changes. 4 change blocks. 
1 lines changed or deleted 7 lines changed or added


 local_space.h   local_space.h 
#ifndef ISL_LOCAL_SPACE_H #ifndef ISL_LOCAL_SPACE_H
#define ISL_LOCAL_SPACE_H #define ISL_LOCAL_SPACE_H
#include <isl/div.h> #include <isl/aff_type.h>
#include <isl/space.h>
#include <isl/printer.h> #include <isl/printer.h>
#include <isl/map_type.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct isl_local_space; struct isl_local_space;
typedef struct isl_local_space isl_local_space; typedef struct isl_local_space isl_local_space;
isl_ctx *isl_local_space_get_ctx(__isl_keep isl_local_space *ls); isl_ctx *isl_local_space_get_ctx(__isl_keep isl_local_space *ls);
__isl_give isl_local_space *isl_local_space_from_dim(__isl_take isl_dim *di m); __isl_give isl_local_space *isl_local_space_from_space(__isl_take isl_space *dim);
__isl_give isl_local_space *isl_local_space_copy( __isl_give isl_local_space *isl_local_space_copy(
__isl_keep isl_local_space *ls); __isl_keep isl_local_space *ls);
void *isl_local_space_free(__isl_take isl_local_space *ls); void *isl_local_space_free(__isl_take isl_local_space *ls);
int isl_local_space_is_set(__isl_keep isl_local_space *ls);
int isl_local_space_dim(__isl_keep isl_local_space *ls, int isl_local_space_dim(__isl_keep isl_local_space *ls,
enum isl_dim_type type); enum isl_dim_type type);
const char *isl_local_space_get_dim_name(__isl_keep isl_local_space *ls, const char *isl_local_space_get_dim_name(__isl_keep isl_local_space *ls,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
__isl_give isl_local_space *isl_local_space_set_dim_name( __isl_give isl_local_space *isl_local_space_set_dim_name(
__isl_take isl_local_space *ls, __isl_take isl_local_space *ls,
enum isl_dim_type type, unsigned pos, const char *s); enum isl_dim_type type, unsigned pos, const char *s);
__isl_give isl_dim *isl_local_space_get_dim(__isl_keep isl_local_space *ls) __isl_give isl_local_space *isl_local_space_set_dim_id(
; __isl_take isl_local_space *ls,
__isl_give isl_div *isl_local_space_get_div(__isl_keep isl_local_space *ls, enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
__isl_give isl_space *isl_local_space_get_space(__isl_keep isl_local_space
*ls);
__isl_give isl_aff *isl_local_space_get_div(__isl_keep isl_local_space *ls,
int pos); int pos);
__isl_give isl_local_space *isl_local_space_domain(
__isl_take isl_local_space *ls);
__isl_give isl_local_space *isl_local_space_range(
__isl_take isl_local_space *ls);
__isl_give isl_local_space *isl_local_space_from_domain( __isl_give isl_local_space *isl_local_space_from_domain(
__isl_take isl_local_space *ls); __isl_take isl_local_space *ls);
__isl_give isl_local_space *isl_local_space_add_dims( __isl_give isl_local_space *isl_local_space_add_dims(
__isl_take isl_local_space *ls, enum isl_dim_type type, unsigned n); __isl_take isl_local_space *ls, enum isl_dim_type type, unsigned n);
__isl_give isl_local_space *isl_local_space_drop_dims( __isl_give isl_local_space *isl_local_space_drop_dims(
__isl_take isl_local_space *ls, __isl_take isl_local_space *ls,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_local_space *isl_local_space_insert_dims( __isl_give isl_local_space *isl_local_space_insert_dims(
__isl_take isl_local_space *ls, __isl_take isl_local_space *ls,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_local_space *isl_local_space_intersect(
__isl_take isl_local_space *ls1, __isl_take isl_local_space *ls2);
int isl_local_space_is_equal(__isl_keep isl_local_space *ls1, int isl_local_space_is_equal(__isl_keep isl_local_space *ls1,
__isl_keep isl_local_space *ls2); __isl_keep isl_local_space *ls2);
__isl_give isl_basic_map *isl_local_space_lifting(
__isl_take isl_local_space *ls);
__isl_give isl_printer *isl_printer_print_local_space(__isl_take isl_printe r *p, __isl_give isl_printer *isl_printer_print_local_space(__isl_take isl_printe r *p,
__isl_keep isl_local_space *ls); __isl_keep isl_local_space *ls);
void isl_local_space_dump(__isl_keep isl_local_space *ls); void isl_local_space_dump(__isl_keep isl_local_space *ls);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif #endif
 End of changes. 8 change blocks. 
5 lines changed or deleted 22 lines changed or added


 map.h   map.h 
skipping to change at line 18 skipping to change at line 18
*/ */
#ifndef ISL_MAP_H #ifndef ISL_MAP_H
#define ISL_MAP_H #define ISL_MAP_H
#include <stdio.h> #include <stdio.h>
#include <isl/int.h> #include <isl/int.h>
#include <isl/ctx.h> #include <isl/ctx.h>
#include <isl/blk.h> #include <isl/blk.h>
#include <isl/dim.h> #include <isl/space.h>
#include <isl/div.h>
#include <isl/vec.h> #include <isl/vec.h>
#include <isl/mat.h> #include <isl/mat.h>
#include <isl/printer.h> #include <isl/printer.h>
#include <isl/local_space.h> #include <isl/local_space.h>
#include <isl/aff_type.h> #include <isl/aff_type.h>
#include <isl/list.h> #include <isl/list.h>
#include <isl/map_type.h> #include <isl/map_type.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
skipping to change at line 51 skipping to change at line 50
* functions). A pointer passed to such a function may therefore * functions). A pointer passed to such a function may therefore
* never be used after the function call. If you want to keep a * never be used after the function call. If you want to keep a
* reference to the old structure(s), use the appropriate _copy function. * reference to the old structure(s), use the appropriate _copy function.
*/ */
unsigned isl_basic_map_n_in(const struct isl_basic_map *bmap); unsigned isl_basic_map_n_in(const struct isl_basic_map *bmap);
unsigned isl_basic_map_n_out(const struct isl_basic_map *bmap); unsigned isl_basic_map_n_out(const struct isl_basic_map *bmap);
unsigned isl_basic_map_n_param(const struct isl_basic_map *bmap); unsigned isl_basic_map_n_param(const struct isl_basic_map *bmap);
unsigned isl_basic_map_n_div(const struct isl_basic_map *bmap); unsigned isl_basic_map_n_div(const struct isl_basic_map *bmap);
unsigned isl_basic_map_total_dim(const struct isl_basic_map *bmap); unsigned isl_basic_map_total_dim(const struct isl_basic_map *bmap);
unsigned isl_basic_map_dim(const struct isl_basic_map *bmap, unsigned isl_basic_map_dim(__isl_keep isl_basic_map *bmap,
enum isl_dim_type type); enum isl_dim_type type);
unsigned isl_map_n_in(const struct isl_map *map); unsigned isl_map_n_in(const struct isl_map *map);
unsigned isl_map_n_out(const struct isl_map *map); unsigned isl_map_n_out(const struct isl_map *map);
unsigned isl_map_n_param(const struct isl_map *map); unsigned isl_map_n_param(const struct isl_map *map);
unsigned isl_map_dim(const struct isl_map *map, enum isl_dim_type type); unsigned isl_map_dim(__isl_keep isl_map *map, enum isl_dim_type type);
isl_ctx *isl_basic_map_get_ctx(__isl_keep isl_basic_map *bmap); isl_ctx *isl_basic_map_get_ctx(__isl_keep isl_basic_map *bmap);
isl_ctx *isl_map_get_ctx(__isl_keep isl_map *map); isl_ctx *isl_map_get_ctx(__isl_keep isl_map *map);
__isl_give isl_dim *isl_basic_map_get_dim(__isl_keep isl_basic_map *bmap); __isl_give isl_space *isl_basic_map_get_space(__isl_keep isl_basic_map *bma
__isl_give isl_dim *isl_map_get_dim(__isl_keep isl_map *map); p);
__isl_give isl_space *isl_map_get_space(__isl_keep isl_map *map);
struct isl_div *isl_basic_map_div(struct isl_basic_map *bmap, int pos); __isl_give isl_aff *isl_basic_map_get_div(__isl_keep isl_basic_map *bmap,
int pos);
__isl_give isl_local_space *isl_basic_map_get_local_space( __isl_give isl_local_space *isl_basic_map_get_local_space(
__isl_keep isl_basic_map *bmap); __isl_keep isl_basic_map *bmap);
__isl_give isl_basic_map *isl_basic_map_set_tuple_name( __isl_give isl_basic_map *isl_basic_map_set_tuple_name(
__isl_take isl_basic_map *bmap, enum isl_dim_type type, const char * s); __isl_take isl_basic_map *bmap, enum isl_dim_type type, const char * s);
const char *isl_basic_map_get_tuple_name(__isl_keep isl_basic_map *bmap, const char *isl_basic_map_get_tuple_name(__isl_keep isl_basic_map *bmap,
enum isl_dim_type type); enum isl_dim_type type);
const char *isl_map_get_tuple_name(__isl_keep isl_map *map, const char *isl_map_get_tuple_name(__isl_keep isl_map *map,
enum isl_dim_type type); enum isl_dim_type type);
skipping to change at line 87 skipping to change at line 87
const char *isl_basic_map_get_dim_name(__isl_keep isl_basic_map *bmap, const char *isl_basic_map_get_dim_name(__isl_keep isl_basic_map *bmap,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
const char *isl_map_get_dim_name(__isl_keep isl_map *map, const char *isl_map_get_dim_name(__isl_keep isl_map *map,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
__isl_give isl_basic_map *isl_basic_map_set_dim_name( __isl_give isl_basic_map *isl_basic_map_set_dim_name(
__isl_take isl_basic_map *bmap, __isl_take isl_basic_map *bmap,
enum isl_dim_type type, unsigned pos, const char *s); enum isl_dim_type type, unsigned pos, const char *s);
__isl_give isl_map *isl_map_set_dim_name(__isl_take isl_map *map, __isl_give isl_map *isl_map_set_dim_name(__isl_take isl_map *map,
enum isl_dim_type type, unsigned pos, const char *s); enum isl_dim_type type, unsigned pos, const char *s);
__isl_give isl_map *isl_map_set_dim_id(__isl_take isl_map *map,
enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
int isl_basic_map_has_dim_id(__isl_keep isl_basic_map *bmap,
enum isl_dim_type type, unsigned pos);
int isl_map_has_dim_id(__isl_keep isl_map *map,
enum isl_dim_type type, unsigned pos);
__isl_give isl_id *isl_map_get_dim_id(__isl_keep isl_map *map,
enum isl_dim_type type, unsigned pos);
__isl_give isl_map *isl_map_set_tuple_id(__isl_take isl_map *map,
enum isl_dim_type type, __isl_take isl_id *id);
__isl_give isl_map *isl_map_reset_tuple_id(__isl_take isl_map *map,
enum isl_dim_type type);
int isl_map_has_tuple_id(__isl_keep isl_map *map, enum isl_dim_type type);
__isl_give isl_id *isl_map_get_tuple_id(__isl_keep isl_map *map,
enum isl_dim_type type);
int isl_map_find_dim_by_id(__isl_keep isl_map *map, enum isl_dim_type type,
__isl_keep isl_id *id);
int isl_map_find_dim_by_name(__isl_keep isl_map *map, enum isl_dim_type typ
e,
const char *name);
int isl_basic_map_is_rational(__isl_keep isl_basic_map *bmap); int isl_basic_map_is_rational(__isl_keep isl_basic_map *bmap);
struct isl_basic_map *isl_basic_map_alloc(struct isl_ctx *ctx, struct isl_basic_map *isl_basic_map_alloc(struct isl_ctx *ctx,
unsigned nparam, unsigned in, unsigned out, unsigned extra, unsigned nparam, unsigned in, unsigned out, unsigned extra,
unsigned n_eq, unsigned n_ineq); unsigned n_eq, unsigned n_ineq);
__isl_give isl_basic_map *isl_basic_map_identity(__isl_take isl_dim *dim); __isl_give isl_basic_map *isl_basic_map_identity(__isl_take isl_space *dim) ;
struct isl_basic_map *isl_basic_map_identity_like(struct isl_basic_map *mod el); struct isl_basic_map *isl_basic_map_identity_like(struct isl_basic_map *mod el);
struct isl_basic_map *isl_basic_map_finalize(struct isl_basic_map *bmap); struct isl_basic_map *isl_basic_map_finalize(struct isl_basic_map *bmap);
void isl_basic_map_free(__isl_take isl_basic_map *bmap); void isl_basic_map_free(__isl_take isl_basic_map *bmap);
__isl_give isl_basic_map *isl_basic_map_copy(__isl_keep isl_basic_map *bmap ); __isl_give isl_basic_map *isl_basic_map_copy(__isl_keep isl_basic_map *bmap );
struct isl_basic_map *isl_basic_map_extend(struct isl_basic_map *base, struct isl_basic_map *isl_basic_map_extend(struct isl_basic_map *base,
unsigned nparam, unsigned n_in, unsigned n_out, unsigned ext ra, unsigned nparam, unsigned n_in, unsigned n_out, unsigned ext ra,
unsigned n_eq, unsigned n_ineq); unsigned n_eq, unsigned n_ineq);
struct isl_basic_map *isl_basic_map_extend_constraints( struct isl_basic_map *isl_basic_map_extend_constraints(
struct isl_basic_map *base, unsigned n_eq, unsigned n_ineq); struct isl_basic_map *base, unsigned n_eq, unsigned n_ineq);
struct isl_basic_map *isl_basic_map_equal( __isl_give isl_basic_map *isl_basic_map_equal(
struct isl_dim *dim, unsigned n_equal); __isl_take isl_space *dim, unsigned n_equal);
struct isl_basic_map *isl_basic_map_less_at(struct isl_dim *dim, unsigned p __isl_give isl_basic_map *isl_basic_map_less_at(__isl_take isl_space *dim,
os); unsigned pos);
struct isl_basic_map *isl_basic_map_more_at(struct isl_dim *dim, unsigned p __isl_give isl_basic_map *isl_basic_map_more_at(__isl_take isl_space *dim,
os); unsigned pos);
__isl_give isl_basic_map *isl_basic_map_empty(__isl_take isl_dim *dim); __isl_give isl_basic_map *isl_basic_map_empty(__isl_take isl_space *dim);
struct isl_basic_map *isl_basic_map_empty_like(struct isl_basic_map *model) ; struct isl_basic_map *isl_basic_map_empty_like(struct isl_basic_map *model) ;
struct isl_basic_map *isl_basic_map_empty_like_map(struct isl_map *model); struct isl_basic_map *isl_basic_map_empty_like_map(struct isl_map *model);
__isl_give isl_basic_map *isl_basic_map_universe(__isl_take isl_dim *dim); __isl_give isl_basic_map *isl_basic_map_universe(__isl_take isl_space *dim)
__isl_give isl_basic_map *isl_basic_map_nat_universe(__isl_take isl_dim *di ;
m); __isl_give isl_basic_map *isl_basic_map_nat_universe(__isl_take isl_space *
dim);
__isl_give isl_basic_map *isl_basic_map_universe_like( __isl_give isl_basic_map *isl_basic_map_universe_like(
__isl_keep isl_basic_map *bmap); __isl_keep isl_basic_map *bmap);
__isl_give isl_basic_map *isl_basic_map_remove_redundancies( __isl_give isl_basic_map *isl_basic_map_remove_redundancies(
__isl_take isl_basic_map *bmap); __isl_take isl_basic_map *bmap);
__isl_give isl_map *isl_map_remove_redundancies(__isl_take isl_map *map); __isl_give isl_map *isl_map_remove_redundancies(__isl_take isl_map *map);
__isl_give isl_basic_map *isl_map_simple_hull(__isl_take isl_map *map); __isl_give isl_basic_map *isl_map_simple_hull(__isl_take isl_map *map);
__isl_export
__isl_give isl_basic_map *isl_basic_map_intersect_domain( __isl_give isl_basic_map *isl_basic_map_intersect_domain(
__isl_take isl_basic_map *bmap, __isl_take isl_basic_map *bmap,
__isl_take isl_basic_set *bset); __isl_take isl_basic_set *bset);
__isl_export
__isl_give isl_basic_map *isl_basic_map_intersect_range( __isl_give isl_basic_map *isl_basic_map_intersect_range(
__isl_take isl_basic_map *bmap, __isl_take isl_basic_map *bmap,
__isl_take isl_basic_set *bset); __isl_take isl_basic_set *bset);
__isl_export
__isl_give isl_basic_map *isl_basic_map_intersect( __isl_give isl_basic_map *isl_basic_map_intersect(
__isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap1,
__isl_take isl_basic_map *bmap2); __isl_take isl_basic_map *bmap2);
__isl_export
__isl_give isl_map *isl_basic_map_union( __isl_give isl_map *isl_basic_map_union(
__isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap1,
__isl_take isl_basic_map *bmap2); __isl_take isl_basic_map *bmap2);
__isl_export
__isl_give isl_basic_map *isl_basic_map_apply_domain( __isl_give isl_basic_map *isl_basic_map_apply_domain(
__isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap1,
__isl_take isl_basic_map *bmap2); __isl_take isl_basic_map *bmap2);
__isl_export
__isl_give isl_basic_map *isl_basic_map_apply_range( __isl_give isl_basic_map *isl_basic_map_apply_range(
__isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap1,
__isl_take isl_basic_map *bmap2); __isl_take isl_basic_map *bmap2);
__isl_export
__isl_give isl_basic_map *isl_basic_map_affine_hull( __isl_give isl_basic_map *isl_basic_map_affine_hull(
__isl_take isl_basic_map *bmap); __isl_take isl_basic_map *bmap);
__isl_export
__isl_give isl_basic_map *isl_basic_map_reverse(__isl_take isl_basic_map *b map); __isl_give isl_basic_map *isl_basic_map_reverse(__isl_take isl_basic_map *b map);
__isl_give isl_basic_set *isl_basic_map_domain(__isl_take isl_basic_map *bm ap); __isl_give isl_basic_set *isl_basic_map_domain(__isl_take isl_basic_map *bm ap);
__isl_give isl_basic_set *isl_basic_map_range(__isl_take isl_basic_map *bma p); __isl_give isl_basic_set *isl_basic_map_range(__isl_take isl_basic_map *bma p);
__isl_give isl_basic_map *isl_basic_map_domain_map( __isl_give isl_basic_map *isl_basic_map_domain_map(
__isl_take isl_basic_map *bmap); __isl_take isl_basic_map *bmap);
__isl_give isl_basic_map *isl_basic_map_range_map( __isl_give isl_basic_map *isl_basic_map_range_map(
__isl_take isl_basic_map *bmap); __isl_take isl_basic_map *bmap);
__isl_give isl_basic_map *isl_basic_map_remove_dims( __isl_give isl_basic_map *isl_basic_map_remove_dims(
__isl_take isl_basic_map *bmap, __isl_take isl_basic_map *bmap,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
struct isl_basic_map *isl_basic_map_from_basic_set(struct isl_basic_set *bs __isl_give isl_basic_map *isl_basic_map_eliminate(
et, __isl_take isl_basic_map *bmap,
struct isl_dim *dim); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_basic_map *isl_basic_map_from_basic_set(
__isl_take isl_basic_set *bset, __isl_take isl_space *dim);
struct isl_basic_set *isl_basic_set_from_basic_map(struct isl_basic_map *bm ap); struct isl_basic_set *isl_basic_set_from_basic_map(struct isl_basic_map *bm ap);
__isl_export
__isl_give isl_basic_map *isl_basic_map_sample(__isl_take isl_basic_map *bm ap); __isl_give isl_basic_map *isl_basic_map_sample(__isl_take isl_basic_map *bm ap);
struct isl_basic_map *isl_basic_map_simplify(struct isl_basic_map *bmap); struct isl_basic_map *isl_basic_map_simplify(struct isl_basic_map *bmap);
struct isl_basic_map *isl_basic_map_detect_equalities( __isl_export
struct isl_basic_map *bmap); __isl_give isl_basic_map *isl_basic_map_detect_equalities(
__isl_take isl_basic_map *bm
ap);
__isl_give isl_basic_map *isl_basic_map_read_from_file(isl_ctx *ctx, __isl_give isl_basic_map *isl_basic_map_read_from_file(isl_ctx *ctx,
FILE *input, int nparam); FILE *input);
__isl_constructor
__isl_give isl_basic_map *isl_basic_map_read_from_str(isl_ctx *ctx, __isl_give isl_basic_map *isl_basic_map_read_from_str(isl_ctx *ctx,
const char *str, int nparam); const char *str);
__isl_give isl_map *isl_map_read_from_file(struct isl_ctx *ctx, __isl_give isl_map *isl_map_read_from_file(isl_ctx *ctx, FILE *input);
FILE *input, int nparam); __isl_constructor
__isl_give isl_map *isl_map_read_from_str(isl_ctx *ctx, __isl_give isl_map *isl_map_read_from_str(isl_ctx *ctx, const char *str);
const char *str, int nparam);
void isl_basic_map_dump(__isl_keep isl_basic_map *bmap); void isl_basic_map_dump(__isl_keep isl_basic_map *bmap);
void isl_basic_map_print(__isl_keep isl_basic_map *bmap, FILE *out, int ind ent, void isl_basic_map_print(__isl_keep isl_basic_map *bmap, FILE *out, int ind ent,
const char *prefix, const char *suffix, unsigned output_format); const char *prefix, const char *suffix, unsigned output_format);
void isl_map_dump(__isl_keep isl_map *map); void isl_map_dump(__isl_keep isl_map *map);
void isl_map_print(__isl_keep isl_map *map, FILE *out, int indent, void isl_map_print(__isl_keep isl_map *map, FILE *out, int indent,
unsigned output_format); unsigned output_format);
__isl_give isl_printer *isl_printer_print_basic_map( __isl_give isl_printer *isl_printer_print_basic_map(
__isl_take isl_printer *printer, __isl_keep isl_basic_map *bmap); __isl_take isl_printer *printer, __isl_keep isl_basic_map *bmap);
__isl_give isl_printer *isl_printer_print_map(__isl_take isl_printer *print er, __isl_give isl_printer *isl_printer_print_map(__isl_take isl_printer *print er,
__isl_keep isl_map *map); __isl_keep isl_map *map);
skipping to change at line 189 skipping to change at line 225
struct isl_basic_map *isl_basic_map_sum( struct isl_basic_map *isl_basic_map_sum(
struct isl_basic_map *bmap1, struct isl_basic_map *bmap2); struct isl_basic_map *bmap1, struct isl_basic_map *bmap2);
struct isl_basic_map *isl_basic_map_neg(struct isl_basic_map *bmap); struct isl_basic_map *isl_basic_map_neg(struct isl_basic_map *bmap);
struct isl_basic_map *isl_basic_map_floordiv(struct isl_basic_map *bmap, struct isl_basic_map *isl_basic_map_floordiv(struct isl_basic_map *bmap,
isl_int d); isl_int d);
struct isl_map *isl_map_sum(struct isl_map *map1, struct isl_map *map2); struct isl_map *isl_map_sum(struct isl_map *map1, struct isl_map *map2);
struct isl_map *isl_map_neg(struct isl_map *map); struct isl_map *isl_map_neg(struct isl_map *map);
struct isl_map *isl_map_floordiv(struct isl_map *map, isl_int d); struct isl_map *isl_map_floordiv(struct isl_map *map, isl_int d);
__isl_export
int isl_basic_map_is_equal( int isl_basic_map_is_equal(
__isl_keep isl_basic_map *bmap1, __isl_keep isl_basic_map *bmap1,
__isl_keep isl_basic_map *bmap2); __isl_keep isl_basic_map *bmap2);
__isl_give isl_map *isl_basic_map_partial_lexmax( __isl_give isl_map *isl_basic_map_partial_lexmax(
__isl_take isl_basic_map *bmap, __isl_take isl_basic_set *do m, __isl_take isl_basic_map *bmap, __isl_take isl_basic_set *do m,
__isl_give isl_set **empty); __isl_give isl_set **empty);
__isl_give isl_map *isl_basic_map_partial_lexmin( __isl_give isl_map *isl_basic_map_partial_lexmin(
__isl_take isl_basic_map *bmap, __isl_take isl_basic_set *do m, __isl_take isl_basic_map *bmap, __isl_take isl_basic_set *do m,
__isl_give isl_set **empty); __isl_give isl_set **empty);
__isl_give isl_map *isl_map_partial_lexmax( __isl_give isl_map *isl_map_partial_lexmax(
__isl_take isl_map *map, __isl_take isl_set *dom, __isl_take isl_map *map, __isl_take isl_set *dom,
__isl_give isl_set **empty); __isl_give isl_set **empty);
__isl_give isl_map *isl_map_partial_lexmin( __isl_give isl_map *isl_map_partial_lexmin(
__isl_take isl_map *map, __isl_take isl_set *dom, __isl_take isl_map *map, __isl_take isl_set *dom,
__isl_give isl_set **empty); __isl_give isl_set **empty);
__isl_export
__isl_give isl_map *isl_basic_map_lexmin(__isl_take isl_basic_map *bmap); __isl_give isl_map *isl_basic_map_lexmin(__isl_take isl_basic_map *bmap);
__isl_export
__isl_give isl_map *isl_basic_map_lexmax(__isl_take isl_basic_map *bmap); __isl_give isl_map *isl_basic_map_lexmax(__isl_take isl_basic_map *bmap);
__isl_export
__isl_give isl_map *isl_map_lexmin(__isl_take isl_map *map); __isl_give isl_map *isl_map_lexmin(__isl_take isl_map *map);
__isl_export
__isl_give isl_map *isl_map_lexmax(__isl_take isl_map *map); __isl_give isl_map *isl_map_lexmax(__isl_take isl_map *map);
int isl_basic_map_foreach_lexmin(__isl_keep isl_basic_map *bmap, __isl_give isl_pw_multi_aff *isl_basic_map_partial_lexmin_pw_multi_aff(
int (*fn)(__isl_take isl_basic_set *dom, __isl_take isl_aff_list *li __isl_take isl_basic_map *bmap, __isl_take isl_basic_set *dom,
st, __isl_give isl_set **empty);
void *user), __isl_give isl_pw_multi_aff *isl_basic_map_partial_lexmax_pw_multi_aff(
void *user); __isl_take isl_basic_map *bmap, __isl_take isl_basic_set *dom,
int isl_basic_map_foreach_lexmax(__isl_keep isl_basic_map *bmap, __isl_give isl_set **empty);
int (*fn)(__isl_take isl_basic_set *dom, __isl_take isl_aff_list *li __isl_give isl_pw_multi_aff *isl_basic_map_lexmin_pw_multi_aff(
st, __isl_take isl_basic_map *bmap);
void *user),
void *user);
void isl_basic_map_print_internal(__isl_keep isl_basic_map *bmap, void isl_basic_map_print_internal(__isl_keep isl_basic_map *bmap,
FILE *out, int indent); FILE *out, int indent);
struct isl_basic_map *isl_map_copy_basic_map(struct isl_map *map); struct isl_basic_map *isl_map_copy_basic_map(struct isl_map *map);
__isl_give isl_map *isl_map_drop_basic_map(__isl_take isl_map *map, __isl_give isl_map *isl_map_drop_basic_map(__isl_take isl_map *map,
__isl_keep isl_basic_map *bm ap); __isl_keep isl_basic_map *bm ap);
int isl_basic_map_plain_is_fixed(struct isl_basic_map *bmap, int isl_basic_map_plain_is_fixed(__isl_keep isl_basic_map *bmap,
enum isl_dim_type type, unsigned pos, isl_int *val); enum isl_dim_type type, unsigned pos, isl_int *val);
int isl_basic_map_image_is_bounded(__isl_keep isl_basic_map *bmap); int isl_basic_map_image_is_bounded(__isl_keep isl_basic_map *bmap);
int isl_basic_map_is_universe(__isl_keep isl_basic_map *bmap); int isl_basic_map_is_universe(__isl_keep isl_basic_map *bmap);
int isl_basic_map_plain_is_empty(__isl_keep isl_basic_map *bmap); int isl_basic_map_plain_is_empty(__isl_keep isl_basic_map *bmap);
int isl_basic_map_fast_is_empty(__isl_keep isl_basic_map *bmap); int isl_basic_map_fast_is_empty(__isl_keep isl_basic_map *bmap);
__isl_export
int isl_basic_map_is_empty(__isl_keep isl_basic_map *bmap); int isl_basic_map_is_empty(__isl_keep isl_basic_map *bmap);
int isl_basic_map_is_subset(__isl_keep isl_basic_map *bmap1, int isl_basic_map_is_subset(__isl_keep isl_basic_map *bmap1,
__isl_keep isl_basic_map *bmap2); __isl_keep isl_basic_map *bmap2);
int isl_basic_map_is_strict_subset(__isl_keep isl_basic_map *bmap1, int isl_basic_map_is_strict_subset(__isl_keep isl_basic_map *bmap1,
__isl_keep isl_basic_map *bmap2); __isl_keep isl_basic_map *bmap2);
struct isl_map *isl_map_alloc(struct isl_ctx *ctx, struct isl_map *isl_map_alloc(struct isl_ctx *ctx,
unsigned nparam, unsigned in, unsigned out, int n, unsigned nparam, unsigned in, unsigned out, int n,
unsigned flags); unsigned flags);
__isl_give isl_map *isl_map_universe(__isl_take isl_dim *dim); __isl_give isl_map *isl_map_universe(__isl_take isl_space *dim);
__isl_give isl_map *isl_map_nat_universe(__isl_take isl_dim *dim); __isl_give isl_map *isl_map_nat_universe(__isl_take isl_space *dim);
__isl_give isl_map *isl_map_empty(__isl_take isl_dim *dim); __isl_give isl_map *isl_map_empty(__isl_take isl_space *dim);
struct isl_map *isl_map_empty_like(struct isl_map *model); struct isl_map *isl_map_empty_like(struct isl_map *model);
struct isl_map *isl_map_empty_like_basic_map(struct isl_basic_map *model); struct isl_map *isl_map_empty_like_basic_map(struct isl_basic_map *model);
struct isl_map *isl_map_dup(struct isl_map *map); struct isl_map *isl_map_dup(struct isl_map *map);
__isl_give isl_map *isl_map_add_basic_map(__isl_take isl_map *map, __isl_give isl_map *isl_map_add_basic_map(__isl_take isl_map *map,
__isl_take isl_basic_map *bm ap); __isl_take isl_basic_map *bm ap);
__isl_give isl_map *isl_map_identity(__isl_take isl_dim *dim); __isl_give isl_map *isl_map_identity(__isl_take isl_space *dim);
struct isl_map *isl_map_identity_like(struct isl_map *model); struct isl_map *isl_map_identity_like(struct isl_map *model);
struct isl_map *isl_map_identity_like_basic_map(struct isl_basic_map *model ); struct isl_map *isl_map_identity_like_basic_map(struct isl_basic_map *model );
__isl_give isl_map *isl_map_lex_lt_first(__isl_take isl_dim *dim, unsigned __isl_give isl_map *isl_map_lex_lt_first(__isl_take isl_space *dim, unsigne
n); d n);
__isl_give isl_map *isl_map_lex_le_first(__isl_take isl_dim *dim, unsigned __isl_give isl_map *isl_map_lex_le_first(__isl_take isl_space *dim, unsigne
n); d n);
__isl_give isl_map *isl_map_lex_lt(__isl_take isl_dim *set_dim); __isl_give isl_map *isl_map_lex_lt(__isl_take isl_space *set_dim);
__isl_give isl_map *isl_map_lex_le(__isl_take isl_dim *set_dim); __isl_give isl_map *isl_map_lex_le(__isl_take isl_space *set_dim);
__isl_give isl_map *isl_map_lex_gt_first(__isl_take isl_dim *dim, unsigned __isl_give isl_map *isl_map_lex_gt_first(__isl_take isl_space *dim, unsigne
n); d n);
__isl_give isl_map *isl_map_lex_ge_first(__isl_take isl_dim *dim, unsigned __isl_give isl_map *isl_map_lex_ge_first(__isl_take isl_space *dim, unsigne
n); d n);
__isl_give isl_map *isl_map_lex_gt(__isl_take isl_dim *set_dim); __isl_give isl_map *isl_map_lex_gt(__isl_take isl_space *set_dim);
__isl_give isl_map *isl_map_lex_ge(__isl_take isl_dim *set_dim); __isl_give isl_map *isl_map_lex_ge(__isl_take isl_space *set_dim);
struct isl_map *isl_map_finalize(struct isl_map *map); struct isl_map *isl_map_finalize(struct isl_map *map);
void isl_map_free(__isl_take isl_map *map); void isl_map_free(__isl_take isl_map *map);
__isl_give isl_map *isl_map_copy(__isl_keep isl_map *map); __isl_give isl_map *isl_map_copy(__isl_keep isl_map *map);
struct isl_map *isl_map_extend(struct isl_map *base, struct isl_map *isl_map_extend(struct isl_map *base,
unsigned nparam, unsigned n_in, unsigned n_out); unsigned nparam, unsigned n_in, unsigned n_out);
__isl_export
__isl_give isl_map *isl_map_reverse(__isl_take isl_map *map); __isl_give isl_map *isl_map_reverse(__isl_take isl_map *map);
__isl_export
__isl_give isl_map *isl_map_union( __isl_give isl_map *isl_map_union(
__isl_take isl_map *map1, __isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
struct isl_map *isl_map_union_disjoint( struct isl_map *isl_map_union_disjoint(
struct isl_map *map1, struct isl_map *map2); struct isl_map *map1, struct isl_map *map2);
__isl_export
__isl_give isl_map *isl_map_intersect_domain( __isl_give isl_map *isl_map_intersect_domain(
__isl_take isl_map *map, __isl_take isl_map *map,
__isl_take isl_set *set); __isl_take isl_set *set);
__isl_export
__isl_give isl_map *isl_map_intersect_range( __isl_give isl_map *isl_map_intersect_range(
__isl_take isl_map *map, __isl_take isl_map *map,
__isl_take isl_set *set); __isl_take isl_set *set);
__isl_export
__isl_give isl_map *isl_map_apply_domain( __isl_give isl_map *isl_map_apply_domain(
__isl_take isl_map *map1, __isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_export
__isl_give isl_map *isl_map_apply_range( __isl_give isl_map *isl_map_apply_range(
__isl_take isl_map *map1, __isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_give isl_map *isl_map_product(__isl_take isl_map *map1, __isl_give isl_map *isl_map_product(__isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_give isl_basic_map *isl_basic_map_domain_product(
__isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap2);
__isl_give isl_basic_map *isl_basic_map_range_product( __isl_give isl_basic_map *isl_basic_map_range_product(
__isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap2); __isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap2);
__isl_give isl_map *isl_map_domain_product(__isl_take isl_map *map1,
__isl_take isl_map *map2);
__isl_give isl_map *isl_map_range_product(__isl_take isl_map *map1, __isl_give isl_map *isl_map_range_product(__isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_give isl_basic_map *isl_basic_map_flat_product( __isl_give isl_basic_map *isl_basic_map_flat_product(
__isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap2); __isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap2);
__isl_give isl_map *isl_map_flat_product(__isl_take isl_map *map1, __isl_give isl_map *isl_map_flat_product(__isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_give isl_basic_map *isl_basic_map_flat_range_product( __isl_give isl_basic_map *isl_basic_map_flat_range_product(
__isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap2); __isl_take isl_basic_map *bmap1, __isl_take isl_basic_map *bmap2);
__isl_give isl_map *isl_map_flat_domain_product(__isl_take isl_map *map1,
__isl_take isl_map *map2);
__isl_give isl_map *isl_map_flat_range_product(__isl_take isl_map *map1, __isl_give isl_map *isl_map_flat_range_product(__isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_export
__isl_give isl_map *isl_map_intersect(__isl_take isl_map *map1, __isl_give isl_map *isl_map_intersect(__isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_export
__isl_give isl_map *isl_map_intersect_params(__isl_take isl_map *map, __isl_give isl_map *isl_map_intersect_params(__isl_take isl_map *map,
__isl_take isl_set *params); __isl_take isl_set *params);
__isl_export
__isl_give isl_map *isl_map_subtract( __isl_give isl_map *isl_map_subtract(
__isl_take isl_map *map1, __isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_give isl_map *isl_map_subtract_domain(__isl_take isl_map *map,
__isl_take isl_set *dom);
__isl_give isl_map *isl_map_subtract_range(__isl_take isl_map *map,
__isl_take isl_set *dom);
struct isl_map *isl_map_fix_input_si(struct isl_map *map, struct isl_map *isl_map_fix_input_si(struct isl_map *map,
unsigned input, int value); unsigned input, int value);
__isl_give isl_map *isl_map_fix_si(__isl_take isl_map *map, __isl_give isl_map *isl_map_fix_si(__isl_take isl_map *map,
enum isl_dim_type type, unsigned pos, int value); enum isl_dim_type type, unsigned pos, int value);
__isl_give isl_map *isl_map_lower_bound_si(__isl_take isl_map *map, __isl_give isl_map *isl_map_lower_bound_si(__isl_take isl_map *map,
enum isl_dim_type type, unsigned pos, int value); enum isl_dim_type type, unsigned pos, int value);
__isl_give isl_map *isl_map_upper_bound_si(__isl_take isl_map *map,
enum isl_dim_type type, unsigned pos, int value);
__isl_export
__isl_give isl_basic_set *isl_basic_map_deltas(__isl_take isl_basic_map *bm ap); __isl_give isl_basic_set *isl_basic_map_deltas(__isl_take isl_basic_map *bm ap);
__isl_export
__isl_give isl_set *isl_map_deltas(__isl_take isl_map *map); __isl_give isl_set *isl_map_deltas(__isl_take isl_map *map);
__isl_give isl_basic_map *isl_basic_map_deltas_map( __isl_give isl_basic_map *isl_basic_map_deltas_map(
__isl_take isl_basic_map *bmap); __isl_take isl_basic_map *bmap);
__isl_give isl_map *isl_map_deltas_map(__isl_take isl_map *map); __isl_give isl_map *isl_map_deltas_map(__isl_take isl_map *map);
struct isl_map *isl_map_detect_equalities(struct isl_map *map); __isl_export
__isl_give isl_map *isl_map_detect_equalities(__isl_take isl_map *map);
__isl_export
__isl_give isl_basic_map *isl_map_affine_hull(__isl_take isl_map *map); __isl_give isl_basic_map *isl_map_affine_hull(__isl_take isl_map *map);
__isl_give isl_basic_map *isl_map_convex_hull(__isl_take isl_map *map); __isl_give isl_basic_map *isl_map_convex_hull(__isl_take isl_map *map);
__isl_export
__isl_give isl_basic_map *isl_map_polyhedral_hull(__isl_take isl_map *map); __isl_give isl_basic_map *isl_map_polyhedral_hull(__isl_take isl_map *map);
__isl_give isl_basic_map *isl_basic_map_add(__isl_take isl_basic_map *bmap, __isl_give isl_basic_map *isl_basic_map_add(__isl_take isl_basic_map *bmap,
enum isl_dim_type type, unsigned n); enum isl_dim_type type, unsigned n);
__isl_give isl_map *isl_map_add_dims(__isl_take isl_map *map, __isl_give isl_map *isl_map_add_dims(__isl_take isl_map *map,
enum isl_dim_type type, unsigned n); enum isl_dim_type type, unsigned n);
__isl_give isl_map *isl_map_insert(__isl_take isl_map *map, __isl_give isl_map *isl_map_insert_dims(__isl_take isl_map *map,
enum isl_dim_type type, unsigned pos, unsigned n); enum isl_dim_type type, unsigned pos, unsigned n);
__isl_give isl_basic_map *isl_basic_map_move_dims( __isl_give isl_basic_map *isl_basic_map_move_dims(
__isl_take isl_basic_map *bmap, __isl_take isl_basic_map *bmap,
enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type dst_type, unsigned dst_pos,
enum isl_dim_type src_type, unsigned src_pos, unsigned n); enum isl_dim_type src_type, unsigned src_pos, unsigned n);
__isl_give isl_map *isl_map_move_dims(__isl_take isl_map *map, __isl_give isl_map *isl_map_move_dims(__isl_take isl_map *map,
enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type dst_type, unsigned dst_pos,
enum isl_dim_type src_type, unsigned src_pos, unsigned n); enum isl_dim_type src_type, unsigned src_pos, unsigned n);
__isl_give isl_basic_map *isl_basic_map_project_out( __isl_give isl_basic_map *isl_basic_map_project_out(
__isl_take isl_basic_map *bmap, __isl_take isl_basic_map *bmap,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_map *isl_map_project_out(__isl_take isl_map *map, __isl_give isl_map *isl_map_project_out(__isl_take isl_map *map,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_basic_map *isl_basic_map_remove_divs( __isl_give isl_basic_map *isl_basic_map_remove_divs(
__isl_take isl_basic_map *bmap); __isl_take isl_basic_map *bmap);
__isl_give isl_map *isl_map_remove_divs(__isl_take isl_map *map); __isl_give isl_map *isl_map_remove_divs(__isl_take isl_map *map);
__isl_give isl_map *isl_map_eliminate(__isl_take isl_map *map,
enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_map *isl_map_remove_dims(__isl_take isl_map *map, __isl_give isl_map *isl_map_remove_dims(__isl_take isl_map *map,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
struct isl_map *isl_map_remove_inputs(struct isl_map *map, struct isl_map *isl_map_remove_inputs(struct isl_map *map,
unsigned first, unsigned n); unsigned first, unsigned n);
__isl_give isl_map *isl_map_equate(__isl_take isl_map *map,
enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2
);
__isl_give isl_map *isl_map_oppose(__isl_take isl_map *map,
enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2
);
__isl_export
__isl_give isl_map *isl_set_identity(__isl_take isl_set *set); __isl_give isl_map *isl_set_identity(__isl_take isl_set *set);
__isl_export
int isl_basic_set_is_wrapping(__isl_keep isl_basic_set *bset); int isl_basic_set_is_wrapping(__isl_keep isl_basic_set *bset);
__isl_export
int isl_set_is_wrapping(__isl_keep isl_set *set); int isl_set_is_wrapping(__isl_keep isl_set *set);
__isl_give isl_basic_set *isl_basic_map_wrap(__isl_take isl_basic_map *bmap ); __isl_give isl_basic_set *isl_basic_map_wrap(__isl_take isl_basic_map *bmap );
__isl_give isl_set *isl_map_wrap(__isl_take isl_map *map); __isl_give isl_set *isl_map_wrap(__isl_take isl_map *map);
__isl_give isl_basic_map *isl_basic_set_unwrap(__isl_take isl_basic_set *bs et); __isl_give isl_basic_map *isl_basic_set_unwrap(__isl_take isl_basic_set *bs et);
__isl_give isl_map *isl_set_unwrap(__isl_take isl_set *set); __isl_give isl_map *isl_set_unwrap(__isl_take isl_set *set);
__isl_export
__isl_give isl_basic_map *isl_basic_map_flatten(__isl_take isl_basic_map *b map); __isl_give isl_basic_map *isl_basic_map_flatten(__isl_take isl_basic_map *b map);
__isl_export
__isl_give isl_map *isl_map_flatten(__isl_take isl_map *map); __isl_give isl_map *isl_map_flatten(__isl_take isl_map *map);
__isl_export
__isl_give isl_basic_map *isl_basic_map_flatten_domain(
__isl_take isl_basic_map *bmap);
__isl_export
__isl_give isl_basic_map *isl_basic_map_flatten_range( __isl_give isl_basic_map *isl_basic_map_flatten_range(
__isl_take isl_basic_map *bmap); __isl_take isl_basic_map *bmap);
__isl_export
__isl_give isl_map *isl_map_flatten_domain(__isl_take isl_map *map);
__isl_export
__isl_give isl_map *isl_map_flatten_range(__isl_take isl_map *map); __isl_give isl_map *isl_map_flatten_range(__isl_take isl_map *map);
__isl_export
__isl_give isl_basic_set *isl_basic_set_flatten(__isl_take isl_basic_set *b set); __isl_give isl_basic_set *isl_basic_set_flatten(__isl_take isl_basic_set *b set);
__isl_export
__isl_give isl_set *isl_set_flatten(__isl_take isl_set *set); __isl_give isl_set *isl_set_flatten(__isl_take isl_set *set);
__isl_give isl_map *isl_set_flatten_map(__isl_take isl_set *set); __isl_give isl_map *isl_set_flatten_map(__isl_take isl_set *set);
__isl_give isl_set *isl_map_params(__isl_take isl_map *map);
__isl_give isl_set *isl_map_domain(__isl_take isl_map *bmap); __isl_give isl_set *isl_map_domain(__isl_take isl_map *bmap);
__isl_give isl_set *isl_map_range(__isl_take isl_map *map); __isl_give isl_set *isl_map_range(__isl_take isl_map *map);
__isl_give isl_map *isl_map_domain_map(__isl_take isl_map *map); __isl_give isl_map *isl_map_domain_map(__isl_take isl_map *map);
__isl_give isl_map *isl_map_range_map(__isl_take isl_map *map); __isl_give isl_map *isl_map_range_map(__isl_take isl_map *map);
__isl_constructor
__isl_give isl_map *isl_map_from_basic_map(__isl_take isl_basic_map *bmap); __isl_give isl_map *isl_map_from_basic_map(__isl_take isl_basic_map *bmap);
__isl_give isl_map *isl_map_from_domain(__isl_take isl_set *set); __isl_give isl_map *isl_map_from_domain(__isl_take isl_set *set);
__isl_give isl_basic_map *isl_basic_map_from_domain( __isl_give isl_basic_map *isl_basic_map_from_domain(
__isl_take isl_basic_set *bset); __isl_take isl_basic_set *bset);
__isl_give isl_basic_map *isl_basic_map_from_range( __isl_give isl_basic_map *isl_basic_map_from_range(
__isl_take isl_basic_set *bset); __isl_take isl_basic_set *bset);
struct isl_map *isl_map_from_range(struct isl_set *set); struct isl_map *isl_map_from_range(struct isl_set *set);
__isl_give isl_basic_map *isl_basic_map_from_domain_and_range( __isl_give isl_basic_map *isl_basic_map_from_domain_and_range(
__isl_take isl_basic_set *domain, __isl_take isl_basic_set *range); __isl_take isl_basic_set *domain, __isl_take isl_basic_set *range);
__isl_give isl_map *isl_map_from_domain_and_range(__isl_take isl_set *domai n, __isl_give isl_map *isl_map_from_domain_and_range(__isl_take isl_set *domai n,
__isl_take isl_set *range); __isl_take isl_set *range);
struct isl_map *isl_map_from_set(struct isl_set *set, struct isl_dim *dim); __isl_give isl_map *isl_map_from_set(__isl_take isl_set *set,
__isl_take isl_space *dim);
struct isl_set *isl_set_from_map(struct isl_map *map); struct isl_set *isl_set_from_map(struct isl_map *map);
__isl_export
__isl_give isl_basic_map *isl_map_sample(__isl_take isl_map *map); __isl_give isl_basic_map *isl_map_sample(__isl_take isl_map *map);
int isl_map_plain_is_empty(__isl_keep isl_map *map); int isl_map_plain_is_empty(__isl_keep isl_map *map);
int isl_map_fast_is_empty(__isl_keep isl_map *map); int isl_map_fast_is_empty(__isl_keep isl_map *map);
int isl_map_plain_is_universe(__isl_keep isl_map *map); int isl_map_plain_is_universe(__isl_keep isl_map *map);
__isl_export
int isl_map_is_empty(__isl_keep isl_map *map); int isl_map_is_empty(__isl_keep isl_map *map);
__isl_export
int isl_map_is_subset(__isl_keep isl_map *map1, __isl_keep isl_map *map2); int isl_map_is_subset(__isl_keep isl_map *map1, __isl_keep isl_map *map2);
__isl_export
int isl_map_is_strict_subset(__isl_keep isl_map *map1, __isl_keep isl_map * map2); int isl_map_is_strict_subset(__isl_keep isl_map *map1, __isl_keep isl_map * map2);
__isl_export
int isl_map_is_equal(__isl_keep isl_map *map1, __isl_keep isl_map *map2); int isl_map_is_equal(__isl_keep isl_map *map1, __isl_keep isl_map *map2);
__isl_export
int isl_map_is_single_valued(__isl_keep isl_map *map); int isl_map_is_single_valued(__isl_keep isl_map *map);
int isl_map_plain_is_injective(__isl_keep isl_map *map); int isl_map_plain_is_injective(__isl_keep isl_map *map);
__isl_export
int isl_map_is_injective(__isl_keep isl_map *map); int isl_map_is_injective(__isl_keep isl_map *map);
__isl_export
int isl_map_is_bijective(__isl_keep isl_map *map); int isl_map_is_bijective(__isl_keep isl_map *map);
int isl_map_is_translation(__isl_keep isl_map *map); int isl_map_is_translation(__isl_keep isl_map *map);
int isl_map_has_equal_dim(__isl_keep isl_map *map1, __isl_keep isl_map *map 2); int isl_map_has_equal_space(__isl_keep isl_map *map1, __isl_keep isl_map *m ap2);
int isl_basic_map_can_zip(__isl_keep isl_basic_map *bmap); int isl_basic_map_can_zip(__isl_keep isl_basic_map *bmap);
int isl_map_can_zip(__isl_keep isl_map *map); int isl_map_can_zip(__isl_keep isl_map *map);
__isl_give isl_basic_map *isl_basic_map_zip(__isl_take isl_basic_map *bmap) ; __isl_give isl_basic_map *isl_basic_map_zip(__isl_take isl_basic_map *bmap) ;
__isl_give isl_map *isl_map_zip(__isl_take isl_map *map); __isl_give isl_map *isl_map_zip(__isl_take isl_map *map);
__isl_give isl_map *isl_map_make_disjoint(__isl_take isl_map *map); __isl_give isl_map *isl_map_make_disjoint(__isl_take isl_map *map);
__isl_give isl_map *isl_basic_map_compute_divs(__isl_take isl_basic_map *bm ap); __isl_give isl_map *isl_basic_map_compute_divs(__isl_take isl_basic_map *bm ap);
__isl_give isl_map *isl_map_compute_divs(__isl_take isl_map *map); __isl_give isl_map *isl_map_compute_divs(__isl_take isl_map *map);
__isl_give isl_map *isl_map_align_divs(__isl_take isl_map *map); __isl_give isl_map *isl_map_align_divs(__isl_take isl_map *map);
int isl_basic_map_involves_dims(__isl_keep isl_basic_map *bmap,
enum isl_dim_type type, unsigned first, unsigned n);
int isl_map_involves_dims(__isl_keep isl_map *map,
enum isl_dim_type type, unsigned first, unsigned n);
void isl_map_print_internal(__isl_keep isl_map *map, FILE *out, int indent) ; void isl_map_print_internal(__isl_keep isl_map *map, FILE *out, int indent) ;
int isl_map_plain_input_is_fixed(__isl_keep isl_map *map, int isl_map_plain_input_is_fixed(__isl_keep isl_map *map,
unsigned in, isl_int *val); unsigned in, isl_int *val);
int isl_map_plain_is_fixed(struct isl_map *map, int isl_map_plain_is_fixed(__isl_keep isl_map *map,
enum isl_dim_type type, unsigned pos, isl_int *val); enum isl_dim_type type, unsigned pos, isl_int *val);
int isl_map_fast_is_fixed(__isl_keep isl_map *map, int isl_map_fast_is_fixed(__isl_keep isl_map *map,
enum isl_dim_type type, unsigned pos, isl_int *val); enum isl_dim_type type, unsigned pos, isl_int *val);
__isl_export
__isl_give isl_basic_map *isl_basic_map_gist(__isl_take isl_basic_map *bmap , __isl_give isl_basic_map *isl_basic_map_gist(__isl_take isl_basic_map *bmap ,
__isl_take isl_basic_map *context); __isl_take isl_basic_map *context);
__isl_export
__isl_give isl_map *isl_map_gist(__isl_take isl_map *map, __isl_give isl_map *isl_map_gist(__isl_take isl_map *map,
__isl_take isl_map *context); __isl_take isl_map *context);
__isl_export
__isl_give isl_map *isl_map_gist_domain(__isl_take isl_map *map,
__isl_take isl_set *context);
__isl_give isl_map *isl_map_gist_range(__isl_take isl_map *map,
__isl_take isl_set *context);
__isl_give isl_map *isl_map_gist_params(__isl_take isl_map *map,
__isl_take isl_set *context);
__isl_give isl_map *isl_map_gist_basic_map(__isl_take isl_map *map, __isl_give isl_map *isl_map_gist_basic_map(__isl_take isl_map *map,
__isl_take isl_basic_map *context); __isl_take isl_basic_map *context);
__isl_export
__isl_give isl_map *isl_map_coalesce(__isl_take isl_map *map); __isl_give isl_map *isl_map_coalesce(__isl_take isl_map *map);
int isl_map_plain_is_equal(__isl_keep isl_map *map1, __isl_keep isl_map *ma p2); int isl_map_plain_is_equal(__isl_keep isl_map *map1, __isl_keep isl_map *ma p2);
int isl_map_fast_is_equal(__isl_keep isl_map *map1, __isl_keep isl_map *map 2); int isl_map_fast_is_equal(__isl_keep isl_map *map1, __isl_keep isl_map *map 2);
uint32_t isl_map_get_hash(__isl_keep isl_map *map); uint32_t isl_map_get_hash(__isl_keep isl_map *map);
__isl_export
int isl_map_foreach_basic_map(__isl_keep isl_map *map, int isl_map_foreach_basic_map(__isl_keep isl_map *map,
int (*fn)(__isl_take isl_basic_map *bmap, void *user), void *user); int (*fn)(__isl_take isl_basic_map *bmap, void *user), void *user);
__isl_give isl_map *isl_set_lifting(__isl_take isl_set *set); __isl_give isl_map *isl_set_lifting(__isl_take isl_set *set);
__isl_give isl_map *isl_map_power(__isl_take isl_map *map, int *exact); __isl_give isl_map *isl_map_power(__isl_take isl_map *map, int *exact);
__isl_give isl_map *isl_map_reaching_path_lengths(__isl_take isl_map *map, __isl_give isl_map *isl_map_reaching_path_lengths(__isl_take isl_map *map,
int *exact); int *exact);
__isl_give isl_map *isl_map_transitive_closure(__isl_take isl_map *map, __isl_give isl_map *isl_map_transitive_closure(__isl_take isl_map *map,
int *exact); int *exact);
skipping to change at line 448 skipping to change at line 564
__isl_give isl_map *isl_map_lex_le_map(__isl_take isl_map *map1, __isl_give isl_map *isl_map_lex_le_map(__isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_give isl_map *isl_map_lex_lt_map(__isl_take isl_map *map1, __isl_give isl_map *isl_map_lex_lt_map(__isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_give isl_map *isl_map_lex_ge_map(__isl_take isl_map *map1, __isl_give isl_map *isl_map_lex_ge_map(__isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_give isl_map *isl_map_lex_gt_map(__isl_take isl_map *map1, __isl_give isl_map *isl_map_lex_gt_map(__isl_take isl_map *map1,
__isl_take isl_map *map2); __isl_take isl_map *map2);
__isl_give isl_map *isl_map_align_params(__isl_take isl_map *map, __isl_give isl_map *isl_map_align_params(__isl_take isl_map *map,
__isl_take isl_dim *model); __isl_take isl_space *model);
__isl_give isl_mat *isl_basic_map_equalities_matrix( __isl_give isl_mat *isl_basic_map_equalities_matrix(
__isl_keep isl_basic_map *bmap, enum isl_dim_type c1, __isl_keep isl_basic_map *bmap, enum isl_dim_type c1,
enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c2, enum isl_dim_type c3,
enum isl_dim_type c4, enum isl_dim_type c5); enum isl_dim_type c4, enum isl_dim_type c5);
__isl_give isl_mat *isl_basic_map_inequalities_matrix( __isl_give isl_mat *isl_basic_map_inequalities_matrix(
__isl_keep isl_basic_map *bmap, enum isl_dim_type c1, __isl_keep isl_basic_map *bmap, enum isl_dim_type c1,
enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c2, enum isl_dim_type c3,
enum isl_dim_type c4, enum isl_dim_type c5); enum isl_dim_type c4, enum isl_dim_type c5);
__isl_give isl_basic_map *isl_basic_map_from_constraint_matrices( __isl_give isl_basic_map *isl_basic_map_from_constraint_matrices(
__isl_take isl_dim *dim, __isl_take isl_space *dim,
__isl_take isl_mat *eq, __isl_take isl_mat *ineq, enum isl_dim_type c1, __isl_take isl_mat *eq, __isl_take isl_mat *ineq, enum isl_dim_type c1,
enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c2, enum isl_dim_type c3,
enum isl_dim_type c4, enum isl_dim_type c5); enum isl_dim_type c4, enum isl_dim_type c5);
__isl_give isl_basic_map *isl_basic_map_from_aff(__isl_take isl_aff *aff); __isl_give isl_basic_map *isl_basic_map_from_aff(__isl_take isl_aff *aff);
__isl_give isl_basic_map *isl_basic_map_from_multi_aff(
__isl_take isl_multi_aff *maff);
__isl_give isl_basic_map *isl_basic_map_from_aff_list( __isl_give isl_basic_map *isl_basic_map_from_aff_list(
__isl_take isl_dim *domain_dim, __isl_take isl_aff_list *list); __isl_take isl_space *domain_dim, __isl_take isl_aff_list *list);
__isl_give isl_pw_aff *isl_map_dim_max(__isl_take isl_map *map, int pos);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#include <isl/dim.h>
#endif #endif
 End of changes. 85 change blocks. 
64 lines changed or deleted 187 lines changed or added


 map_type.h   map_type.h 
#ifndef ISL_MAP_TYPE_H #ifndef ISL_MAP_TYPE_H
#define ISL_MAP_TYPE_H #define ISL_MAP_TYPE_H
#include <isl/ctx.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
__isl_subclass(isl_map)
struct isl_basic_map; struct isl_basic_map;
typedef struct isl_basic_map isl_basic_map; typedef struct isl_basic_map isl_basic_map;
__isl_subclass(isl_union_map)
struct isl_map; struct isl_map;
typedef struct isl_map isl_map; typedef struct isl_map isl_map;
#ifndef isl_basic_set #ifndef isl_basic_set
__isl_subclass(isl_set)
struct isl_basic_set; struct isl_basic_set;
typedef struct isl_basic_set isl_basic_set; typedef struct isl_basic_set isl_basic_set;
#endif #endif
#ifndef isl_set #ifndef isl_set
__isl_subclass(isl_union_set)
struct isl_set; struct isl_set;
typedef struct isl_set isl_set; typedef struct isl_set isl_set;
#endif #endif
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif #endif
 End of changes. 5 change blocks. 
0 lines changed or deleted 6 lines changed or added


 mat.h   mat.h 
skipping to change at line 29 skipping to change at line 29
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct isl_mat; struct isl_mat;
typedef struct isl_mat isl_mat; typedef struct isl_mat isl_mat;
isl_ctx *isl_mat_get_ctx(__isl_keep isl_mat *mat); isl_ctx *isl_mat_get_ctx(__isl_keep isl_mat *mat);
__isl_give isl_mat *isl_mat_alloc(struct isl_ctx *ctx, __isl_give isl_mat *isl_mat_alloc(isl_ctx *ctx,
unsigned n_row, unsigned n_col); unsigned n_row, unsigned n_col);
struct isl_mat *isl_mat_dup(struct isl_mat *mat); struct isl_mat *isl_mat_dup(struct isl_mat *mat);
struct isl_mat *isl_mat_extend(struct isl_mat *mat, struct isl_mat *isl_mat_extend(struct isl_mat *mat,
unsigned n_row, unsigned n_col); unsigned n_row, unsigned n_col);
struct isl_mat *isl_mat_identity(struct isl_ctx *ctx, unsigned n_row); struct isl_mat *isl_mat_identity(struct isl_ctx *ctx, unsigned n_row);
__isl_give isl_mat *isl_mat_copy(__isl_keep isl_mat *mat); __isl_give isl_mat *isl_mat_copy(__isl_keep isl_mat *mat);
struct isl_mat *isl_mat_cow(struct isl_mat *mat); struct isl_mat *isl_mat_cow(struct isl_mat *mat);
void isl_mat_free(__isl_take isl_mat *mat); void isl_mat_free(__isl_take isl_mat *mat);
int isl_mat_rows(__isl_keep isl_mat *mat); int isl_mat_rows(__isl_keep isl_mat *mat);
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 obj.h   obj.h 
#ifndef ISL_OBJ_H #ifndef ISL_OBJ_H
#define ISL_OBJ_H #define ISL_OBJ_H
#include <isl/set_type.h> #include <isl/set_type.h>
#include <isl/map_type.h> #include <isl/map_type.h>
#include <isl/union_set.h> #include <isl/union_set.h>
#include <isl/union_map.h> #include <isl/union_map.h>
#include <isl/polynomial.h> #include <isl/polynomial_type.h>
#include <isl/printer.h> #include <isl/printer.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct isl_obj_vtable { struct isl_obj_vtable {
void *(*copy)(void *v1); void *(*copy)(void *v1);
void *(*add)(void *v1, void *v2); void *(*add)(void *v1, void *v2);
__isl_give isl_printer *(*print)(__isl_take isl_printer *p, void *v) ; __isl_give isl_printer *(*print)(__isl_take isl_printer *p, void *v) ;
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 options.h   options.h 
skipping to change at line 51 skipping to change at line 51
extern "C" extern "C"
{ {
#endif #endif
/* Uncomment the following line if you want some information about /* Uncomment the following line if you want some information about
* maximum total allocated memory for code generation. * maximum total allocated memory for code generation.
#define CLOOG_MEMORY #define CLOOG_MEMORY
*/ */
#define CLOOG_SCALARS #define CLOOG_SCALARS
struct osl_scop;
struct cloogoptions; struct cloogoptions;
typedef struct cloogoptions CloogOptions; typedef struct cloogoptions CloogOptions;
struct osl_scop;
struct cloogoptions struct cloogoptions
{ {
CloogState *state; /* State. */ CloogState *state; /* State. */
/* OPTIONS FOR LOOP GENERATION */ /* OPTIONS FOR LOOP GENERATION */
int l ; /* Last level to optimize. */ int l ; /* Last level to optimize. */
int f ; /* First level to optimize. */ int f ; /* First level to optimize. */
int stop ; /* Level to stop code generation. */ int stop ; /* Level to stop code generation. */
int strides ; /* 1 if user wants to handle non-unit strides (then loop int strides ; /* 1 if user wants to handle non-unit strides (then loo
* increment can be something else than one), 0 otherwise p
. * increment can be something else than one), 0 otherwi
*/ se.
int sh; /* 1 for computing simple hulls */ */
int first_unroll; int sh; /* 1 for computing simple hulls */
int first_unroll; /* The first dimension to unroll */
/* OPTIONS FOR PRETTY PRINTING */ /* OPTIONS FOR PRETTY PRINTING */
int esp ; /* 1 if user wants to spread all equalities, i.e. when th ere int esp ; /* 1 if user wants to spread all equalities, i.e. when th ere
* is something like "i = 3*j + 1 ; A[i] = 0 ;" the gener ator * is something like "i = 3*j + 1 ; A[i] = 0 ;" the gener ator
* will write "A[3*j + 1] = 0 ;", 0 otherwise. * will write "A[3*j + 1] = 0 ;", 0 otherwise.
*/ */
int fsp ; /* The iteration level where equalities spreading can beg in int fsp ; /* The iteration level where equalities spreading can beg in
* (it might happen that the user wants not to spread val ues * (it might happen that the user wants not to spread val ues
* of scattering iterators). * of scattering iterators).
*/ */
skipping to change at line 95 skipping to change at line 98
int callable; /* 1 to generate callable code by using int callable; /* 1 to generate callable code by using
* preprocessing, 0 otherwise. * preprocessing, 0 otherwise.
*/ */
int language; /* 1 to generate FORTRAN, 0 for C otherwise. */ int language; /* 1 to generate FORTRAN, 0 for C otherwise. */
int save_domains;/* Save unsimplified copy of domain. */ int save_domains;/* Save unsimplified copy of domain. */
/* MISC OPTIONS */ /* MISC OPTIONS */
char * name ; /* Name of the input file. */ char * name ; /* Name of the input file. */
float time ; /* Time spent for code generation in seconds. */ float time ; /* Time spent for code generation in seconds. */
int openscop; /* 1 if the input file has OpenScop format, 0 otherwise.
*/
struct osl_scop *scop; /* Input OpenScop scop if any, NULL otherwise. */
#ifdef CLOOG_MEMORY #ifdef CLOOG_MEMORY
int memory ; /* Memory spent for code generation in kilobytes. */ int memory ; /* Memory spent for code generation in kilobytes. */
#endif #endif
int quiet; /* Don't print any informational messages. */ int quiet; /* Don't print any informational messages. */
/* UNDOCUMENTED OPTIONS FOR THE AUTHOR ONLY */ /* UNDOCUMENTED OPTIONS FOR THE AUTHOR ONLY */
int leaks ; /* 1 if I want to print the allocation statistics, int leaks ; /* 1 if I want to print the allocation statistics,
* 0 otherwise. * 0 otherwise.
*/ */
int backtrack; /* 1 to perform backtracking in int backtrack; /* 1 to perform backtracking in
* Quillere's algorithm, 0 otherwise. * Quillere's algorithm, 0 otherwise.
skipping to change at line 147 skipping to change at line 152
/************************************************************************** **** /************************************************************************** ****
* Reading function * * Reading function *
************************************************************************** ****/ ************************************************************************** ****/
void cloog_options_read(CloogState *state, int argc, char **argv, void cloog_options_read(CloogState *state, int argc, char **argv,
FILE **input, FILE **output, CloogOptions **options) ; FILE **input, FILE **output, CloogOptions **options) ;
/************************************************************************** **** /************************************************************************** ****
* Processing functions * * Processing functions *
************************************************************************** ****/ ************************************************************************** ****/
CloogOptions *cloog_options_malloc(CloogState *state); CloogOptions *cloog_options_malloc(CloogState *state);
void cloog_options_copy_from_osl_scop(struct osl_scop *, CloogOptions *);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif /* define _H */ #endif /* define _H */
 End of changes. 5 change blocks. 
9 lines changed or deleted 17 lines changed or added


 point.h   point.h 
#ifndef ISL_POINT_H #ifndef ISL_POINT_H
#define ISL_POINT_H #define ISL_POINT_H
#include <stdio.h> #include <stdio.h>
#include <isl/dim.h> #include <isl/space.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct isl_point; struct isl_point;
typedef struct isl_point isl_point; typedef struct isl_point isl_point;
isl_ctx *isl_point_get_ctx(__isl_keep isl_point *pnt); isl_ctx *isl_point_get_ctx(__isl_keep isl_point *pnt);
__isl_give isl_dim *isl_point_get_dim(__isl_keep isl_point *pnt); __isl_give isl_space *isl_point_get_space(__isl_keep isl_point *pnt);
__isl_give isl_point *isl_point_zero(__isl_take isl_dim *dim); __isl_give isl_point *isl_point_zero(__isl_take isl_space *dim);
__isl_give isl_point *isl_point_copy(__isl_keep isl_point *pnt); __isl_give isl_point *isl_point_copy(__isl_keep isl_point *pnt);
void isl_point_free(__isl_take isl_point *pnt); void isl_point_free(__isl_take isl_point *pnt);
void isl_point_get_coordinate(__isl_keep isl_point *pnt, int isl_point_get_coordinate(__isl_keep isl_point *pnt,
enum isl_dim_type type, int pos, isl_int *v); enum isl_dim_type type, int pos, isl_int *v);
__isl_give isl_point *isl_point_set_coordinate(__isl_take isl_point *pnt, __isl_give isl_point *isl_point_set_coordinate(__isl_take isl_point *pnt,
enum isl_dim_type type, int pos, isl_int v); enum isl_dim_type type, int pos, isl_int v);
__isl_give isl_point *isl_point_add_ui(__isl_take isl_point *pnt, __isl_give isl_point *isl_point_add_ui(__isl_take isl_point *pnt,
enum isl_dim_type type, int pos, unsigned val); enum isl_dim_type type, int pos, unsigned val);
__isl_give isl_point *isl_point_sub_ui(__isl_take isl_point *pnt, __isl_give isl_point *isl_point_sub_ui(__isl_take isl_point *pnt,
enum isl_dim_type type, int pos, unsigned val); enum isl_dim_type type, int pos, unsigned val);
__isl_give isl_point *isl_point_void(__isl_take isl_dim *dim); __isl_give isl_point *isl_point_void(__isl_take isl_space *dim);
int isl_point_is_void(__isl_keep isl_point *pnt); int isl_point_is_void(__isl_keep isl_point *pnt);
void isl_point_print(__isl_keep isl_point *pnt, FILE *out); __isl_give isl_printer *isl_printer_print_point(
__isl_take isl_printer *printer, __isl_keep isl_point *pnt);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#include <isl/dim.h>
#endif #endif
 End of changes. 7 change blocks. 
6 lines changed or deleted 9 lines changed or added


 polynomial.h   polynomial.h 
#ifndef ISL_POLYNOMIAL_H #ifndef ISL_POLYNOMIAL_H
#define ISL_POLYNOMIAL_H #define ISL_POLYNOMIAL_H
#include <isl/ctx.h> #include <isl/ctx.h>
#include <isl/constraint.h> #include <isl/constraint.h>
#include <isl/dim.h> #include <isl/space.h>
#include <isl/div.h>
#include <isl/set_type.h> #include <isl/set_type.h>
#include <isl/point.h> #include <isl/point.h>
#include <isl/printer.h> #include <isl/printer.h>
#include <isl/union_set.h> #include <isl/union_set.h>
#include <isl/aff_type.h> #include <isl/aff_type.h>
#include <isl/polynomial_type.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct isl_qpolynomial;
typedef struct isl_qpolynomial isl_qpolynomial;
isl_ctx *isl_qpolynomial_get_ctx(__isl_keep isl_qpolynomial *qp); isl_ctx *isl_qpolynomial_get_ctx(__isl_keep isl_qpolynomial *qp);
__isl_give isl_dim *isl_qpolynomial_get_dim(__isl_keep isl_qpolynomial *qp) __isl_give isl_space *isl_qpolynomial_get_domain_space(
; __isl_keep isl_qpolynomial *qp);
__isl_give isl_qpolynomial *isl_qpolynomial_reset_dim( __isl_give isl_space *isl_qpolynomial_get_space(__isl_keep isl_qpolynomial
__isl_take isl_qpolynomial *qp, __isl_take isl_dim *dim); *qp);
unsigned isl_qpolynomial_dim(__isl_keep isl_qpolynomial *qp, unsigned isl_qpolynomial_dim(__isl_keep isl_qpolynomial *qp,
enum isl_dim_type type); enum isl_dim_type type);
int isl_qpolynomial_involves_dims(__isl_keep isl_qpolynomial *qp, int isl_qpolynomial_involves_dims(__isl_keep isl_qpolynomial *qp,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_qpolynomial *isl_qpolynomial_set_dim_name( __isl_give isl_qpolynomial *isl_qpolynomial_set_dim_name(
__isl_take isl_qpolynomial *qp, __isl_take isl_qpolynomial *qp,
enum isl_dim_type type, unsigned pos, const char *s); enum isl_dim_type type, unsigned pos, const char *s);
__isl_give isl_qpolynomial *isl_qpolynomial_zero(__isl_take isl_dim *dim); __isl_give isl_qpolynomial *isl_qpolynomial_zero_on_domain(__isl_take isl_s
__isl_give isl_qpolynomial *isl_qpolynomial_one(__isl_take isl_dim *dim); pace *dim);
__isl_give isl_qpolynomial *isl_qpolynomial_infty(__isl_take isl_dim *dim); __isl_give isl_qpolynomial *isl_qpolynomial_one_on_domain(__isl_take isl_sp
__isl_give isl_qpolynomial *isl_qpolynomial_neginfty(__isl_take isl_dim *di ace *dim);
m); __isl_give isl_qpolynomial *isl_qpolynomial_infty_on_domain(__isl_take isl_
__isl_give isl_qpolynomial *isl_qpolynomial_nan(__isl_take isl_dim *dim); space *dim);
__isl_give isl_qpolynomial *isl_qpolynomial_rat_cst(__isl_take isl_dim *dim __isl_give isl_qpolynomial *isl_qpolynomial_neginfty_on_domain(__isl_take i
, sl_space *dim);
__isl_give isl_qpolynomial *isl_qpolynomial_nan_on_domain(__isl_take isl_sp
ace *dim);
__isl_give isl_qpolynomial *isl_qpolynomial_rat_cst_on_domain(__isl_take is
l_space *dim,
const isl_int n, const isl_int d); const isl_int n, const isl_int d);
__isl_give isl_qpolynomial *isl_qpolynomial_div(__isl_take isl_div *div); __isl_give isl_qpolynomial *isl_qpolynomial_var_on_domain(__isl_take isl_sp
__isl_give isl_qpolynomial *isl_qpolynomial_var(__isl_take isl_dim *dim, ace *dim,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
__isl_give isl_qpolynomial *isl_qpolynomial_copy(__isl_keep isl_qpolynomial *qp); __isl_give isl_qpolynomial *isl_qpolynomial_copy(__isl_keep isl_qpolynomial *qp);
void isl_qpolynomial_free(__isl_take isl_qpolynomial *qp); void *isl_qpolynomial_free(__isl_take isl_qpolynomial *qp);
int isl_qpolynomial_plain_is_equal(__isl_keep isl_qpolynomial *qp1, int isl_qpolynomial_plain_is_equal(__isl_keep isl_qpolynomial *qp1,
__isl_keep isl_qpolynomial *qp2); __isl_keep isl_qpolynomial *qp2);
int isl_qpolynomial_is_zero(__isl_keep isl_qpolynomial *qp); int isl_qpolynomial_is_zero(__isl_keep isl_qpolynomial *qp);
int isl_qpolynomial_is_nan(__isl_keep isl_qpolynomial *qp); int isl_qpolynomial_is_nan(__isl_keep isl_qpolynomial *qp);
int isl_qpolynomial_is_infty(__isl_keep isl_qpolynomial *qp); int isl_qpolynomial_is_infty(__isl_keep isl_qpolynomial *qp);
int isl_qpolynomial_is_neginfty(__isl_keep isl_qpolynomial *qp); int isl_qpolynomial_is_neginfty(__isl_keep isl_qpolynomial *qp);
int isl_qpolynomial_sgn(__isl_keep isl_qpolynomial *qp); int isl_qpolynomial_sgn(__isl_keep isl_qpolynomial *qp);
int isl_qpolynomial_is_cst(__isl_keep isl_qpolynomial *qp, int isl_qpolynomial_is_cst(__isl_keep isl_qpolynomial *qp,
isl_int *n, isl_int *d); isl_int *n, isl_int *d);
skipping to change at line 83 skipping to change at line 79
__isl_give isl_qpolynomial *isl_qpolynomial_insert_dims( __isl_give isl_qpolynomial *isl_qpolynomial_insert_dims(
__isl_take isl_qpolynomial *qp, enum isl_dim_type type, __isl_take isl_qpolynomial *qp, enum isl_dim_type type,
unsigned first, unsigned n); unsigned first, unsigned n);
__isl_give isl_qpolynomial *isl_qpolynomial_add_dims( __isl_give isl_qpolynomial *isl_qpolynomial_add_dims(
__isl_take isl_qpolynomial *qp, enum isl_dim_type type, unsigned n); __isl_take isl_qpolynomial *qp, enum isl_dim_type type, unsigned n);
__isl_give isl_qpolynomial *isl_qpolynomial_move_dims( __isl_give isl_qpolynomial *isl_qpolynomial_move_dims(
__isl_take isl_qpolynomial *qp, __isl_take isl_qpolynomial *qp,
enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type dst_type, unsigned dst_pos,
enum isl_dim_type src_type, unsigned src_pos, unsigned n); enum isl_dim_type src_type, unsigned src_pos, unsigned n);
__isl_give isl_qpolynomial *isl_qpolynomial_project_domain_on_params(
__isl_take isl_qpolynomial *qp);
__isl_give isl_qpolynomial *isl_qpolynomial_drop_dims( __isl_give isl_qpolynomial *isl_qpolynomial_drop_dims(
__isl_take isl_qpolynomial *qp, __isl_take isl_qpolynomial *qp,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_qpolynomial *isl_qpolynomial_substitute( __isl_give isl_qpolynomial *isl_qpolynomial_substitute(
__isl_take isl_qpolynomial *qp, __isl_take isl_qpolynomial *qp,
enum isl_dim_type type, unsigned first, unsigned n, enum isl_dim_type type, unsigned first, unsigned n,
__isl_keep isl_qpolynomial **subs); __isl_keep isl_qpolynomial **subs);
int isl_qpolynomial_as_polynomial_on_domain(__isl_keep isl_qpolynomial *qp, int isl_qpolynomial_as_polynomial_on_domain(__isl_keep isl_qpolynomial *qp,
__isl_keep isl_basic_set *bset, __isl_keep isl_basic_set *bset,
int (*fn)(__isl_take isl_basic_set *bset, int (*fn)(__isl_take isl_basic_set *bset,
__isl_take isl_qpolynomial *poly, void *user), void *user) ; __isl_take isl_qpolynomial *poly, void *user), void *user) ;
__isl_give isl_qpolynomial *isl_qpolynomial_homogenize( __isl_give isl_qpolynomial *isl_qpolynomial_homogenize(
__isl_take isl_qpolynomial *poly); __isl_take isl_qpolynomial *poly);
__isl_give isl_qpolynomial *isl_qpolynomial_align_params( __isl_give isl_qpolynomial *isl_qpolynomial_align_params(
__isl_take isl_qpolynomial *qp, __isl_take isl_dim *model); __isl_take isl_qpolynomial *qp, __isl_take isl_space *model);
struct isl_term;
typedef struct isl_term isl_term;
isl_ctx *isl_term_get_ctx(__isl_keep isl_term *term); isl_ctx *isl_term_get_ctx(__isl_keep isl_term *term);
__isl_give isl_term *isl_term_copy(__isl_keep isl_term *term);
void isl_term_free(__isl_take isl_term *term); void isl_term_free(__isl_take isl_term *term);
unsigned isl_term_dim(__isl_keep isl_term *term, enum isl_dim_type type); unsigned isl_term_dim(__isl_keep isl_term *term, enum isl_dim_type type);
void isl_term_get_num(__isl_keep isl_term *term, isl_int *n); void isl_term_get_num(__isl_keep isl_term *term, isl_int *n);
void isl_term_get_den(__isl_keep isl_term *term, isl_int *d); void isl_term_get_den(__isl_keep isl_term *term, isl_int *d);
int isl_term_get_exp(__isl_keep isl_term *term, int isl_term_get_exp(__isl_keep isl_term *term,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
__isl_give isl_div *isl_term_get_div(__isl_keep isl_term *term, unsigned po s); __isl_give isl_aff *isl_term_get_div(__isl_keep isl_term *term, unsigned po s);
int isl_qpolynomial_foreach_term(__isl_keep isl_qpolynomial *qp, int isl_qpolynomial_foreach_term(__isl_keep isl_qpolynomial *qp,
int (*fn)(__isl_take isl_term *term, void *user), void *user); int (*fn)(__isl_take isl_term *term, void *user), void *user);
__isl_give isl_qpolynomial *isl_qpolynomial_eval( __isl_give isl_qpolynomial *isl_qpolynomial_eval(
__isl_take isl_qpolynomial *qp, __isl_take isl_point *pnt); __isl_take isl_qpolynomial *qp, __isl_take isl_point *pnt);
__isl_give isl_qpolynomial *isl_qpolynomial_gist_params(
__isl_take isl_qpolynomial *qp, __isl_take isl_set *context);
__isl_give isl_qpolynomial *isl_qpolynomial_gist( __isl_give isl_qpolynomial *isl_qpolynomial_gist(
__isl_take isl_qpolynomial *qp, __isl_take isl_set *context); __isl_take isl_qpolynomial *qp, __isl_take isl_set *context);
__isl_give isl_qpolynomial *isl_qpolynomial_from_constraint( __isl_give isl_qpolynomial *isl_qpolynomial_from_constraint(
__isl_take isl_constraint *c, enum isl_dim_type type, unsigned pos); __isl_take isl_constraint *c, enum isl_dim_type type, unsigned pos);
__isl_give isl_qpolynomial *isl_qpolynomial_from_term(__isl_take isl_term * term); __isl_give isl_qpolynomial *isl_qpolynomial_from_term(__isl_take isl_term * term);
__isl_give isl_qpolynomial *isl_qpolynomial_from_aff(__isl_take isl_aff *af f); __isl_give isl_qpolynomial *isl_qpolynomial_from_aff(__isl_take isl_aff *af f);
__isl_give isl_basic_map *isl_basic_map_from_qpolynomial( __isl_give isl_basic_map *isl_basic_map_from_qpolynomial(
__isl_take isl_qpolynomial *qp); __isl_take isl_qpolynomial *qp);
__isl_give isl_printer *isl_printer_print_qpolynomial( __isl_give isl_printer *isl_printer_print_qpolynomial(
__isl_take isl_printer *p, __isl_keep isl_qpolynomial *qp); __isl_take isl_printer *p, __isl_keep isl_qpolynomial *qp);
void isl_qpolynomial_print(__isl_keep isl_qpolynomial *qp, FILE *out, void isl_qpolynomial_print(__isl_keep isl_qpolynomial *qp, FILE *out,
unsigned output_format); unsigned output_format);
void isl_qpolynomial_dump(__isl_keep isl_qpolynomial *qp); void isl_qpolynomial_dump(__isl_keep isl_qpolynomial *qp);
struct isl_pw_qpolynomial;
typedef struct isl_pw_qpolynomial isl_pw_qpolynomial;
isl_ctx *isl_pw_qpolynomial_get_ctx(__isl_keep isl_pw_qpolynomial *pwqp); isl_ctx *isl_pw_qpolynomial_get_ctx(__isl_keep isl_pw_qpolynomial *pwqp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_zero(__isl_take isl_dim * int isl_pw_qpolynomial_plain_is_equal(__isl_keep isl_pw_qpolynomial *pwqp1,
dim); __isl_keep isl_pw_qpolynomial *pwqp2);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_zero(__isl_take isl_space
*dim);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_alloc(__isl_take isl_set *set, __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_alloc(__isl_take isl_set *set,
__isl_take isl_qpolynomial *qp); __isl_take isl_qpolynomial *qp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_from_qpolynomial(
__isl_take isl_qpolynomial *qp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_copy( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_copy(
__isl_keep isl_pw_qpolynomial *pwqp); __isl_keep isl_pw_qpolynomial *pwqp);
void *isl_pw_qpolynomial_free(__isl_take isl_pw_qpolynomial *pwqp); void *isl_pw_qpolynomial_free(__isl_take isl_pw_qpolynomial *pwqp);
int isl_pw_qpolynomial_is_zero(__isl_keep isl_pw_qpolynomial *pwqp); int isl_pw_qpolynomial_is_zero(__isl_keep isl_pw_qpolynomial *pwqp);
__isl_give isl_dim *isl_pw_qpolynomial_get_dim( __isl_give isl_space *isl_pw_qpolynomial_get_domain_space(
__isl_keep isl_pw_qpolynomial *pwqp); __isl_keep isl_pw_qpolynomial *pwqp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_reset_dim( __isl_give isl_space *isl_pw_qpolynomial_get_space(
__isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_dim *dim); __isl_keep isl_pw_qpolynomial *pwqp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_reset_domain_space(
__isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_space *dim);
unsigned isl_pw_qpolynomial_dim(__isl_keep isl_pw_qpolynomial *pwqp, unsigned isl_pw_qpolynomial_dim(__isl_keep isl_pw_qpolynomial *pwqp,
enum isl_dim_type type); enum isl_dim_type type);
int isl_pw_qpolynomial_involves_dims(__isl_keep isl_pw_qpolynomial *pwqp, int isl_pw_qpolynomial_involves_dims(__isl_keep isl_pw_qpolynomial *pwqp,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
int isl_pw_qpolynomial_has_equal_dim(__isl_keep isl_pw_qpolynomial *pwqp1, int isl_pw_qpolynomial_has_equal_space(__isl_keep isl_pw_qpolynomial *pwqp1 ,
__isl_keep isl_pw_qpolynomial *pwqp2); __isl_keep isl_pw_qpolynomial *pwqp2);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_set_dim_name( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_set_dim_name(
__isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_pw_qpolynomial *pwqp,
enum isl_dim_type type, unsigned pos, const char *s); enum isl_dim_type type, unsigned pos, const char *s);
__isl_give isl_set *isl_pw_qpolynomial_domain(__isl_take isl_pw_qpolynomial *pwqp); __isl_give isl_set *isl_pw_qpolynomial_domain(__isl_take isl_pw_qpolynomial *pwqp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_intersect_domain( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_intersect_domain(
__isl_take isl_pw_qpolynomial *pwpq, __isl_take isl_set *set); __isl_take isl_pw_qpolynomial *pwpq, __isl_take isl_set *set);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_intersect_params(
__isl_take isl_pw_qpolynomial *pwpq, __isl_take isl_set *set);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_project_domain_on_params(
__isl_take isl_pw_qpolynomial *pwqp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_drop_dims( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_drop_dims(
__isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_pw_qpolynomial *pwqp,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_split_dims( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_split_dims(
__isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_pw_qpolynomial *pwqp,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_add( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_add(
__isl_take isl_pw_qpolynomial *pwqp1, __isl_take isl_pw_qpolynomial *pwqp1,
__isl_take isl_pw_qpolynomial *pwqp2); __isl_take isl_pw_qpolynomial *pwqp2);
skipping to change at line 195 skipping to change at line 201
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_add_disjoint( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_add_disjoint(
__isl_take isl_pw_qpolynomial *pwqp1, __isl_take isl_pw_qpolynomial *pwqp1,
__isl_take isl_pw_qpolynomial *pwqp2); __isl_take isl_pw_qpolynomial *pwqp2);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_neg( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_neg(
__isl_take isl_pw_qpolynomial *pwqp); __isl_take isl_pw_qpolynomial *pwqp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_mul( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_mul(
__isl_take isl_pw_qpolynomial *pwqp1, __isl_take isl_pw_qpolynomial *pwqp1,
__isl_take isl_pw_qpolynomial *pwqp2); __isl_take isl_pw_qpolynomial *pwqp2);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_mul_isl_int( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_mul_isl_int(
__isl_take isl_pw_qpolynomial *pwqp, isl_int v); __isl_take isl_pw_qpolynomial *pwqp, isl_int v);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_pow(
__isl_take isl_pw_qpolynomial *pwqp, unsigned exponent);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_insert_dims( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_insert_dims(
__isl_take isl_pw_qpolynomial *pwqp, enum isl_dim_type type, __isl_take isl_pw_qpolynomial *pwqp, enum isl_dim_type type,
unsigned first, unsigned n); unsigned first, unsigned n);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_add_dims( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_add_dims(
__isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_pw_qpolynomial *pwqp,
enum isl_dim_type type, unsigned n); enum isl_dim_type type, unsigned n);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_move_dims( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_move_dims(
__isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_pw_qpolynomial *pwqp,
enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type dst_type, unsigned dst_pos,
skipping to change at line 226 skipping to change at line 234
__isl_give isl_qpolynomial *isl_pw_qpolynomial_min( __isl_give isl_qpolynomial *isl_pw_qpolynomial_min(
__isl_take isl_pw_qpolynomial *pwqp); __isl_take isl_pw_qpolynomial *pwqp);
int isl_pw_qpolynomial_foreach_piece(__isl_keep isl_pw_qpolynomial *pwqp, int isl_pw_qpolynomial_foreach_piece(__isl_keep isl_pw_qpolynomial *pwqp,
int (*fn)(__isl_take isl_set *set, __isl_take isl_qpolynomial *qp, int (*fn)(__isl_take isl_set *set, __isl_take isl_qpolynomial *qp,
void *user), void *user); void *user), void *user);
int isl_pw_qpolynomial_foreach_lifted_piece(__isl_keep isl_pw_qpolynomial * pwqp, int isl_pw_qpolynomial_foreach_lifted_piece(__isl_keep isl_pw_qpolynomial * pwqp,
int (*fn)(__isl_take isl_set *set, __isl_take isl_qpolynomial *qp, int (*fn)(__isl_take isl_set *set, __isl_take isl_qpolynomial *qp,
void *user), void *user); void *user), void *user);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_from_pw_aff(
__isl_take isl_pw_aff *pwaff);
__isl_constructor
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_read_from_str(isl_ctx *ct x, __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_read_from_str(isl_ctx *ct x,
const char *str); const char *str);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_read_from_file(isl_ctx *c tx, __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_read_from_file(isl_ctx *c tx,
FILE *input); FILE *input);
__isl_give isl_printer *isl_printer_print_pw_qpolynomial( __isl_give isl_printer *isl_printer_print_pw_qpolynomial(
__isl_take isl_printer *p, __isl_keep isl_pw_qpolynomial *pwqp); __isl_take isl_printer *p, __isl_keep isl_pw_qpolynomial *pwqp);
void isl_pw_qpolynomial_print(__isl_keep isl_pw_qpolynomial *pwqp, FILE *ou t, void isl_pw_qpolynomial_print(__isl_keep isl_pw_qpolynomial *pwqp, FILE *ou t,
unsigned output_format); unsigned output_format);
void isl_pw_qpolynomial_dump(__isl_keep isl_pw_qpolynomial *pwqp); void isl_pw_qpolynomial_dump(__isl_keep isl_pw_qpolynomial *pwqp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_coalesce( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_coalesce(
__isl_take isl_pw_qpolynomial *pwqp); __isl_take isl_pw_qpolynomial *pwqp);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_gist( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_gist(
__isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_set *context); __isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_set *context);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_gist_params(
__isl_take isl_pw_qpolynomial *pwqp, __isl_take isl_set *context);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_split_periods( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_split_periods(
__isl_take isl_pw_qpolynomial *pwqp, int max_periods); __isl_take isl_pw_qpolynomial *pwqp, int max_periods);
__isl_give isl_pw_qpolynomial *isl_basic_set_multiplicative_call( __isl_give isl_pw_qpolynomial *isl_basic_set_multiplicative_call(
__isl_take isl_basic_set *bset, __isl_take isl_basic_set *bset,
__isl_give isl_pw_qpolynomial *(*fn)(__isl_take isl_basic_set *bset) ); __isl_give isl_pw_qpolynomial *(*fn)(__isl_take isl_basic_set *bset) );
enum isl_fold {
isl_fold_min,
isl_fold_max,
isl_fold_list
};
struct isl_qpolynomial_fold;
typedef struct isl_qpolynomial_fold isl_qpolynomial_fold;
isl_ctx *isl_qpolynomial_fold_get_ctx(__isl_keep isl_qpolynomial_fold *fold ); isl_ctx *isl_qpolynomial_fold_get_ctx(__isl_keep isl_qpolynomial_fold *fold );
enum isl_fold isl_qpolynomial_fold_get_type(__isl_keep isl_qpolynomial_fold *fold); enum isl_fold isl_qpolynomial_fold_get_type(__isl_keep isl_qpolynomial_fold *fold);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_empty(enum isl_fold t ype, __isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_empty(enum isl_fold t ype,
__isl_take isl_dim *dim); __isl_take isl_space *dim);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_alloc( __isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_alloc(
enum isl_fold type, __isl_take isl_qpolynomial *qp); enum isl_fold type, __isl_take isl_qpolynomial *qp);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_copy( __isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_copy(
__isl_keep isl_qpolynomial_fold *fold); __isl_keep isl_qpolynomial_fold *fold);
void isl_qpolynomial_fold_free(__isl_take isl_qpolynomial_fold *fold); void isl_qpolynomial_fold_free(__isl_take isl_qpolynomial_fold *fold);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_reset_dim(
__isl_take isl_qpolynomial_fold *fold, __isl_take isl_dim *dim);
int isl_qpolynomial_fold_is_empty(__isl_keep isl_qpolynomial_fold *fold); int isl_qpolynomial_fold_is_empty(__isl_keep isl_qpolynomial_fold *fold);
int isl_qpolynomial_fold_plain_is_equal(__isl_keep isl_qpolynomial_fold *fo ld1, int isl_qpolynomial_fold_plain_is_equal(__isl_keep isl_qpolynomial_fold *fo ld1,
__isl_keep isl_qpolynomial_fold *fold2); __isl_keep isl_qpolynomial_fold *fold2);
__isl_give isl_dim *isl_qpolynomial_fold_get_dim( __isl_give isl_space *isl_qpolynomial_fold_get_space(
__isl_keep isl_qpolynomial_fold *fold); __isl_keep isl_qpolynomial_fold *fold);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_fold( __isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_fold(
__isl_take isl_qpolynomial_fold *fold1, __isl_take isl_qpolynomial_fold *fold1,
__isl_take isl_qpolynomial_fold *fold2); __isl_take isl_qpolynomial_fold *fold2);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_mul_isl_int( __isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_mul_isl_int(
__isl_take isl_qpolynomial_fold *fold, isl_int v); __isl_take isl_qpolynomial_fold *fold, isl_int v);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_scale( __isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_scale(
__isl_take isl_qpolynomial_fold *fold, isl_int v); __isl_take isl_qpolynomial_fold *fold, isl_int v);
skipping to change at line 300 skipping to change at line 302
enum isl_dim_type src_type, unsigned src_pos, unsigned n); enum isl_dim_type src_type, unsigned src_pos, unsigned n);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_substitute( __isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_substitute(
__isl_take isl_qpolynomial_fold *fold, __isl_take isl_qpolynomial_fold *fold,
enum isl_dim_type type, unsigned first, unsigned n, enum isl_dim_type type, unsigned first, unsigned n,
__isl_keep isl_qpolynomial **subs); __isl_keep isl_qpolynomial **subs);
__isl_give isl_qpolynomial *isl_qpolynomial_fold_eval( __isl_give isl_qpolynomial *isl_qpolynomial_fold_eval(
__isl_take isl_qpolynomial_fold *fold, __isl_take isl_point *pnt); __isl_take isl_qpolynomial_fold *fold, __isl_take isl_point *pnt);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_gist_params(
__isl_take isl_qpolynomial_fold *fold, __isl_take isl_set *context);
__isl_give isl_qpolynomial_fold *isl_qpolynomial_fold_gist(
__isl_take isl_qpolynomial_fold *fold, __isl_take isl_set *context);
int isl_qpolynomial_fold_foreach_qpolynomial( int isl_qpolynomial_fold_foreach_qpolynomial(
__isl_keep isl_qpolynomial_fold *fold, __isl_keep isl_qpolynomial_fold *fold,
int (*fn)(__isl_take isl_qpolynomial *qp, void *user), void *user); int (*fn)(__isl_take isl_qpolynomial *qp, void *user), void *user);
__isl_give isl_printer *isl_printer_print_qpolynomial_fold( __isl_give isl_printer *isl_printer_print_qpolynomial_fold(
__isl_take isl_printer *p, __isl_keep isl_qpolynomial_fold *fold); __isl_take isl_printer *p, __isl_keep isl_qpolynomial_fold *fold);
void isl_qpolynomial_fold_print(__isl_keep isl_qpolynomial_fold *fold, FILE *out, void isl_qpolynomial_fold_print(__isl_keep isl_qpolynomial_fold *fold, FILE *out,
unsigned output_format); unsigned output_format);
void isl_qpolynomial_fold_dump(__isl_keep isl_qpolynomial_fold *fold); void isl_qpolynomial_fold_dump(__isl_keep isl_qpolynomial_fold *fold);
struct isl_pw_qpolynomial_fold;
typedef struct isl_pw_qpolynomial_fold isl_pw_qpolynomial_fold;
isl_ctx *isl_pw_qpolynomial_fold_get_ctx(__isl_keep isl_pw_qpolynomial_fold *pwf); isl_ctx *isl_pw_qpolynomial_fold_get_ctx(__isl_keep isl_pw_qpolynomial_fold *pwf);
int isl_pw_qpolynomial_fold_plain_is_equal(
__isl_keep isl_pw_qpolynomial_fold *pwf1,
__isl_keep isl_pw_qpolynomial_fold *pwf2);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_from_pw_qpolyno mial( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_from_pw_qpolyno mial(
enum isl_fold type, __isl_take isl_pw_qpolynomial *pwqp); enum isl_fold type, __isl_take isl_pw_qpolynomial *pwqp);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_alloc( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_alloc(
enum isl_fold type, enum isl_fold type,
__isl_take isl_set *set, __isl_take isl_qpolynomial_fold *fold); __isl_take isl_set *set, __isl_take isl_qpolynomial_fold *fold);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_copy( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_copy(
__isl_keep isl_pw_qpolynomial_fold *pwf); __isl_keep isl_pw_qpolynomial_fold *pwf);
void *isl_pw_qpolynomial_fold_free(__isl_take isl_pw_qpolynomial_fold *pwf) ; void *isl_pw_qpolynomial_fold_free(__isl_take isl_pw_qpolynomial_fold *pwf) ;
int isl_pw_qpolynomial_fold_is_zero(__isl_keep isl_pw_qpolynomial_fold *pwf ); int isl_pw_qpolynomial_fold_is_zero(__isl_keep isl_pw_qpolynomial_fold *pwf );
__isl_give isl_dim *isl_pw_qpolynomial_fold_get_dim( __isl_give isl_space *isl_pw_qpolynomial_fold_get_domain_space(
__isl_keep isl_pw_qpolynomial_fold *pwf); __isl_keep isl_pw_qpolynomial_fold *pwf);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_reset_dim( __isl_give isl_space *isl_pw_qpolynomial_fold_get_space(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_dim *dim); __isl_keep isl_pw_qpolynomial_fold *pwf);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_reset_space(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_space *dim);
unsigned isl_pw_qpolynomial_fold_dim(__isl_keep isl_pw_qpolynomial_fold *pw f, unsigned isl_pw_qpolynomial_fold_dim(__isl_keep isl_pw_qpolynomial_fold *pw f,
enum isl_dim_type type); enum isl_dim_type type);
int isl_pw_qpolynomial_fold_has_equal_dim( int isl_pw_qpolynomial_fold_has_equal_space(
__isl_keep isl_pw_qpolynomial_fold *pwf1, __isl_keep isl_pw_qpolynomial_fold *pwf1,
__isl_keep isl_pw_qpolynomial_fold *pwf2); __isl_keep isl_pw_qpolynomial_fold *pwf2);
size_t isl_pw_qpolynomial_fold_size(__isl_keep isl_pw_qpolynomial_fold *pwf ); size_t isl_pw_qpolynomial_fold_size(__isl_keep isl_pw_qpolynomial_fold *pwf );
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_zero( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_zero(
__isl_take isl_dim *dim, enum isl_fold type); __isl_take isl_space *dim, enum isl_fold type);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_set_dim_name( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_set_dim_name(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_pw_qpolynomial_fold *pwf,
enum isl_dim_type type, unsigned pos, const char *s); enum isl_dim_type type, unsigned pos, const char *s);
__isl_give isl_set *isl_pw_qpolynomial_fold_domain( __isl_give isl_set *isl_pw_qpolynomial_fold_domain(
__isl_take isl_pw_qpolynomial_fold *pwf); __isl_take isl_pw_qpolynomial_fold *pwf);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_intersect_domai n( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_intersect_domai n(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_set *set); __isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_set *set);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_intersect_param
s(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_set *set);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_add( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_add(
__isl_take isl_pw_qpolynomial_fold *pwf1, __isl_take isl_pw_qpolynomial_fold *pwf1,
__isl_take isl_pw_qpolynomial_fold *pwf2); __isl_take isl_pw_qpolynomial_fold *pwf2);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_fold( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_fold(
__isl_take isl_pw_qpolynomial_fold *pwf1, __isl_take isl_pw_qpolynomial_fold *pwf1,
__isl_take isl_pw_qpolynomial_fold *pwf2); __isl_take isl_pw_qpolynomial_fold *pwf2);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_add_disjoint( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_add_disjoint(
__isl_take isl_pw_qpolynomial_fold *pwf1, __isl_take isl_pw_qpolynomial_fold *pwf1,
__isl_take isl_pw_qpolynomial_fold *pwf2); __isl_take isl_pw_qpolynomial_fold *pwf2);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_mul_isl_int( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_mul_isl_int(
__isl_take isl_pw_qpolynomial_fold *pwf, isl_int v); __isl_take isl_pw_qpolynomial_fold *pwf, isl_int v);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_project_domain_
on_params(
__isl_take isl_pw_qpolynomial_fold *pwf);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_drop_dims( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_drop_dims(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_pw_qpolynomial_fold *pwf,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_move_dims( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_move_dims(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_pw_qpolynomial_fold *pwf,
enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type dst_type, unsigned dst_pos,
enum isl_dim_type src_type, unsigned src_pos, unsigned n); enum isl_dim_type src_type, unsigned src_pos, unsigned n);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_fix_dim( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_fix_dim(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_pw_qpolynomial_fold *pwf,
skipping to change at line 397 skipping to change at line 411
__isl_give isl_printer *isl_printer_print_pw_qpolynomial_fold( __isl_give isl_printer *isl_printer_print_pw_qpolynomial_fold(
__isl_take isl_printer *p, __isl_keep isl_pw_qpolynomial_fold *pwf); __isl_take isl_printer *p, __isl_keep isl_pw_qpolynomial_fold *pwf);
void isl_pw_qpolynomial_fold_print(__isl_keep isl_pw_qpolynomial_fold *pwf, void isl_pw_qpolynomial_fold_print(__isl_keep isl_pw_qpolynomial_fold *pwf,
FILE *out, unsigned output_format); FILE *out, unsigned output_format);
void isl_pw_qpolynomial_fold_dump(__isl_keep isl_pw_qpolynomial_fold *pwf); void isl_pw_qpolynomial_fold_dump(__isl_keep isl_pw_qpolynomial_fold *pwf);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_coalesce( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_coalesce(
__isl_take isl_pw_qpolynomial_fold *pwf); __isl_take isl_pw_qpolynomial_fold *pwf);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_gist( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_gist(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_set *context ); __isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_set *context );
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_gist_params(
__isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_set *context
);
__isl_give isl_qpolynomial *isl_pw_qpolynomial_fold_max( __isl_give isl_qpolynomial *isl_pw_qpolynomial_fold_max(
__isl_take isl_pw_qpolynomial_fold *pwf); __isl_take isl_pw_qpolynomial_fold *pwf);
__isl_give isl_qpolynomial *isl_pw_qpolynomial_fold_min( __isl_give isl_qpolynomial *isl_pw_qpolynomial_fold_min(
__isl_take isl_pw_qpolynomial_fold *pwf); __isl_take isl_pw_qpolynomial_fold *pwf);
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_bound( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_bound(
__isl_take isl_pw_qpolynomial *pwqp, enum isl_fold type, int *tight) ; __isl_take isl_pw_qpolynomial *pwqp, enum isl_fold type, int *tight) ;
__isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_bound( __isl_give isl_pw_qpolynomial_fold *isl_pw_qpolynomial_fold_bound(
__isl_take isl_pw_qpolynomial_fold *pwf, int *tight); __isl_take isl_pw_qpolynomial_fold *pwf, int *tight);
__isl_give isl_pw_qpolynomial_fold *isl_set_apply_pw_qpolynomial_fold( __isl_give isl_pw_qpolynomial_fold *isl_set_apply_pw_qpolynomial_fold(
__isl_take isl_set *set, __isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_set *set, __isl_take isl_pw_qpolynomial_fold *pwf,
int *tight); int *tight);
__isl_give isl_pw_qpolynomial_fold *isl_map_apply_pw_qpolynomial_fold( __isl_give isl_pw_qpolynomial_fold *isl_map_apply_pw_qpolynomial_fold(
__isl_take isl_map *map, __isl_take isl_pw_qpolynomial_fold *pwf, __isl_take isl_map *map, __isl_take isl_pw_qpolynomial_fold *pwf,
int *tight); int *tight);
__isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_to_polynomial( __isl_give isl_pw_qpolynomial *isl_pw_qpolynomial_to_polynomial(
__isl_take isl_pw_qpolynomial *pwqp, int sign); __isl_take isl_pw_qpolynomial *pwqp, int sign);
struct isl_union_pw_qpolynomial;
typedef struct isl_union_pw_qpolynomial isl_union_pw_qpolynomial;
isl_ctx *isl_union_pw_qpolynomial_get_ctx( isl_ctx *isl_union_pw_qpolynomial_get_ctx(
__isl_keep isl_union_pw_qpolynomial *upwqp); __isl_keep isl_union_pw_qpolynomial *upwqp);
int isl_union_pw_qpolynomial_plain_is_equal(
__isl_keep isl_union_pw_qpolynomial *upwqp1,
__isl_keep isl_union_pw_qpolynomial *upwqp2);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_from_pw_qpoly nomial(__isl_take isl_pw_qpolynomial *pwqp); __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_from_pw_qpoly nomial(__isl_take isl_pw_qpolynomial *pwqp);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_zero( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_zero(
__isl_take isl_dim *dim); __isl_take isl_space *dim);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_add_pw_qpolyn omial( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_add_pw_qpolyn omial(
__isl_take isl_union_pw_qpolynomial *upwqp, __isl_take isl_union_pw_qpolynomial *upwqp,
__isl_take isl_pw_qpolynomial *pwqp); __isl_take isl_pw_qpolynomial *pwqp);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_copy( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_copy(
__isl_keep isl_union_pw_qpolynomial *upwqp); __isl_keep isl_union_pw_qpolynomial *upwqp);
void isl_union_pw_qpolynomial_free(__isl_take isl_union_pw_qpolynomial *upw qp); void isl_union_pw_qpolynomial_free(__isl_take isl_union_pw_qpolynomial *upw qp);
__isl_constructor
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_read_from_str
(
isl_ctx *ctx, const char *str);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_add( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_add(
__isl_take isl_union_pw_qpolynomial *upwqp1, __isl_take isl_union_pw_qpolynomial *upwqp1,
__isl_take isl_union_pw_qpolynomial *upwqp2); __isl_take isl_union_pw_qpolynomial *upwqp2);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_sub( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_sub(
__isl_take isl_union_pw_qpolynomial *upwqp1, __isl_take isl_union_pw_qpolynomial *upwqp1,
__isl_take isl_union_pw_qpolynomial *upwqp2); __isl_take isl_union_pw_qpolynomial *upwqp2);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_mul( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_mul(
__isl_take isl_union_pw_qpolynomial *upwqp1, __isl_take isl_union_pw_qpolynomial *upwqp1,
__isl_take isl_union_pw_qpolynomial *upwqp2); __isl_take isl_union_pw_qpolynomial *upwqp2);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_mul_isl_int( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_mul_isl_int(
__isl_take isl_union_pw_qpolynomial *upwqp, isl_int v); __isl_take isl_union_pw_qpolynomial *upwqp, isl_int v);
__isl_give isl_union_set *isl_union_pw_qpolynomial_domain( __isl_give isl_union_set *isl_union_pw_qpolynomial_domain(
__isl_take isl_union_pw_qpolynomial *upwqp); __isl_take isl_union_pw_qpolynomial *upwqp);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_intersect_dom ain( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_intersect_dom ain(
__isl_take isl_union_pw_qpolynomial *upwpq, __isl_take isl_union_pw_qpolynomial *upwpq,
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_intersect_par
ams(
__isl_take isl_union_pw_qpolynomial *upwpq,
__isl_take isl_set *set);
__isl_give isl_dim *isl_union_pw_qpolynomial_get_dim( __isl_give isl_space *isl_union_pw_qpolynomial_get_space(
__isl_keep isl_union_pw_qpolynomial *upwqp); __isl_keep isl_union_pw_qpolynomial *upwqp);
__isl_give isl_qpolynomial *isl_union_pw_qpolynomial_eval( __isl_give isl_qpolynomial *isl_union_pw_qpolynomial_eval(
__isl_take isl_union_pw_qpolynomial *upwqp, __isl_take isl_point *pn t); __isl_take isl_union_pw_qpolynomial *upwqp, __isl_take isl_point *pn t);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_coalesce( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_coalesce(
__isl_take isl_union_pw_qpolynomial *upwqp); __isl_take isl_union_pw_qpolynomial *upwqp);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_gist( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_gist(
__isl_take isl_union_pw_qpolynomial *upwqp, __isl_take isl_union_pw_qpolynomial *upwqp,
__isl_take isl_union_set *context); __isl_take isl_union_set *context);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_gist_params(
__isl_take isl_union_pw_qpolynomial *upwqp,
__isl_take isl_set *context);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_align_params( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_align_params(
__isl_take isl_union_pw_qpolynomial *upwqp, __isl_take isl_union_pw_qpolynomial *upwqp,
__isl_take isl_dim *model); __isl_take isl_space *model);
int isl_union_pw_qpolynomial_foreach_pw_qpolynomial( int isl_union_pw_qpolynomial_foreach_pw_qpolynomial(
__isl_keep isl_union_pw_qpolynomial *upwqp, __isl_keep isl_union_pw_qpolynomial *upwqp,
int (*fn)(__isl_take isl_pw_qpolynomial *pwqp, void *user), void *us er); int (*fn)(__isl_take isl_pw_qpolynomial *pwqp, void *user), void *us er);
__isl_give isl_pw_qpolynomial *isl_union_pw_qpolynomial_extract_pw_qpolynom ial( __isl_give isl_pw_qpolynomial *isl_union_pw_qpolynomial_extract_pw_qpolynom ial(
__isl_keep isl_union_pw_qpolynomial *upwqp, __isl_take isl_dim *dim) ; __isl_keep isl_union_pw_qpolynomial *upwqp, __isl_take isl_space *di m);
__isl_give isl_printer *isl_printer_print_union_pw_qpolynomial( __isl_give isl_printer *isl_printer_print_union_pw_qpolynomial(
__isl_take isl_printer *p, __isl_keep isl_union_pw_qpolynomial *upwq p); __isl_take isl_printer *p, __isl_keep isl_union_pw_qpolynomial *upwq p);
struct isl_union_pw_qpolynomial_fold;
typedef struct isl_union_pw_qpolynomial_fold isl_union_pw_qpolynomial_fold;
isl_ctx *isl_union_pw_qpolynomial_fold_get_ctx( isl_ctx *isl_union_pw_qpolynomial_fold_get_ctx(
__isl_keep isl_union_pw_qpolynomial_fold *upwf); __isl_keep isl_union_pw_qpolynomial_fold *upwf);
int isl_union_pw_qpolynomial_fold_plain_is_equal(
__isl_keep isl_union_pw_qpolynomial_fold *upwf1,
__isl_keep isl_union_pw_qpolynomial_fold *upwf2);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_fro m_pw_qpolynomial_fold(__isl_take isl_pw_qpolynomial_fold *pwf); __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_fro m_pw_qpolynomial_fold(__isl_take isl_pw_qpolynomial_fold *pwf);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_zer o( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_zer o(
__isl_take isl_dim *dim, enum isl_fold type); __isl_take isl_space *dim, enum isl_fold type);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_fol d_pw_qpolynomial_fold( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_fol d_pw_qpolynomial_fold(
__isl_take isl_union_pw_qpolynomial_fold *upwqp, __isl_take isl_union_pw_qpolynomial_fold *upwqp,
__isl_take isl_pw_qpolynomial_fold *pwqp); __isl_take isl_pw_qpolynomial_fold *pwqp);
void isl_union_pw_qpolynomial_fold_free( void isl_union_pw_qpolynomial_fold_free(
__isl_take isl_union_pw_qpolynomial_fold *upwf); __isl_take isl_union_pw_qpolynomial_fold *upwf);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_cop y( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_cop y(
__isl_keep isl_union_pw_qpolynomial_fold *upwf); __isl_keep isl_union_pw_qpolynomial_fold *upwf);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_fol d( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_fol d(
__isl_take isl_union_pw_qpolynomial_fold *upwf1, __isl_take isl_union_pw_qpolynomial_fold *upwf1,
skipping to change at line 507 skipping to change at line 535
__isl_take isl_union_pw_qpolynomial_fold *upwf, __isl_take isl_union_pw_qpolynomial_fold *upwf,
__isl_take isl_union_pw_qpolynomial *upwqp); __isl_take isl_union_pw_qpolynomial *upwqp);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_mul _isl_int( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_mul _isl_int(
__isl_take isl_union_pw_qpolynomial_fold *upwf, isl_int v); __isl_take isl_union_pw_qpolynomial_fold *upwf, isl_int v);
__isl_give isl_union_set *isl_union_pw_qpolynomial_fold_domain( __isl_give isl_union_set *isl_union_pw_qpolynomial_fold_domain(
__isl_take isl_union_pw_qpolynomial_fold *upwf); __isl_take isl_union_pw_qpolynomial_fold *upwf);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_int ersect_domain( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_int ersect_domain(
__isl_take isl_union_pw_qpolynomial_fold *upwf, __isl_take isl_union_pw_qpolynomial_fold *upwf,
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_give isl_union_pw_qpolynomial_fold *
isl_union_pw_qpolynomial_fold_intersect_params(
__isl_take isl_union_pw_qpolynomial_fold *upwf,
__isl_take isl_set *set);
enum isl_fold isl_union_pw_qpolynomial_fold_get_type( enum isl_fold isl_union_pw_qpolynomial_fold_get_type(
__isl_keep isl_union_pw_qpolynomial_fold *upwf); __isl_keep isl_union_pw_qpolynomial_fold *upwf);
__isl_give isl_dim *isl_union_pw_qpolynomial_fold_get_dim( __isl_give isl_space *isl_union_pw_qpolynomial_fold_get_space(
__isl_keep isl_union_pw_qpolynomial_fold *upwf); __isl_keep isl_union_pw_qpolynomial_fold *upwf);
__isl_give isl_qpolynomial *isl_union_pw_qpolynomial_fold_eval( __isl_give isl_qpolynomial *isl_union_pw_qpolynomial_fold_eval(
__isl_take isl_union_pw_qpolynomial_fold *upwf, __isl_take isl_union_pw_qpolynomial_fold *upwf,
__isl_take isl_point *pnt); __isl_take isl_point *pnt);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_coa lesce( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_coa lesce(
__isl_take isl_union_pw_qpolynomial_fold *upwf); __isl_take isl_union_pw_qpolynomial_fold *upwf);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_gis t( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_gis t(
__isl_take isl_union_pw_qpolynomial_fold *upwf, __isl_take isl_union_pw_qpolynomial_fold *upwf,
__isl_take isl_union_set *context); __isl_take isl_union_set *context);
__isl_give isl_union_pw_qpolynomial_fold *
isl_union_pw_qpolynomial_fold_gist_params(
__isl_take isl_union_pw_qpolynomial_fold *upwf,
__isl_take isl_set *context);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_ali gn_params( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_ali gn_params(
__isl_take isl_union_pw_qpolynomial_fold *upwf, __isl_take isl_union_pw_qpolynomial_fold *upwf,
__isl_take isl_dim *model); __isl_take isl_space *model);
int isl_union_pw_qpolynomial_fold_foreach_pw_qpolynomial_fold( int isl_union_pw_qpolynomial_fold_foreach_pw_qpolynomial_fold(
__isl_keep isl_union_pw_qpolynomial_fold *upwf, __isl_keep isl_union_pw_qpolynomial_fold *upwf,
int (*fn)(__isl_take isl_pw_qpolynomial_fold *pwf, int (*fn)(__isl_take isl_pw_qpolynomial_fold *pwf,
void *user), void *user); void *user), void *user);
__isl_give isl_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_extract_p w_qpolynomial_fold( __isl_give isl_pw_qpolynomial_fold *isl_union_pw_qpolynomial_fold_extract_p w_qpolynomial_fold(
__isl_keep isl_union_pw_qpolynomial_fold *upwf, __isl_take isl_dim * dim); __isl_keep isl_union_pw_qpolynomial_fold *upwf, __isl_take isl_space *dim);
__isl_give isl_printer *isl_printer_print_union_pw_qpolynomial_fold( __isl_give isl_printer *isl_printer_print_union_pw_qpolynomial_fold(
__isl_take isl_printer *p, __isl_take isl_printer *p,
__isl_keep isl_union_pw_qpolynomial_fold *upwf); __isl_keep isl_union_pw_qpolynomial_fold *upwf);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_bound( __isl_give isl_union_pw_qpolynomial_fold *isl_union_pw_qpolynomial_bound(
__isl_take isl_union_pw_qpolynomial *upwqp, __isl_take isl_union_pw_qpolynomial *upwqp,
enum isl_fold type, int *tight); enum isl_fold type, int *tight);
__isl_give isl_union_pw_qpolynomial_fold *isl_union_set_apply_union_pw_qpol ynomial_fold( __isl_give isl_union_pw_qpolynomial_fold *isl_union_set_apply_union_pw_qpol ynomial_fold(
__isl_take isl_union_set *uset, __isl_take isl_union_set *uset,
skipping to change at line 555 skipping to change at line 591
__isl_take isl_union_map *umap, __isl_take isl_union_map *umap,
__isl_take isl_union_pw_qpolynomial_fold *upwf, int *tight); __isl_take isl_union_pw_qpolynomial_fold *upwf, int *tight);
__isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_to_polynomial ( __isl_give isl_union_pw_qpolynomial *isl_union_pw_qpolynomial_to_polynomial (
__isl_take isl_union_pw_qpolynomial *upwqp, int sign); __isl_take isl_union_pw_qpolynomial *upwqp, int sign);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#include <isl/dim.h>
#endif #endif
 End of changes. 55 change blocks. 
70 lines changed or deleted 118 lines changed or added


 pprint.h   pprint.h 
skipping to change at line 51 skipping to change at line 51
#endif #endif
# define MAX_STRING_VAL 32 # define MAX_STRING_VAL 32
# define INDENT_STEP 2 # define INDENT_STEP 2
# define EQTYPE_NONE 0 # define EQTYPE_NONE 0
# define EQTYPE_CONSTANT 1 # define EQTYPE_CONSTANT 1
# define EQTYPE_PUREITEM 2 # define EQTYPE_PUREITEM 2
# define EQTYPE_EXAFFINE 3 # define EQTYPE_EXAFFINE 3
# define LANGUAGE_C 0 #define CLOOG_LANGUAGE_C 0
# define LANGUAGE_FORTRAN 1 #define CLOOG_LANGUAGE_FORTRAN 1
/************************************************************************** **** /************************************************************************** ****
* Structure display function * * Structure display function *
************************************************************************** ****/ ************************************************************************** ****/
void clast_pprint(FILE *foo, struct clast_stmt *root, int indent, void clast_pprint(FILE *foo, struct clast_stmt *root, int indent,
CloogOptions *options); CloogOptions *options);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added


 schedule.h   schedule.h 
skipping to change at line 15 skipping to change at line 15
#include <isl/union_map.h> #include <isl/union_map.h>
#include <isl/list.h> #include <isl/list.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct isl_schedule; struct isl_schedule;
typedef struct isl_schedule isl_schedule; typedef struct isl_schedule isl_schedule;
int isl_options_set_schedule_max_constant_term(isl_ctx *ctx, int val);
int isl_options_get_schedule_max_constant_term(isl_ctx *ctx);
int isl_options_set_schedule_maximize_band_depth(isl_ctx *ctx, int val);
int isl_options_get_schedule_maximize_band_depth(isl_ctx *ctx);
int isl_options_set_schedule_outer_zero_distance(isl_ctx *ctx, int val);
int isl_options_get_schedule_outer_zero_distance(isl_ctx *ctx);
__isl_give isl_schedule *isl_union_set_compute_schedule( __isl_give isl_schedule *isl_union_set_compute_schedule(
__isl_take isl_union_set *domain, __isl_take isl_union_set *domain,
__isl_take isl_union_map *validity, __isl_take isl_union_map *validity,
__isl_take isl_union_map *proximity); __isl_take isl_union_map *proximity);
void *isl_schedule_free(__isl_take isl_schedule *sched); void *isl_schedule_free(__isl_take isl_schedule *sched);
__isl_give isl_union_map *isl_schedule_get_map(__isl_keep isl_schedule *sch ed); __isl_give isl_union_map *isl_schedule_get_map(__isl_keep isl_schedule *sch ed);
isl_ctx *isl_schedule_get_ctx(__isl_keep isl_schedule *sched); isl_ctx *isl_schedule_get_ctx(__isl_keep isl_schedule *sched);
__isl_give isl_band_list *isl_schedule_get_band_forest( __isl_give isl_band_list *isl_schedule_get_band_forest(
 End of changes. 1 change blocks. 
0 lines changed or deleted 9 lines changed or added


 set.h   set.h 
skipping to change at line 24 skipping to change at line 24
#include <isl/aff_type.h> #include <isl/aff_type.h>
#include <isl/list.h> #include <isl/list.h>
#include <isl/mat.h> #include <isl/mat.h>
#include <isl/point.h> #include <isl/point.h>
#include <isl/local_space.h> #include <isl/local_space.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
unsigned isl_basic_set_n_dim(const struct isl_basic_set *bset); unsigned isl_basic_set_n_dim(__isl_keep isl_basic_set *bset);
unsigned isl_basic_set_n_param(const struct isl_basic_set *bset); unsigned isl_basic_set_n_param(__isl_keep isl_basic_set *bset);
unsigned isl_basic_set_total_dim(const struct isl_basic_set *bset); unsigned isl_basic_set_total_dim(const struct isl_basic_set *bset);
unsigned isl_basic_set_dim(const struct isl_basic_set *bset, unsigned isl_basic_set_dim(__isl_keep isl_basic_set *bset,
enum isl_dim_type type); enum isl_dim_type type);
unsigned isl_set_n_dim(const struct isl_set *set); unsigned isl_set_n_dim(__isl_keep isl_set *set);
unsigned isl_set_n_param(const struct isl_set *set); unsigned isl_set_n_param(__isl_keep isl_set *set);
unsigned isl_set_dim(const struct isl_set *set, enum isl_dim_type type); unsigned isl_set_dim(__isl_keep isl_set *set, enum isl_dim_type type);
isl_ctx *isl_basic_set_get_ctx(__isl_keep isl_basic_set *bset); isl_ctx *isl_basic_set_get_ctx(__isl_keep isl_basic_set *bset);
isl_ctx *isl_set_get_ctx(__isl_keep isl_set *set); isl_ctx *isl_set_get_ctx(__isl_keep isl_set *set);
__isl_give isl_dim *isl_basic_set_get_dim(__isl_keep isl_basic_set *bset); __isl_give isl_space *isl_basic_set_get_space(__isl_keep isl_basic_set *bse
__isl_give isl_dim *isl_set_get_dim(__isl_keep isl_set *set); t);
__isl_give isl_set *isl_set_reset_dim(__isl_take isl_set *set, __isl_give isl_space *isl_set_get_space(__isl_keep isl_set *set);
__isl_take isl_dim *dim); __isl_give isl_set *isl_set_reset_space(__isl_take isl_set *set,
__isl_take isl_space *dim);
struct isl_div *isl_basic_set_div(struct isl_basic_set *bset, int pos); __isl_give isl_aff *isl_basic_set_get_div(__isl_keep isl_basic_set *bset,
int pos);
__isl_give isl_local_space *isl_basic_set_get_local_space( __isl_give isl_local_space *isl_basic_set_get_local_space(
__isl_keep isl_basic_set *bset); __isl_keep isl_basic_set *bset);
const char *isl_basic_set_get_tuple_name(__isl_keep isl_basic_set *bset); const char *isl_basic_set_get_tuple_name(__isl_keep isl_basic_set *bset);
const char *isl_set_get_tuple_name(__isl_keep isl_set *set); const char *isl_set_get_tuple_name(__isl_keep isl_set *set);
__isl_give isl_basic_set *isl_basic_set_set_tuple_name( __isl_give isl_basic_set *isl_basic_set_set_tuple_name(
__isl_take isl_basic_set *set, const char *s); __isl_take isl_basic_set *set, const char *s);
__isl_give isl_set *isl_set_set_tuple_name(__isl_take isl_set *set, __isl_give isl_set *isl_set_set_tuple_name(__isl_take isl_set *set,
const char *s); const char *s);
const char *isl_basic_set_get_dim_name(__isl_keep isl_basic_set *bset, const char *isl_basic_set_get_dim_name(__isl_keep isl_basic_set *bset,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
__isl_give isl_basic_set *isl_basic_set_set_dim_name( __isl_give isl_basic_set *isl_basic_set_set_dim_name(
__isl_take isl_basic_set *bset, __isl_take isl_basic_set *bset,
enum isl_dim_type type, unsigned pos, const char *s); enum isl_dim_type type, unsigned pos, const char *s);
const char *isl_set_get_dim_name(__isl_keep isl_set *set, const char *isl_set_get_dim_name(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
__isl_give isl_set *isl_set_set_dim_name(__isl_take isl_set *set, __isl_give isl_set *isl_set_set_dim_name(__isl_take isl_set *set,
enum isl_dim_type type, unsigned pos, const char *s); enum isl_dim_type type, unsigned pos, const char *s);
__isl_give isl_set *isl_set_set_dim_id(__isl_take isl_set *set,
enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
int isl_set_has_dim_id(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned pos);
__isl_give isl_id *isl_set_get_dim_id(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned pos);
__isl_give isl_set *isl_set_set_tuple_id(__isl_take isl_set *set,
__isl_take isl_id *id);
__isl_give isl_set *isl_set_reset_tuple_id(__isl_take isl_set *set);
int isl_set_has_tuple_id(__isl_keep isl_set *set);
__isl_give isl_id *isl_set_get_tuple_id(__isl_keep isl_set *set);
int isl_set_find_dim_by_id(__isl_keep isl_set *set, enum isl_dim_type type,
__isl_keep isl_id *id);
int isl_set_find_dim_by_name(__isl_keep isl_set *set, enum isl_dim_type typ
e,
const char *name);
int isl_basic_set_is_rational(__isl_keep isl_basic_set *bset); int isl_basic_set_is_rational(__isl_keep isl_basic_set *bset);
struct isl_basic_set *isl_basic_set_alloc(struct isl_ctx *ctx, struct isl_basic_set *isl_basic_set_alloc(struct isl_ctx *ctx,
unsigned nparam, unsigned dim, unsigned extra, unsigned nparam, unsigned dim, unsigned extra,
unsigned n_eq, unsigned n_ineq); unsigned n_eq, unsigned n_ineq);
struct isl_basic_set *isl_basic_set_extend(struct isl_basic_set *base, struct isl_basic_set *isl_basic_set_extend(struct isl_basic_set *base,
unsigned nparam, unsigned dim, unsigned extra, unsigned nparam, unsigned dim, unsigned extra,
unsigned n_eq, unsigned n_ineq); unsigned n_eq, unsigned n_ineq);
struct isl_basic_set *isl_basic_set_extend_constraints( struct isl_basic_set *isl_basic_set_extend_constraints(
struct isl_basic_set *base, unsigned n_eq, unsigned n_ineq); struct isl_basic_set *base, unsigned n_eq, unsigned n_ineq);
struct isl_basic_set *isl_basic_set_finalize(struct isl_basic_set *bset); struct isl_basic_set *isl_basic_set_finalize(struct isl_basic_set *bset);
void isl_basic_set_free(__isl_take isl_basic_set *bset); void isl_basic_set_free(__isl_take isl_basic_set *bset);
__isl_give isl_basic_set *isl_basic_set_copy(__isl_keep isl_basic_set *bset ); __isl_give isl_basic_set *isl_basic_set_copy(__isl_keep isl_basic_set *bset );
struct isl_basic_set *isl_basic_set_dup(struct isl_basic_set *bset); struct isl_basic_set *isl_basic_set_dup(struct isl_basic_set *bset);
__isl_give isl_basic_set *isl_basic_set_empty(__isl_take isl_dim *dim); __isl_give isl_basic_set *isl_basic_set_empty(__isl_take isl_space *dim);
struct isl_basic_set *isl_basic_set_empty_like(struct isl_basic_set *bset); struct isl_basic_set *isl_basic_set_empty_like(struct isl_basic_set *bset);
__isl_give isl_basic_set *isl_basic_set_universe(__isl_take isl_dim *dim); __isl_give isl_basic_set *isl_basic_set_universe(__isl_take isl_space *dim)
__isl_give isl_basic_set *isl_basic_set_nat_universe(__isl_take isl_dim *di ;
m); __isl_give isl_basic_set *isl_basic_set_nat_universe(__isl_take isl_space *
dim);
struct isl_basic_set *isl_basic_set_universe_like(struct isl_basic_set *bse t); struct isl_basic_set *isl_basic_set_universe_like(struct isl_basic_set *bse t);
__isl_give isl_basic_set *isl_basic_set_universe_like_set( __isl_give isl_basic_set *isl_basic_set_universe_like_set(
__isl_keep isl_set *model); __isl_keep isl_set *model);
struct isl_basic_set *isl_basic_set_interval(struct isl_ctx *ctx, struct isl_basic_set *isl_basic_set_interval(struct isl_ctx *ctx,
isl_int min, isl_int max); isl_int min, isl_int max);
struct isl_basic_set *isl_basic_set_positive_orthant(struct isl_dim *dims); __isl_give isl_basic_set *isl_basic_set_positive_orthant(
__isl_take isl_space *space);
void isl_basic_set_print_internal(__isl_keep isl_basic_set *bset, void isl_basic_set_print_internal(__isl_keep isl_basic_set *bset,
FILE *out, int indent); FILE *out, int indent);
__isl_export
__isl_give isl_basic_set *isl_basic_set_intersect( __isl_give isl_basic_set *isl_basic_set_intersect(
__isl_take isl_basic_set *bset1, __isl_take isl_basic_set *bset1,
__isl_take isl_basic_set *bset2); __isl_take isl_basic_set *bset2);
__isl_export
__isl_give isl_basic_set *isl_basic_set_intersect_params(
__isl_take isl_basic_set *bset1, __isl_take isl_basic_set *bset2);
__isl_export
__isl_give isl_basic_set *isl_basic_set_apply( __isl_give isl_basic_set *isl_basic_set_apply(
__isl_take isl_basic_set *bset, __isl_take isl_basic_set *bset,
__isl_take isl_basic_map *bmap); __isl_take isl_basic_map *bmap);
__isl_export
__isl_give isl_basic_set *isl_basic_set_affine_hull( __isl_give isl_basic_set *isl_basic_set_affine_hull(
__isl_take isl_basic_set *bset); __isl_take isl_basic_set *bset);
__isl_give isl_basic_set *isl_basic_set_remove_dims( __isl_give isl_basic_set *isl_basic_set_remove_dims(
__isl_take isl_basic_set *bset, __isl_take isl_basic_set *bset,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
struct isl_basic_set *isl_basic_set_simplify(struct isl_basic_set *bset); struct isl_basic_set *isl_basic_set_simplify(struct isl_basic_set *bset);
__isl_export
__isl_give isl_basic_set *isl_basic_set_detect_equalities( __isl_give isl_basic_set *isl_basic_set_detect_equalities(
__isl_take isl_basic_set *bs et); __isl_take isl_basic_set *bs et);
__isl_give isl_basic_set *isl_basic_set_remove_redundancies( __isl_give isl_basic_set *isl_basic_set_remove_redundancies(
__isl_take isl_basic_set *bset); __isl_take isl_basic_set *bset);
__isl_give isl_set *isl_set_remove_redundancies(__isl_take isl_set *set); __isl_give isl_set *isl_set_remove_redundancies(__isl_take isl_set *set);
__isl_give isl_basic_set *isl_basic_set_list_product( __isl_give isl_basic_set *isl_basic_set_list_product(
__isl_take struct isl_basic_set_list *list); __isl_take struct isl_basic_set_list *list);
__isl_give isl_basic_set *isl_basic_set_read_from_file(isl_ctx *ctx, __isl_give isl_basic_set *isl_basic_set_read_from_file(isl_ctx *ctx,
FILE *input, int nparam); FILE *input);
__isl_constructor
__isl_give isl_basic_set *isl_basic_set_read_from_str(isl_ctx *ctx, __isl_give isl_basic_set *isl_basic_set_read_from_str(isl_ctx *ctx,
const char *str, int nparam); const char *str);
__isl_give isl_set *isl_set_read_from_file(isl_ctx *ctx, __isl_give isl_set *isl_set_read_from_file(isl_ctx *ctx, FILE *input);
FILE *input, int nparam); __isl_constructor
__isl_give isl_set *isl_set_read_from_str(isl_ctx *ctx, __isl_give isl_set *isl_set_read_from_str(isl_ctx *ctx, const char *str);
const char *str, int nparam);
void isl_basic_set_dump(__isl_keep isl_basic_set *bset); void isl_basic_set_dump(__isl_keep isl_basic_set *bset);
void isl_set_dump(__isl_keep isl_set *set); void isl_set_dump(__isl_keep isl_set *set);
__isl_give isl_printer *isl_printer_print_basic_set( __isl_give isl_printer *isl_printer_print_basic_set(
__isl_take isl_printer *printer, __isl_keep isl_basic_set *bset); __isl_take isl_printer *printer, __isl_keep isl_basic_set *bset);
__isl_give isl_printer *isl_printer_print_set(__isl_take isl_printer *print er, __isl_give isl_printer *isl_printer_print_set(__isl_take isl_printer *print er,
__isl_keep isl_set *map); __isl_keep isl_set *map);
void isl_basic_set_print(__isl_keep isl_basic_set *bset, FILE *out, int ind ent, void isl_basic_set_print(__isl_keep isl_basic_set *bset, FILE *out, int ind ent,
const char *prefix, const char *suffix, unsigned output_format); const char *prefix, const char *suffix, unsigned output_format);
void isl_set_print(__isl_keep struct isl_set *set, FILE *out, int indent, void isl_set_print(__isl_keep struct isl_set *set, FILE *out, int indent,
unsigned output_format); unsigned output_format);
__isl_give isl_basic_set *isl_basic_set_fix(__isl_take isl_basic_set *bset, __isl_give isl_basic_set *isl_basic_set_fix(__isl_take isl_basic_set *bset,
enum isl_dim_type type, unsigned pos, isl_int value); enum isl_dim_type type, unsigned pos, isl_int value);
__isl_give isl_basic_set *isl_basic_set_fix_si(__isl_take isl_basic_set *bs et, __isl_give isl_basic_set *isl_basic_set_fix_si(__isl_take isl_basic_set *bs et,
enum isl_dim_type type, unsigned pos, int value); enum isl_dim_type type, unsigned pos, int value);
__isl_give isl_set *isl_set_fix_si(__isl_take isl_set *set, __isl_give isl_set *isl_set_fix_si(__isl_take isl_set *set,
enum isl_dim_type type, unsigned pos, int value); enum isl_dim_type type, unsigned pos, int value);
__isl_give isl_set *isl_set_lower_bound_si(__isl_take isl_set *set, __isl_give isl_set *isl_set_lower_bound_si(__isl_take isl_set *set,
enum isl_dim_type type, unsigned pos, int value); enum isl_dim_type type, unsigned pos, int value);
__isl_give isl_set *isl_set_upper_bound_si(__isl_take isl_set *set,
enum isl_dim_type type, unsigned pos, int value);
__isl_give isl_set *isl_set_equate(__isl_take isl_set *set,
enum isl_dim_type type1, int pos1, enum isl_dim_type type2, int pos2
);
struct isl_basic_set *isl_basic_set_from_underlying_set( struct isl_basic_set *isl_basic_set_from_underlying_set(
struct isl_basic_set *bset, struct isl_basic_set *like); struct isl_basic_set *bset, struct isl_basic_set *like);
struct isl_set *isl_set_from_underlying_set( struct isl_set *isl_set_from_underlying_set(
struct isl_set *set, struct isl_basic_set *like); struct isl_set *set, struct isl_basic_set *like);
struct isl_set *isl_set_to_underlying_set(struct isl_set *set); struct isl_set *isl_set_to_underlying_set(struct isl_set *set);
__isl_export
int isl_basic_set_is_equal( int isl_basic_set_is_equal(
struct isl_basic_set *bset1, struct isl_basic_set *bset2); struct isl_basic_set *bset1, struct isl_basic_set *bset2);
__isl_give isl_set *isl_basic_set_partial_lexmin( __isl_give isl_set *isl_basic_set_partial_lexmin(
__isl_take isl_basic_set *bset, __isl_take isl_basic_set *do m, __isl_take isl_basic_set *bset, __isl_take isl_basic_set *do m,
__isl_give isl_set **empty); __isl_give isl_set **empty);
__isl_give isl_set *isl_basic_set_partial_lexmax( __isl_give isl_set *isl_basic_set_partial_lexmax(
__isl_take isl_basic_set *bset, __isl_take isl_basic_set *do m, __isl_take isl_basic_set *bset, __isl_take isl_basic_set *do m,
__isl_give isl_set **empty); __isl_give isl_set **empty);
__isl_give isl_set *isl_set_partial_lexmin( __isl_give isl_set *isl_set_partial_lexmin(
__isl_take isl_set *set, __isl_take isl_set *dom, __isl_take isl_set *set, __isl_take isl_set *dom,
__isl_give isl_set **empty); __isl_give isl_set **empty);
__isl_give isl_set *isl_set_partial_lexmax( __isl_give isl_set *isl_set_partial_lexmax(
__isl_take isl_set *set, __isl_take isl_set *dom, __isl_take isl_set *set, __isl_take isl_set *dom,
__isl_give isl_set **empty); __isl_give isl_set **empty);
__isl_export
__isl_give isl_set *isl_basic_set_lexmin(__isl_take isl_basic_set *bset); __isl_give isl_set *isl_basic_set_lexmin(__isl_take isl_basic_set *bset);
__isl_export
__isl_give isl_set *isl_basic_set_lexmax(__isl_take isl_basic_set *bset); __isl_give isl_set *isl_basic_set_lexmax(__isl_take isl_basic_set *bset);
__isl_export
__isl_give isl_set *isl_set_lexmin(__isl_take isl_set *set); __isl_give isl_set *isl_set_lexmin(__isl_take isl_set *set);
__isl_export
__isl_give isl_set *isl_set_lexmax(__isl_take isl_set *set); __isl_give isl_set *isl_set_lexmax(__isl_take isl_set *set);
int isl_basic_set_foreach_lexmax(__isl_keep isl_basic_set *bset, __isl_give isl_pw_multi_aff *isl_basic_set_partial_lexmin_pw_multi_aff(
int (*fn)(__isl_take isl_basic_set *dom, __isl_take isl_aff_list *li __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
st, __isl_give isl_set **empty);
void *user), __isl_give isl_pw_multi_aff *isl_basic_set_partial_lexmax_pw_multi_aff(
void *user); __isl_take isl_basic_set *bset, __isl_take isl_basic_set *dom,
__isl_give isl_set **empty);
__isl_export
__isl_give isl_set *isl_basic_set_union( __isl_give isl_set *isl_basic_set_union(
__isl_take isl_basic_set *bset1, __isl_take isl_basic_set *bset1,
__isl_take isl_basic_set *bset2); __isl_take isl_basic_set *bset2);
int isl_basic_set_compare_at(struct isl_basic_set *bset1, int isl_basic_set_compare_at(struct isl_basic_set *bset1,
struct isl_basic_set *bset2, int pos); struct isl_basic_set *bset2, int pos);
int isl_set_follows_at(__isl_keep isl_set *set1, int isl_set_follows_at(__isl_keep isl_set *set1,
__isl_keep isl_set *set2, int pos); __isl_keep isl_set *set2, int pos);
__isl_give isl_basic_set *isl_basic_set_params(__isl_take isl_basic_set *bs
et);
__isl_give isl_set *isl_set_params(__isl_take isl_set *set);
__isl_give isl_set *isl_set_from_params(__isl_take isl_set *set);
int isl_basic_set_dims_get_sign(__isl_keep isl_basic_set *bset, int isl_basic_set_dims_get_sign(__isl_keep isl_basic_set *bset,
enum isl_dim_type type, unsigned pos, unsigned n, int *signs); enum isl_dim_type type, unsigned pos, unsigned n, int *signs);
int isl_basic_set_is_universe(__isl_keep isl_basic_set *bset); int isl_basic_set_is_universe(__isl_keep isl_basic_set *bset);
int isl_basic_set_plain_is_empty(__isl_keep isl_basic_set *bset); int isl_basic_set_plain_is_empty(__isl_keep isl_basic_set *bset);
int isl_basic_set_fast_is_empty(__isl_keep isl_basic_set *bset); int isl_basic_set_fast_is_empty(__isl_keep isl_basic_set *bset);
__isl_export
int isl_basic_set_is_empty(__isl_keep isl_basic_set *bset); int isl_basic_set_is_empty(__isl_keep isl_basic_set *bset);
int isl_basic_set_is_bounded(__isl_keep isl_basic_set *bset); int isl_basic_set_is_bounded(__isl_keep isl_basic_set *bset);
struct isl_set *isl_set_alloc(struct isl_ctx *ctx, struct isl_set *isl_set_alloc(struct isl_ctx *ctx,
unsigned nparam, unsigned dim, int n, unsigned flags); unsigned nparam, unsigned dim, int n, unsigned flags);
struct isl_set *isl_set_extend(struct isl_set *base, struct isl_set *isl_set_extend(struct isl_set *base,
unsigned nparam, unsigned dim); unsigned nparam, unsigned dim);
__isl_give isl_set *isl_set_empty(__isl_take isl_dim *dim); __isl_give isl_set *isl_set_empty(__isl_take isl_space *dim);
struct isl_set *isl_set_empty_like(struct isl_set *set); struct isl_set *isl_set_empty_like(struct isl_set *set);
__isl_give isl_set *isl_set_universe(__isl_take isl_dim *dim); __isl_give isl_set *isl_set_universe(__isl_take isl_space *dim);
__isl_give isl_set *isl_set_nat_universe(__isl_take isl_dim *dim); __isl_give isl_set *isl_set_nat_universe(__isl_take isl_space *dim);
__isl_give isl_set *isl_set_universe_like(__isl_keep isl_set *model); __isl_give isl_set *isl_set_universe_like(__isl_keep isl_set *model);
__isl_give isl_set *isl_set_add_basic_set(__isl_take isl_set *set, __isl_give isl_set *isl_set_add_basic_set(__isl_take isl_set *set,
__isl_take isl_basic_set *bs et); __isl_take isl_basic_set *bs et);
struct isl_set *isl_set_finalize(struct isl_set *set); struct isl_set *isl_set_finalize(struct isl_set *set);
__isl_give isl_set *isl_set_copy(__isl_keep isl_set *set); __isl_give isl_set *isl_set_copy(__isl_keep isl_set *set);
void isl_set_free(__isl_take isl_set *set); void isl_set_free(__isl_take isl_set *set);
struct isl_set *isl_set_dup(struct isl_set *set); struct isl_set *isl_set_dup(struct isl_set *set);
__isl_constructor
__isl_give isl_set *isl_set_from_basic_set(__isl_take isl_basic_set *bset); __isl_give isl_set *isl_set_from_basic_set(__isl_take isl_basic_set *bset);
__isl_give isl_basic_set *isl_set_sample(__isl_take isl_set *set); __isl_give isl_basic_set *isl_set_sample(__isl_take isl_set *set);
__isl_give isl_point *isl_basic_set_sample_point(__isl_take isl_basic_set * bset); __isl_give isl_point *isl_basic_set_sample_point(__isl_take isl_basic_set * bset);
__isl_give isl_point *isl_set_sample_point(__isl_take isl_set *set); __isl_give isl_point *isl_set_sample_point(__isl_take isl_set *set);
__isl_export
__isl_give isl_set *isl_set_detect_equalities(__isl_take isl_set *set); __isl_give isl_set *isl_set_detect_equalities(__isl_take isl_set *set);
__isl_export
__isl_give isl_basic_set *isl_set_affine_hull(__isl_take isl_set *set); __isl_give isl_basic_set *isl_set_affine_hull(__isl_take isl_set *set);
__isl_give isl_basic_set *isl_set_convex_hull(__isl_take isl_set *set); __isl_give isl_basic_set *isl_set_convex_hull(__isl_take isl_set *set);
__isl_export
__isl_give isl_basic_set *isl_set_polyhedral_hull(__isl_take isl_set *set); __isl_give isl_basic_set *isl_set_polyhedral_hull(__isl_take isl_set *set);
__isl_give isl_basic_set *isl_set_simple_hull(__isl_take isl_set *set); __isl_give isl_basic_set *isl_set_simple_hull(__isl_take isl_set *set);
struct isl_basic_set *isl_set_bounded_simple_hull(struct isl_set *set); struct isl_basic_set *isl_set_bounded_simple_hull(struct isl_set *set);
__isl_give isl_set *isl_set_recession_cone(__isl_take isl_set *set); __isl_give isl_set *isl_set_recession_cone(__isl_take isl_set *set);
struct isl_set *isl_set_union_disjoint( struct isl_set *isl_set_union_disjoint(
struct isl_set *set1, struct isl_set *set2); struct isl_set *set1, struct isl_set *set2);
__isl_export
__isl_give isl_set *isl_set_union( __isl_give isl_set *isl_set_union(
__isl_take isl_set *set1, __isl_take isl_set *set1,
__isl_take isl_set *set2); __isl_take isl_set *set2);
__isl_give isl_set *isl_set_product(__isl_take isl_set *set1, __isl_give isl_set *isl_set_product(__isl_take isl_set *set1,
__isl_take isl_set *set2); __isl_take isl_set *set2);
__isl_give isl_basic_set *isl_basic_set_flat_product( __isl_give isl_basic_set *isl_basic_set_flat_product(
__isl_take isl_basic_set *bset1, __isl_take isl_basic_set *bset2); __isl_take isl_basic_set *bset1, __isl_take isl_basic_set *bset2);
__isl_give isl_set *isl_set_flat_product(__isl_take isl_set *set1, __isl_give isl_set *isl_set_flat_product(__isl_take isl_set *set1,
__isl_take isl_set *set2); __isl_take isl_set *set2);
__isl_export
__isl_give isl_set *isl_set_intersect( __isl_give isl_set *isl_set_intersect(
__isl_take isl_set *set1, __isl_take isl_set *set1,
__isl_take isl_set *set2); __isl_take isl_set *set2);
__isl_export
__isl_give isl_set *isl_set_intersect_params(__isl_take isl_set *set, __isl_give isl_set *isl_set_intersect_params(__isl_take isl_set *set,
__isl_take isl_set *params); __isl_take isl_set *params);
__isl_export
__isl_give isl_set *isl_set_subtract( __isl_give isl_set *isl_set_subtract(
__isl_take isl_set *set1, __isl_take isl_set *set1,
__isl_take isl_set *set2); __isl_take isl_set *set2);
__isl_export
__isl_give isl_set *isl_set_complement(__isl_take isl_set *set); __isl_give isl_set *isl_set_complement(__isl_take isl_set *set);
__isl_export
__isl_give isl_set *isl_set_apply( __isl_give isl_set *isl_set_apply(
__isl_take isl_set *set, __isl_take isl_set *set,
__isl_take isl_map *map); __isl_take isl_map *map);
__isl_give isl_set *isl_set_fix(__isl_take isl_set *set, __isl_give isl_set *isl_set_fix(__isl_take isl_set *set,
enum isl_dim_type type, unsigned pos, isl_int value); enum isl_dim_type type, unsigned pos, isl_int value);
struct isl_set *isl_set_fix_dim_si(struct isl_set *set, struct isl_set *isl_set_fix_dim_si(struct isl_set *set,
unsigned dim, int value); unsigned dim, int value);
struct isl_set *isl_set_lower_bound_dim(struct isl_set *set, struct isl_set *isl_set_lower_bound_dim(struct isl_set *set,
unsigned dim, isl_int value); unsigned dim, isl_int value);
__isl_give isl_set *isl_set_insert(__isl_take isl_set *set, __isl_give isl_set *isl_set_insert_dims(__isl_take isl_set *set,
enum isl_dim_type type, unsigned pos, unsigned n); enum isl_dim_type type, unsigned pos, unsigned n);
__isl_give isl_basic_set *isl_basic_set_add(__isl_take isl_basic_set *bset, __isl_give isl_basic_set *isl_basic_set_add(__isl_take isl_basic_set *bset,
enum isl_dim_type type, unsigned n); enum isl_dim_type type, unsigned n);
__isl_give isl_set *isl_set_add_dims(__isl_take isl_set *set, __isl_give isl_set *isl_set_add_dims(__isl_take isl_set *set,
enum isl_dim_type type, unsigned n); enum isl_dim_type type, unsigned n);
__isl_give isl_basic_set *isl_basic_set_move_dims(__isl_take isl_basic_set *bset, __isl_give isl_basic_set *isl_basic_set_move_dims(__isl_take isl_basic_set *bset,
enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type dst_type, unsigned dst_pos,
enum isl_dim_type src_type, unsigned src_pos, unsigned n); enum isl_dim_type src_type, unsigned src_pos, unsigned n);
__isl_give isl_set *isl_set_move_dims(__isl_take isl_set *set, __isl_give isl_set *isl_set_move_dims(__isl_take isl_set *set,
enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type dst_type, unsigned dst_pos,
skipping to change at line 281 skipping to change at line 335
int isl_basic_set_involves_dims(__isl_keep isl_basic_set *bset, int isl_basic_set_involves_dims(__isl_keep isl_basic_set *bset,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
int isl_set_involves_dims(__isl_keep isl_set *set, int isl_set_involves_dims(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned first, unsigned n); enum isl_dim_type type, unsigned first, unsigned n);
void isl_set_print_internal(__isl_keep isl_set *set, FILE *out, int indent) ; void isl_set_print_internal(__isl_keep isl_set *set, FILE *out, int indent) ;
int isl_set_plain_is_empty(__isl_keep isl_set *set); int isl_set_plain_is_empty(__isl_keep isl_set *set);
int isl_set_fast_is_empty(__isl_keep isl_set *set); int isl_set_fast_is_empty(__isl_keep isl_set *set);
int isl_set_plain_is_universe(__isl_keep isl_set *set); int isl_set_plain_is_universe(__isl_keep isl_set *set);
int isl_set_fast_is_universe(__isl_keep isl_set *set); int isl_set_fast_is_universe(__isl_keep isl_set *set);
int isl_set_is_params(__isl_keep isl_set *set);
__isl_export
int isl_set_is_empty(__isl_keep isl_set *set); int isl_set_is_empty(__isl_keep isl_set *set);
int isl_set_is_bounded(__isl_keep isl_set *set); int isl_set_is_bounded(__isl_keep isl_set *set);
__isl_export
int isl_set_is_subset(__isl_keep isl_set *set1, __isl_keep isl_set *set2); int isl_set_is_subset(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
__isl_export
int isl_set_is_strict_subset(__isl_keep isl_set *set1, __isl_keep isl_set * set2); int isl_set_is_strict_subset(__isl_keep isl_set *set1, __isl_keep isl_set * set2);
__isl_export
int isl_set_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2); int isl_set_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set2);
int isl_set_is_singleton(__isl_keep isl_set *set); int isl_set_is_singleton(__isl_keep isl_set *set);
int isl_set_is_box(__isl_keep isl_set *set); int isl_set_is_box(__isl_keep isl_set *set);
int isl_set_has_equal_dim(__isl_keep isl_set *set1, __isl_keep isl_set *set 2); int isl_set_has_equal_space(__isl_keep isl_set *set1, __isl_keep isl_set *s et2);
__isl_give isl_set *isl_set_sum(__isl_take isl_set *set1, __isl_give isl_set *isl_set_sum(__isl_take isl_set *set1,
__isl_take isl_set *set2); __isl_take isl_set *set2);
__isl_give isl_basic_set *isl_basic_set_neg(__isl_take isl_basic_set *bset) ; __isl_give isl_basic_set *isl_basic_set_neg(__isl_take isl_basic_set *bset) ;
__isl_give isl_set *isl_set_neg(__isl_take isl_set *set); __isl_give isl_set *isl_set_neg(__isl_take isl_set *set);
__isl_give isl_set *isl_set_make_disjoint(__isl_take isl_set *set); __isl_give isl_set *isl_set_make_disjoint(__isl_take isl_set *set);
struct isl_set *isl_basic_set_compute_divs(struct isl_basic_set *bset); struct isl_set *isl_basic_set_compute_divs(struct isl_basic_set *bset);
__isl_give isl_set *isl_set_compute_divs(__isl_take isl_set *set); __isl_give isl_set *isl_set_compute_divs(__isl_take isl_set *set);
__isl_give isl_set *isl_set_align_divs(__isl_take isl_set *set); __isl_give isl_set *isl_set_align_divs(__isl_take isl_set *set);
struct isl_basic_set *isl_set_copy_basic_set(struct isl_set *set); struct isl_basic_set *isl_set_copy_basic_set(struct isl_set *set);
struct isl_set *isl_set_drop_basic_set(struct isl_set *set, struct isl_set *isl_set_drop_basic_set(struct isl_set *set,
struct isl_basic_set *bset); struct isl_basic_set *bset);
int isl_basic_set_plain_dim_is_fixed(__isl_keep isl_basic_set *bset, int isl_basic_set_plain_dim_is_fixed(__isl_keep isl_basic_set *bset,
unsigned dim, isl_int *val); unsigned dim, isl_int *val);
int isl_set_plain_is_fixed(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned pos, isl_int *val);
int isl_set_plain_dim_is_fixed(__isl_keep isl_set *set, int isl_set_plain_dim_is_fixed(__isl_keep isl_set *set,
unsigned dim, isl_int *val); unsigned dim, isl_int *val);
int isl_set_fast_dim_is_fixed(__isl_keep isl_set *set, int isl_set_fast_dim_is_fixed(__isl_keep isl_set *set,
unsigned dim, isl_int *val); unsigned dim, isl_int *val);
int isl_set_plain_dim_has_fixed_lower_bound(__isl_keep isl_set *set, int isl_set_plain_dim_has_fixed_lower_bound(__isl_keep isl_set *set,
unsigned dim, isl_int *val); unsigned dim, isl_int *val);
int isl_set_dim_is_bounded(__isl_keep isl_set *set, int isl_set_dim_is_bounded(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned pos); enum isl_dim_type type, unsigned pos);
int isl_set_dim_has_lower_bound(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned pos);
int isl_set_dim_has_upper_bound(__isl_keep isl_set *set,
enum isl_dim_type type, unsigned pos);
__isl_export
__isl_give isl_basic_set *isl_basic_set_gist(__isl_take isl_basic_set *bset , __isl_give isl_basic_set *isl_basic_set_gist(__isl_take isl_basic_set *bset ,
__isl_take isl_basic_set *contex t); __isl_take isl_basic_set *contex t);
__isl_give isl_set *isl_set_gist_basic_set(__isl_take isl_set *set, __isl_give isl_set *isl_set_gist_basic_set(__isl_take isl_set *set,
__isl_take isl_basic_set *context); __isl_take isl_basic_set *context);
__isl_export
__isl_give isl_set *isl_set_gist(__isl_take isl_set *set, __isl_give isl_set *isl_set_gist(__isl_take isl_set *set,
__isl_take isl_set *context); __isl_take isl_set *context);
__isl_give isl_set *isl_set_gist_params(__isl_take isl_set *set,
__isl_take isl_set *context);
int isl_basic_set_dim_residue_class(struct isl_basic_set *bset, int isl_basic_set_dim_residue_class(struct isl_basic_set *bset,
int pos, isl_int *modulo, isl_int *residue); int pos, isl_int *modulo, isl_int *residue);
int isl_set_dim_residue_class(struct isl_set *set, int isl_set_dim_residue_class(struct isl_set *set,
int pos, isl_int *modulo, isl_int *residue); int pos, isl_int *modulo, isl_int *residue);
__isl_export
__isl_give isl_set *isl_set_coalesce(__isl_take isl_set *set); __isl_give isl_set *isl_set_coalesce(__isl_take isl_set *set);
int isl_set_plain_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *se t2); int isl_set_plain_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *se t2);
int isl_set_fast_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set 2); int isl_set_fast_is_equal(__isl_keep isl_set *set1, __isl_keep isl_set *set 2);
int isl_set_plain_is_disjoint(__isl_keep isl_set *set1, int isl_set_plain_is_disjoint(__isl_keep isl_set *set1,
__isl_keep isl_set *set2); __isl_keep isl_set *set2);
int isl_set_fast_is_disjoint(__isl_keep isl_set *set1, int isl_set_fast_is_disjoint(__isl_keep isl_set *set1,
__isl_keep isl_set *set2); __isl_keep isl_set *set2);
uint32_t isl_set_get_hash(struct isl_set *set); uint32_t isl_set_get_hash(struct isl_set *set);
int isl_set_dim_is_unique(struct isl_set *set, unsigned dim); int isl_set_dim_is_unique(struct isl_set *set, unsigned dim);
int isl_set_n_basic_set(__isl_keep isl_set *set); int isl_set_n_basic_set(__isl_keep isl_set *set);
__isl_export
int isl_set_foreach_basic_set(__isl_keep isl_set *set, int isl_set_foreach_basic_set(__isl_keep isl_set *set,
int (*fn)(__isl_take isl_basic_set *bset, void *user), void *user); int (*fn)(__isl_take isl_basic_set *bset, void *user), void *user);
int isl_set_foreach_point(__isl_keep isl_set *set, int isl_set_foreach_point(__isl_keep isl_set *set,
int (*fn)(__isl_take isl_point *pnt, void *user), void *user); int (*fn)(__isl_take isl_point *pnt, void *user), void *user);
int isl_set_count(__isl_keep isl_set *set, isl_int *count); int isl_set_count(__isl_keep isl_set *set, isl_int *count);
int isl_basic_set_count_upto(__isl_keep isl_basic_set *bset, int isl_basic_set_count_upto(__isl_keep isl_basic_set *bset,
isl_int max, isl_int *count); isl_int max, isl_int *count);
int isl_set_count_upto(__isl_keep isl_set *set, isl_int max, isl_int *count ); int isl_set_count_upto(__isl_keep isl_set *set, isl_int max, isl_int *count );
skipping to change at line 373 skipping to change at line 444
__isl_give isl_map *isl_set_lex_lt_set(__isl_take isl_set *set1, __isl_give isl_map *isl_set_lex_lt_set(__isl_take isl_set *set1,
__isl_take isl_set *set2); __isl_take isl_set *set2);
__isl_give isl_map *isl_set_lex_ge_set(__isl_take isl_set *set1, __isl_give isl_map *isl_set_lex_ge_set(__isl_take isl_set *set1,
__isl_take isl_set *set2); __isl_take isl_set *set2);
__isl_give isl_map *isl_set_lex_gt_set(__isl_take isl_set *set1, __isl_give isl_map *isl_set_lex_gt_set(__isl_take isl_set *set1,
__isl_take isl_set *set2); __isl_take isl_set *set2);
int isl_set_size(__isl_keep isl_set *set); int isl_set_size(__isl_keep isl_set *set);
__isl_give isl_set *isl_set_align_params(__isl_take isl_set *set, __isl_give isl_set *isl_set_align_params(__isl_take isl_set *set,
__isl_take isl_dim *model); __isl_take isl_space *model);
__isl_give isl_mat *isl_basic_set_equalities_matrix( __isl_give isl_mat *isl_basic_set_equalities_matrix(
__isl_keep isl_basic_set *bset, enum isl_dim_type c1, __isl_keep isl_basic_set *bset, enum isl_dim_type c1,
enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4); enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
__isl_give isl_mat *isl_basic_set_inequalities_matrix( __isl_give isl_mat *isl_basic_set_inequalities_matrix(
__isl_keep isl_basic_set *bset, enum isl_dim_type c1, __isl_keep isl_basic_set *bset, enum isl_dim_type c1,
enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4); enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
__isl_give isl_basic_set *isl_basic_set_from_constraint_matrices( __isl_give isl_basic_set *isl_basic_set_from_constraint_matrices(
__isl_take isl_dim *dim, __isl_take isl_space *dim,
__isl_take isl_mat *eq, __isl_take isl_mat *ineq, enum isl_dim_type c1, __isl_take isl_mat *eq, __isl_take isl_mat *ineq, enum isl_dim_type c1,
enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4); enum isl_dim_type c2, enum isl_dim_type c3, enum isl_dim_type c4);
__isl_give isl_mat *isl_basic_set_reduced_basis(__isl_keep isl_basic_set *b set); __isl_give isl_mat *isl_basic_set_reduced_basis(__isl_keep isl_basic_set *b set);
__isl_give isl_basic_set *isl_basic_set_coefficients( __isl_give isl_basic_set *isl_basic_set_coefficients(
__isl_take isl_basic_set *bset); __isl_take isl_basic_set *bset);
__isl_give isl_basic_set *isl_set_coefficients(__isl_take isl_set *set); __isl_give isl_basic_set *isl_set_coefficients(__isl_take isl_set *set);
__isl_give isl_basic_set *isl_basic_set_solutions( __isl_give isl_basic_set *isl_basic_set_solutions(
__isl_take isl_basic_set *bset); __isl_take isl_basic_set *bset);
__isl_give isl_basic_set *isl_set_solutions(__isl_take isl_set *set); __isl_give isl_basic_set *isl_set_solutions(__isl_take isl_set *set);
__isl_give isl_pw_aff *isl_set_dim_max(__isl_take isl_set *set, int pos); __isl_give isl_pw_aff *isl_set_dim_max(__isl_take isl_set *set, int pos);
__isl_give isl_pw_aff *isl_set_dim_min(__isl_take isl_set *set, int pos);
__isl_give char *isl_set_to_str(__isl_keep isl_set *set);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#include <isl/dim.h>
#endif #endif
 End of changes. 54 change blocks. 
34 lines changed or deleted 114 lines changed or added


 stdint.h   stdint.h 
#ifndef _ISL_INCLUDE_ISL_STDINT_H #ifndef _ISL_INCLUDE_ISL_STDINT_H
#define _ISL_INCLUDE_ISL_STDINT_H 1 #define _ISL_INCLUDE_ISL_STDINT_H 1
#ifndef _GENERATED_STDINT_H #ifndef _GENERATED_STDINT_H
#define _GENERATED_STDINT_H "isl 0.07" #define _GENERATED_STDINT_H "isl 0.08"
/* generated using gnu compiler gcc (SUSE Linux) 4.5.1 20101208 [gcc-4_5-br /* generated using gnu compiler gcc (GCC) 4.6.1 20110627 (Mandriva) */
anch revision 167585] */
#define _STDINT_HAVE_STDINT_H 1 #define _STDINT_HAVE_STDINT_H 1
#include <stdint.h> #include <stdint.h>
#endif #endif
#endif #endif
 End of changes. 1 change blocks. 
3 lines changed or deleted 2 lines changed or added


 stream.h   stream.h 
skipping to change at line 15 skipping to change at line 15
* *
* Written by Sven Verdoolaege, K.U.Leuven, Departement * Written by Sven Verdoolaege, K.U.Leuven, Departement
* Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
*/ */
#ifndef ISL_STREAM_H #ifndef ISL_STREAM_H
#define ISL_STREAM_H #define ISL_STREAM_H
#include <stdio.h> #include <stdio.h>
#include <isl/hash.h> #include <isl/hash.h>
#include <isl/aff_type.h>
#include <isl/obj.h> #include <isl/obj.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
enum isl_token_type { ISL_TOKEN_ERROR = -1, enum isl_token_type { ISL_TOKEN_ERROR = -1,
ISL_TOKEN_UNKNOWN = 256, ISL_TOKEN_VALUE, ISL_TOKEN_UNKNOWN = 256, ISL_TOKEN_VALUE,
ISL_TOKEN_IDENT, ISL_TOKEN_GE, ISL_TOKEN_IDENT, ISL_TOKEN_GE,
ISL_TOKEN_LE, ISL_TOKEN_GT, ISL_TOKEN_LT, ISL_TOKEN_LE, ISL_TOKEN_GT, ISL_TOKEN_LT,
ISL_TOKEN_NE, ISL_TOKEN_EQ_EQ,
ISL_TOKEN_LEX_GE, ISL_TOKEN_LEX_LE, ISL_TOKEN_LEX_GE, ISL_TOKEN_LEX_LE,
ISL_TOKEN_LEX_GT, ISL_TOKEN_LEX_LT, ISL_TOKEN_LEX_GT, ISL_TOKEN_LEX_LT,
ISL_TOKEN_TO, ISL_TOKEN_AND, ISL_TOKEN_TO, ISL_TOKEN_AND,
ISL_TOKEN_OR, ISL_TOKEN_EXISTS, ISL_TOKEN_NOT, ISL_TOKEN_OR, ISL_TOKEN_EXISTS, ISL_TOKEN_NOT,
ISL_TOKEN_DEF, ISL_TOKEN_INFTY, ISL_TOKEN_NAN, ISL_TOKEN_DEF, ISL_TOKEN_INFTY, ISL_TOKEN_NAN,
ISL_TOKEN_MIN, ISL_TOKEN_MAX, ISL_TOKEN_RAT, ISL_TOKEN_MIN, ISL_TOKEN_MAX, ISL_TOKEN_RAT,
ISL_TOKEN_TRUE, ISL_TOKEN_FALSE, ISL_TOKEN_TRUE, ISL_TOKEN_FALSE,
ISL_TOKEN_CEILD, ISL_TOKEN_FLOORD, ISL_TOKEN_CEILD, ISL_TOKEN_FLOORD, ISL_TOKEN_MOD,
ISL_TOKEN_STRING, ISL_TOKEN_STRING,
ISL_TOKEN_MAP, ISL_TOKEN_AFF,
ISL_TOKEN_LAST }; ISL_TOKEN_LAST };
struct isl_token { struct isl_token {
enum isl_token_type type; enum isl_token_type type;
unsigned int on_new_line : 1; unsigned int on_new_line : 1;
unsigned is_keyword : 1; unsigned is_keyword : 1;
int line; int line;
int col; int col;
union { union {
isl_int v; isl_int v;
char *s; char *s;
isl_map *map;
isl_pw_aff *pwaff;
} u; } u;
}; };
void isl_token_free(struct isl_token *tok); void isl_token_free(struct isl_token *tok);
struct isl_stream { struct isl_stream {
struct isl_ctx *ctx; struct isl_ctx *ctx;
FILE *file; FILE *file;
const char *str; const char *str;
int line; int line;
skipping to change at line 95 skipping to change at line 100
int isl_stream_eat_if_available(struct isl_stream *s, int type); int isl_stream_eat_if_available(struct isl_stream *s, int type);
char *isl_stream_read_ident_if_available(struct isl_stream *s); char *isl_stream_read_ident_if_available(struct isl_stream *s);
int isl_stream_eat(struct isl_stream *s, int type); int isl_stream_eat(struct isl_stream *s, int type);
int isl_stream_is_empty(struct isl_stream *s); int isl_stream_is_empty(struct isl_stream *s);
int isl_stream_skip_line(struct isl_stream *s); int isl_stream_skip_line(struct isl_stream *s);
enum isl_token_type isl_stream_register_keyword(struct isl_stream *s, enum isl_token_type isl_stream_register_keyword(struct isl_stream *s,
const char *name); const char *name);
struct isl_obj isl_stream_read_obj(struct isl_stream *s); struct isl_obj isl_stream_read_obj(struct isl_stream *s);
__isl_give isl_map *isl_stream_read_map(struct isl_stream *s, int nparam); __isl_give isl_map *isl_stream_read_map(struct isl_stream *s);
__isl_give isl_set *isl_stream_read_set(struct isl_stream *s, int nparam); __isl_give isl_set *isl_stream_read_set(struct isl_stream *s);
__isl_give isl_pw_qpolynomial *isl_stream_read_pw_qpolynomial( __isl_give isl_pw_qpolynomial *isl_stream_read_pw_qpolynomial(
struct isl_stream *s); struct isl_stream *s);
__isl_give isl_union_map *isl_stream_read_union_map(struct isl_stream *s); __isl_give isl_union_map *isl_stream_read_union_map(struct isl_stream *s);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif #endif
 End of changes. 6 change blocks. 
3 lines changed or deleted 8 lines changed or added


 union_domain.h   union_domain.h 
#ifndef CLOOG_UNION_DOMAIN_H #ifndef CLOOG_UNION_DOMAIN_H
#define CLOOG_UNION_DOMAIN_H #define CLOOG_UNION_DOMAIN_H
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
struct osl_scop;
/** /**
* CloogNamedDomainList structure: * CloogNamedDomainList structure:
* this structure reprensents a node of a linked list of CloogDomain struct ures. * this structure reprensents a node of a linked list of CloogDomain struct ures.
*/ */
struct cloognameddomainlist { struct cloognameddomainlist {
CloogDomain *domain; /**< An element of the list. */ CloogDomain *domain; /**< An element of the list. */
CloogScattering *scattering; /**< Scattering function for domain. */ CloogScattering *scattering; /**< Scattering function for domain. */
char *name; /**< Name of the domain. */ char *name; /**< Name of the domain. */
void *usr; /**< A pointer for library user's conve nience. */ void *usr; /**< A pointer for library user's conve nience. */
struct cloognameddomainlist *next;/**< Pointer to the next element of the list.*/ struct cloognameddomainlist *next;/**< Pointer to the next element of the list.*/
skipping to change at line 43 skipping to change at line 45
CloogUnionDomain *cloog_union_domain_read(FILE *file, int nb_par, CloogUnionDomain *cloog_union_domain_read(FILE *file, int nb_par,
CloogOptions *options); CloogOptions *options);
CloogUnionDomain *cloog_union_domain_alloc(int nb_par); CloogUnionDomain *cloog_union_domain_alloc(int nb_par);
CloogUnionDomain *cloog_union_domain_add_domain(CloogUnionDomain *ud, CloogUnionDomain *cloog_union_domain_add_domain(CloogUnionDomain *ud,
const char *name, CloogDomain *domain, CloogScattering *scattering, const char *name, CloogDomain *domain, CloogScattering *scattering,
void *usr); void *usr);
CloogUnionDomain *cloog_union_domain_set_name(CloogUnionDomain *ud, CloogUnionDomain *cloog_union_domain_set_name(CloogUnionDomain *ud,
enum cloog_dim_type type, int index, const char *name); enum cloog_dim_type type, int index, const char *name);
void cloog_union_domain_free(CloogUnionDomain *ud); void cloog_union_domain_free(CloogUnionDomain *ud);
CloogUnionDomain *cloog_union_domain_from_osl_scop(CloogState *,
struct osl_scop *);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added


 union_map.h   union_map.h 
#ifndef ISL_UNION_MAP_H #ifndef ISL_UNION_MAP_H
#define ISL_UNION_MAP_H #define ISL_UNION_MAP_H
#include <isl/dim.h> #include <isl/space.h>
#include <isl/map_type.h> #include <isl/map_type.h>
#include <isl/printer.h> #include <isl/printer.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
__isl_export
struct isl_union_map; struct isl_union_map;
typedef struct isl_union_map isl_union_map; typedef struct isl_union_map isl_union_map;
#ifndef isl_union_set #ifndef isl_union_set
__isl_export
struct isl_union_set; struct isl_union_set;
typedef struct isl_union_set isl_union_set; typedef struct isl_union_set isl_union_set;
#endif #endif
__isl_constructor
__isl_give isl_union_map *isl_union_map_from_map(__isl_take isl_map *map); __isl_give isl_union_map *isl_union_map_from_map(__isl_take isl_map *map);
__isl_give isl_union_map *isl_union_map_empty(__isl_take isl_dim *dim); __isl_give isl_union_map *isl_union_map_empty(__isl_take isl_space *dim);
__isl_give isl_union_map *isl_union_map_copy(__isl_keep isl_union_map *umap ); __isl_give isl_union_map *isl_union_map_copy(__isl_keep isl_union_map *umap );
void *isl_union_map_free(__isl_take isl_union_map *umap); void *isl_union_map_free(__isl_take isl_union_map *umap);
isl_ctx *isl_union_map_get_ctx(__isl_keep isl_union_map *umap); isl_ctx *isl_union_map_get_ctx(__isl_keep isl_union_map *umap);
__isl_give isl_dim *isl_union_map_get_dim(__isl_keep isl_union_map *umap); __isl_give isl_space *isl_union_map_get_space(__isl_keep isl_union_map *uma p);
__isl_give isl_union_map *isl_union_map_universe( __isl_give isl_union_map *isl_union_map_universe(
__isl_take isl_union_map *umap); __isl_take isl_union_map *umap);
__isl_give isl_set *isl_union_map_params(__isl_take isl_union_map *umap);
__isl_give isl_union_set *isl_union_map_domain(__isl_take isl_union_map *um ap); __isl_give isl_union_set *isl_union_map_domain(__isl_take isl_union_map *um ap);
__isl_give isl_union_set *isl_union_map_range(__isl_take isl_union_map *uma p); __isl_give isl_union_set *isl_union_map_range(__isl_take isl_union_map *uma p);
__isl_give isl_union_map *isl_union_map_domain_map( __isl_give isl_union_map *isl_union_map_domain_map(
__isl_take isl_union_map *umap); __isl_take isl_union_map *umap);
__isl_give isl_union_map *isl_union_map_range_map( __isl_give isl_union_map *isl_union_map_range_map(
__isl_take isl_union_map *umap); __isl_take isl_union_map *umap);
__isl_give isl_union_map *isl_union_map_from_domain( __isl_give isl_union_map *isl_union_map_from_domain(
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_give isl_union_map *isl_union_map_from_range( __isl_give isl_union_map *isl_union_map_from_range(
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_export
__isl_give isl_union_map *isl_union_map_affine_hull( __isl_give isl_union_map *isl_union_map_affine_hull(
__isl_take isl_union_map *umap); __isl_take isl_union_map *umap);
__isl_export
__isl_give isl_union_map *isl_union_map_polyhedral_hull( __isl_give isl_union_map *isl_union_map_polyhedral_hull(
__isl_take isl_union_map *umap); __isl_take isl_union_map *umap);
__isl_give isl_union_map *isl_union_map_simple_hull( __isl_give isl_union_map *isl_union_map_simple_hull(
__isl_take isl_union_map *umap); __isl_take isl_union_map *umap);
__isl_export
__isl_give isl_union_map *isl_union_map_coalesce( __isl_give isl_union_map *isl_union_map_coalesce(
__isl_take isl_union_map *umap); __isl_take isl_union_map *umap);
__isl_give isl_union_map *isl_union_map_compute_divs( __isl_give isl_union_map *isl_union_map_compute_divs(
__isl_take isl_union_map *umap); __isl_take isl_union_map *umap);
__isl_export
__isl_give isl_union_map *isl_union_map_lexmin(__isl_take isl_union_map *um ap); __isl_give isl_union_map *isl_union_map_lexmin(__isl_take isl_union_map *um ap);
__isl_export
__isl_give isl_union_map *isl_union_map_lexmax(__isl_take isl_union_map *um ap); __isl_give isl_union_map *isl_union_map_lexmax(__isl_take isl_union_map *um ap);
__isl_give isl_union_map *isl_union_map_add_map(__isl_take isl_union_map *u map, __isl_give isl_union_map *isl_union_map_add_map(__isl_take isl_union_map *u map,
__isl_take isl_map *map); __isl_take isl_map *map);
__isl_export
__isl_give isl_union_map *isl_union_map_union(__isl_take isl_union_map *uma p1, __isl_give isl_union_map *isl_union_map_union(__isl_take isl_union_map *uma p1,
__isl_take isl_union_map *umap2); __isl_take isl_union_map *umap2);
__isl_export
__isl_give isl_union_map *isl_union_map_subtract( __isl_give isl_union_map *isl_union_map_subtract(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_export
__isl_give isl_union_map *isl_union_map_intersect( __isl_give isl_union_map *isl_union_map_intersect(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_export
__isl_give isl_union_map *isl_union_map_intersect_params(
__isl_take isl_union_map *umap, __isl_take isl_set *set);
__isl_give isl_union_map *isl_union_map_product(__isl_take isl_union_map *u map1, __isl_give isl_union_map *isl_union_map_product(__isl_take isl_union_map *u map1,
__isl_take isl_union_map *umap2); __isl_take isl_union_map *umap2);
__isl_give isl_union_map *isl_union_map_range_product( __isl_give isl_union_map *isl_union_map_range_product(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_give isl_union_map *isl_union_map_flat_range_product( __isl_give isl_union_map *isl_union_map_flat_range_product(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_export
__isl_give isl_union_map *isl_union_map_gist(__isl_take isl_union_map *umap , __isl_give isl_union_map *isl_union_map_gist(__isl_take isl_union_map *umap ,
__isl_take isl_union_map *context); __isl_take isl_union_map *context);
__isl_export
__isl_give isl_union_map *isl_union_map_gist_params(
__isl_take isl_union_map *umap, __isl_take isl_set *set);
__isl_export
__isl_give isl_union_map *isl_union_map_gist_domain(
__isl_take isl_union_map *umap, __isl_take isl_union_set *uset);
__isl_export
__isl_give isl_union_map *isl_union_map_intersect_domain( __isl_give isl_union_map *isl_union_map_intersect_domain(
__isl_take isl_union_map *umap, __isl_take isl_union_set *uset); __isl_take isl_union_map *umap, __isl_take isl_union_set *uset);
__isl_export
__isl_give isl_union_map *isl_union_map_intersect_range( __isl_give isl_union_map *isl_union_map_intersect_range(
__isl_take isl_union_map *umap, __isl_take isl_union_set *uset); __isl_take isl_union_map *umap, __isl_take isl_union_set *uset);
__isl_export
__isl_give isl_union_map *isl_union_map_apply_domain( __isl_give isl_union_map *isl_union_map_apply_domain(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_export
__isl_give isl_union_map *isl_union_map_apply_range( __isl_give isl_union_map *isl_union_map_apply_range(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_export
__isl_give isl_union_map *isl_union_map_reverse(__isl_take isl_union_map *u map); __isl_give isl_union_map *isl_union_map_reverse(__isl_take isl_union_map *u map);
__isl_give isl_union_map *isl_union_map_from_domain_and_range( __isl_give isl_union_map *isl_union_map_from_domain_and_range(
__isl_take isl_union_set *domain, __isl_take isl_union_set *range); __isl_take isl_union_set *domain, __isl_take isl_union_set *range);
__isl_export
__isl_give isl_union_map *isl_union_map_detect_equalities( __isl_give isl_union_map *isl_union_map_detect_equalities(
__isl_keep isl_union_map *umap); __isl_keep isl_union_map *umap);
__isl_export
__isl_give isl_union_set *isl_union_map_deltas(__isl_take isl_union_map *um ap); __isl_give isl_union_set *isl_union_map_deltas(__isl_take isl_union_map *um ap);
__isl_give isl_union_map *isl_union_map_deltas_map( __isl_give isl_union_map *isl_union_map_deltas_map(
__isl_take isl_union_map *umap); __isl_take isl_union_map *umap);
__isl_export
__isl_give isl_union_map *isl_union_set_identity(__isl_take isl_union_set * uset); __isl_give isl_union_map *isl_union_set_identity(__isl_take isl_union_set * uset);
__isl_export
int isl_union_map_is_empty(__isl_keep isl_union_map *umap); int isl_union_map_is_empty(__isl_keep isl_union_map *umap);
__isl_export
int isl_union_map_is_single_valued(__isl_keep isl_union_map *umap); int isl_union_map_is_single_valued(__isl_keep isl_union_map *umap);
int isl_union_map_plain_is_injective(__isl_keep isl_union_map *umap); int isl_union_map_plain_is_injective(__isl_keep isl_union_map *umap);
__isl_export
int isl_union_map_is_injective(__isl_keep isl_union_map *umap); int isl_union_map_is_injective(__isl_keep isl_union_map *umap);
__isl_export
int isl_union_map_is_bijective(__isl_keep isl_union_map *umap); int isl_union_map_is_bijective(__isl_keep isl_union_map *umap);
__isl_export
int isl_union_map_is_subset(__isl_keep isl_union_map *umap1, int isl_union_map_is_subset(__isl_keep isl_union_map *umap1,
__isl_keep isl_union_map *umap2); __isl_keep isl_union_map *umap2);
__isl_export
int isl_union_map_is_equal(__isl_keep isl_union_map *umap1, int isl_union_map_is_equal(__isl_keep isl_union_map *umap1,
__isl_keep isl_union_map *umap2); __isl_keep isl_union_map *umap2);
__isl_export
int isl_union_map_is_strict_subset(__isl_keep isl_union_map *umap1, int isl_union_map_is_strict_subset(__isl_keep isl_union_map *umap1,
__isl_keep isl_union_map *umap2); __isl_keep isl_union_map *umap2);
int isl_union_map_n_map(__isl_keep isl_union_map *umap); int isl_union_map_n_map(__isl_keep isl_union_map *umap);
__isl_export
int isl_union_map_foreach_map(__isl_keep isl_union_map *umap, int isl_union_map_foreach_map(__isl_keep isl_union_map *umap,
int (*fn)(__isl_take isl_map *map, void *user), void *user); int (*fn)(__isl_take isl_map *map, void *user), void *user);
__isl_give int isl_union_map_contains(__isl_keep isl_union_map *umap, __isl_give int isl_union_map_contains(__isl_keep isl_union_map *umap,
__isl_keep isl_dim *dim); __isl_keep isl_space *dim);
__isl_give isl_map *isl_union_map_extract_map(__isl_keep isl_union_map *uma p, __isl_give isl_map *isl_union_map_extract_map(__isl_keep isl_union_map *uma p,
__isl_take isl_dim *dim); __isl_take isl_space *dim);
__isl_give isl_map *isl_map_from_union_map(__isl_take isl_union_map *umap); __isl_give isl_map *isl_map_from_union_map(__isl_take isl_union_map *umap);
__isl_give isl_basic_map *isl_union_map_sample(__isl_take isl_union_map *um ap); __isl_give isl_basic_map *isl_union_map_sample(__isl_take isl_union_map *um ap);
__isl_give isl_union_map *isl_union_map_power(__isl_take isl_union_map *uma p, __isl_give isl_union_map *isl_union_map_power(__isl_take isl_union_map *uma p,
int *exact); int *exact);
__isl_give isl_union_map *isl_union_map_transitive_closure( __isl_give isl_union_map *isl_union_map_transitive_closure(
__isl_take isl_union_map *umap, int *exact); __isl_take isl_union_map *umap, int *exact);
__isl_give isl_union_map *isl_union_map_lex_lt_union_map( __isl_give isl_union_map *isl_union_map_lex_lt_union_map(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_give isl_union_map *isl_union_map_lex_le_union_map( __isl_give isl_union_map *isl_union_map_lex_le_union_map(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_give isl_union_map *isl_union_map_lex_gt_union_map( __isl_give isl_union_map *isl_union_map_lex_gt_union_map(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_give isl_union_map *isl_union_map_lex_ge_union_map( __isl_give isl_union_map *isl_union_map_lex_ge_union_map(
__isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2); __isl_take isl_union_map *umap1, __isl_take isl_union_map *umap2);
__isl_give isl_union_map *isl_union_map_read_from_file(isl_ctx *ctx, __isl_give isl_union_map *isl_union_map_read_from_file(isl_ctx *ctx,
FILE *input); FILE *input);
__isl_give isl_union_map *isl_union_map_read_from_str(struct isl_ctx *ctx, __isl_constructor
__isl_give isl_union_map *isl_union_map_read_from_str(isl_ctx *ctx,
const char *str); const char *str);
__isl_give isl_printer *isl_printer_print_union_map(__isl_take isl_printer *p, __isl_give isl_printer *isl_printer_print_union_map(__isl_take isl_printer *p,
__isl_keep isl_union_map *umap); __isl_keep isl_union_map *umap);
void isl_union_map_dump(__isl_keep isl_union_map *umap); void isl_union_map_dump(__isl_keep isl_union_map *umap);
__isl_give isl_union_set *isl_union_map_wrap(__isl_take isl_union_map *umap ); __isl_give isl_union_set *isl_union_map_wrap(__isl_take isl_union_map *umap );
__isl_give isl_union_map *isl_union_set_unwrap(__isl_take isl_union_set *us et); __isl_give isl_union_map *isl_union_set_unwrap(__isl_take isl_union_set *us et);
__isl_give isl_union_map *isl_union_map_zip(__isl_take isl_union_map *umap) ; __isl_give isl_union_map *isl_union_map_zip(__isl_take isl_union_map *umap) ;
__isl_give isl_union_map *isl_union_map_align_params( __isl_give isl_union_map *isl_union_map_align_params(
__isl_take isl_union_map *umap, __isl_take isl_dim *model); __isl_take isl_union_map *umap, __isl_take isl_space *model);
__isl_give isl_union_set *isl_union_set_align_params( __isl_give isl_union_set *isl_union_set_align_params(
__isl_take isl_union_set *uset, __isl_take isl_dim *model); __isl_take isl_union_set *uset, __isl_take isl_space *model);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#include <isl/dim.h>
#endif #endif
 End of changes. 40 change blocks. 
8 lines changed or deleted 49 lines changed or added


 union_set.h   union_set.h 
#ifndef ISL_UNION_SET_H #ifndef ISL_UNION_SET_H
#define ISL_UNION_SET_H #define ISL_UNION_SET_H
#include <isl/point.h> #include <isl/point.h>
#include <isl/union_map.h> #include <isl/union_map.h>
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" { extern "C" {
#endif #endif
__isl_constructor
__isl_give isl_union_set *isl_union_set_from_set(__isl_take isl_set *set); __isl_give isl_union_set *isl_union_set_from_set(__isl_take isl_set *set);
__isl_give isl_union_set *isl_union_set_empty(__isl_take isl_dim *dim); __isl_give isl_union_set *isl_union_set_empty(__isl_take isl_space *dim);
__isl_give isl_union_set *isl_union_set_copy(__isl_keep isl_union_set *uset ); __isl_give isl_union_set *isl_union_set_copy(__isl_keep isl_union_set *uset );
void *isl_union_set_free(__isl_take isl_union_set *uset); void *isl_union_set_free(__isl_take isl_union_set *uset);
isl_ctx *isl_union_set_get_ctx(__isl_keep isl_union_set *uset); isl_ctx *isl_union_set_get_ctx(__isl_keep isl_union_set *uset);
__isl_give isl_dim *isl_union_set_get_dim(__isl_keep isl_union_set *uset); __isl_give isl_space *isl_union_set_get_space(__isl_keep isl_union_set *use t);
__isl_give isl_union_set *isl_union_set_universe( __isl_give isl_union_set *isl_union_set_universe(
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_give isl_set *isl_union_set_params(__isl_take isl_union_set *uset);
__isl_export
__isl_give isl_union_set *isl_union_set_detect_equalities( __isl_give isl_union_set *isl_union_set_detect_equalities(
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_export
__isl_give isl_union_set *isl_union_set_affine_hull( __isl_give isl_union_set *isl_union_set_affine_hull(
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_export
__isl_give isl_union_set *isl_union_set_polyhedral_hull( __isl_give isl_union_set *isl_union_set_polyhedral_hull(
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_give isl_union_set *isl_union_set_simple_hull( __isl_give isl_union_set *isl_union_set_simple_hull(
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_export
__isl_give isl_union_set *isl_union_set_coalesce( __isl_give isl_union_set *isl_union_set_coalesce(
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_give isl_union_set *isl_union_set_compute_divs( __isl_give isl_union_set *isl_union_set_compute_divs(
__isl_take isl_union_set *uset); __isl_take isl_union_set *uset);
__isl_export
__isl_give isl_union_set *isl_union_set_lexmin(__isl_take isl_union_set *us et); __isl_give isl_union_set *isl_union_set_lexmin(__isl_take isl_union_set *us et);
__isl_export
__isl_give isl_union_set *isl_union_set_lexmax(__isl_take isl_union_set *us et); __isl_give isl_union_set *isl_union_set_lexmax(__isl_take isl_union_set *us et);
__isl_give isl_union_set *isl_union_set_add_set(__isl_take isl_union_set *u set, __isl_give isl_union_set *isl_union_set_add_set(__isl_take isl_union_set *u set,
__isl_take isl_set *set); __isl_take isl_set *set);
__isl_give isl_union_set *isl_union_set_union(__isl_take isl_union_set *use t1, __isl_give isl_union_set *isl_union_set_union(__isl_take isl_union_set *use t1,
__isl_take isl_union_set *uset2); __isl_take isl_union_set *uset2);
__isl_export
__isl_give isl_union_set *isl_union_set_subtract( __isl_give isl_union_set *isl_union_set_subtract(
__isl_take isl_union_set *uset1, __isl_take isl_union_set *uset2); __isl_take isl_union_set *uset1, __isl_take isl_union_set *uset2);
__isl_export
__isl_give isl_union_set *isl_union_set_intersect( __isl_give isl_union_set *isl_union_set_intersect(
__isl_take isl_union_set *uset1, __isl_take isl_union_set *uset2); __isl_take isl_union_set *uset1, __isl_take isl_union_set *uset2);
__isl_export
__isl_give isl_union_set *isl_union_set_intersect_params(
__isl_take isl_union_set *uset, __isl_take isl_set *set);
__isl_give isl_union_set *isl_union_set_product(__isl_take isl_union_set *u set1, __isl_give isl_union_set *isl_union_set_product(__isl_take isl_union_set *u set1,
__isl_take isl_union_set *uset2); __isl_take isl_union_set *uset2);
__isl_export
__isl_give isl_union_set *isl_union_set_gist(__isl_take isl_union_set *uset , __isl_give isl_union_set *isl_union_set_gist(__isl_take isl_union_set *uset ,
__isl_take isl_union_set *context); __isl_take isl_union_set *context);
__isl_export
__isl_give isl_union_set *isl_union_set_gist_params(
__isl_take isl_union_set *uset, __isl_take isl_set *set);
__isl_export
__isl_give isl_union_set *isl_union_set_apply( __isl_give isl_union_set *isl_union_set_apply(
__isl_take isl_union_set *uset, __isl_take isl_union_map *umap); __isl_take isl_union_set *uset, __isl_take isl_union_map *umap);
int isl_union_set_is_params(__isl_keep isl_union_set *uset);
__isl_export
int isl_union_set_is_empty(__isl_keep isl_union_set *uset); int isl_union_set_is_empty(__isl_keep isl_union_set *uset);
__isl_export
int isl_union_set_is_subset(__isl_keep isl_union_set *uset1, int isl_union_set_is_subset(__isl_keep isl_union_set *uset1,
__isl_keep isl_union_set *uset2); __isl_keep isl_union_set *uset2);
__isl_export
int isl_union_set_is_equal(__isl_keep isl_union_set *uset1, int isl_union_set_is_equal(__isl_keep isl_union_set *uset1,
__isl_keep isl_union_set *uset2); __isl_keep isl_union_set *uset2);
__isl_export
int isl_union_set_is_strict_subset(__isl_keep isl_union_set *uset1, int isl_union_set_is_strict_subset(__isl_keep isl_union_set *uset1,
__isl_keep isl_union_set *uset2); __isl_keep isl_union_set *uset2);
int isl_union_set_n_set(__isl_keep isl_union_set *uset); int isl_union_set_n_set(__isl_keep isl_union_set *uset);
__isl_export
int isl_union_set_foreach_set(__isl_keep isl_union_set *uset, int isl_union_set_foreach_set(__isl_keep isl_union_set *uset,
int (*fn)(__isl_take isl_set *set, void *user), void *user); int (*fn)(__isl_take isl_set *set, void *user), void *user);
__isl_give int isl_union_set_contains(__isl_keep isl_union_set *uset, __isl_give int isl_union_set_contains(__isl_keep isl_union_set *uset,
__isl_keep isl_dim *dim); __isl_keep isl_space *dim);
__isl_give isl_set *isl_union_set_extract_set(__isl_keep isl_union_set *use t, __isl_give isl_set *isl_union_set_extract_set(__isl_keep isl_union_set *use t,
__isl_take isl_dim *dim); __isl_take isl_space *dim);
__isl_give isl_set *isl_set_from_union_set(__isl_take isl_union_set *uset); __isl_give isl_set *isl_set_from_union_set(__isl_take isl_union_set *uset);
int isl_union_set_foreach_point(__isl_keep isl_union_set *uset, int isl_union_set_foreach_point(__isl_keep isl_union_set *uset,
int (*fn)(__isl_take isl_point *pnt, void *user), void *user); int (*fn)(__isl_take isl_point *pnt, void *user), void *user);
__isl_give isl_basic_set *isl_union_set_sample(__isl_take isl_union_set *us et); __isl_give isl_basic_set *isl_union_set_sample(__isl_take isl_union_set *us et);
__isl_give isl_union_set *isl_union_set_lift(__isl_take isl_union_set *uset ); __isl_give isl_union_set *isl_union_set_lift(__isl_take isl_union_set *uset );
__isl_give isl_union_map *isl_union_set_lex_lt_union_set( __isl_give isl_union_map *isl_union_set_lex_lt_union_set(
__isl_take isl_union_set *uset1, __isl_take isl_union_set *uset2); __isl_take isl_union_set *uset1, __isl_take isl_union_set *uset2);
skipping to change at line 93 skipping to change at line 117
__isl_give isl_union_map *isl_union_set_lex_ge_union_set( __isl_give isl_union_map *isl_union_set_lex_ge_union_set(
__isl_take isl_union_set *uset1, __isl_take isl_union_set *uset2); __isl_take isl_union_set *uset1, __isl_take isl_union_set *uset2);
__isl_give isl_union_set *isl_union_set_coefficients( __isl_give isl_union_set *isl_union_set_coefficients(
__isl_take isl_union_set *bset); __isl_take isl_union_set *bset);
__isl_give isl_union_set *isl_union_set_solutions( __isl_give isl_union_set *isl_union_set_solutions(
__isl_take isl_union_set *bset); __isl_take isl_union_set *bset);
__isl_give isl_union_set *isl_union_set_read_from_file(isl_ctx *ctx, __isl_give isl_union_set *isl_union_set_read_from_file(isl_ctx *ctx,
FILE *input); FILE *input);
__isl_give isl_union_set *isl_union_set_read_from_str(struct isl_ctx *ctx, __isl_constructor
__isl_give isl_union_set *isl_union_set_read_from_str(isl_ctx *ctx,
const char *str); const char *str);
__isl_give isl_printer *isl_printer_print_union_set(__isl_take isl_printer *p, __isl_give isl_printer *isl_printer_print_union_set(__isl_take isl_printer *p,
__isl_keep isl_union_set *uset); __isl_keep isl_union_set *uset);
void isl_union_set_dump(__isl_keep isl_union_set *uset); void isl_union_set_dump(__isl_keep isl_union_set *uset);
#if defined(__cplusplus) #if defined(__cplusplus)
} }
#endif #endif
#include <isl/dim.h>
#endif #endif
 End of changes. 25 change blocks. 
5 lines changed or deleted 32 lines changed or added


 vec.h   vec.h 
skipping to change at line 53 skipping to change at line 53
int isl_vec_is_equal(__isl_keep isl_vec *vec1, __isl_keep isl_vec *vec2); int isl_vec_is_equal(__isl_keep isl_vec *vec1, __isl_keep isl_vec *vec2);
void isl_vec_dump(__isl_keep isl_vec *vec); void isl_vec_dump(__isl_keep isl_vec *vec);
__isl_give isl_printer *isl_printer_print_vec(__isl_take isl_printer *print er, __isl_give isl_printer *isl_printer_print_vec(__isl_take isl_printer *print er,
__isl_keep isl_vec *vec); __isl_keep isl_vec *vec);
void isl_vec_lcm(struct isl_vec *vec, isl_int *lcm); void isl_vec_lcm(struct isl_vec *vec, isl_int *lcm);
struct isl_vec *isl_vec_ceil(struct isl_vec *vec); struct isl_vec *isl_vec_ceil(struct isl_vec *vec);
struct isl_vec *isl_vec_normalize(struct isl_vec *vec); struct isl_vec *isl_vec_normalize(struct isl_vec *vec);
__isl_give isl_vec *isl_vec_clr(__isl_take isl_vec *vec); __isl_give isl_vec *isl_vec_clr(__isl_take isl_vec *vec);
__isl_give isl_vec *isl_vec_neg(__isl_take isl_vec *vec);
__isl_give isl_vec *isl_vec_scale(__isl_take isl_vec *vec, isl_int m); __isl_give isl_vec *isl_vec_scale(__isl_take isl_vec *vec, isl_int m);
__isl_give isl_vec *isl_vec_add(__isl_take isl_vec *vec1, __isl_give isl_vec *isl_vec_add(__isl_take isl_vec *vec1,
__isl_take isl_vec *vec2); __isl_take isl_vec *vec2);
__isl_give isl_vec *isl_vec_extend(__isl_take isl_vec *vec, unsigned size); __isl_give isl_vec *isl_vec_extend(__isl_take isl_vec *vec, unsigned size);
__isl_give isl_vec *isl_vec_zero_extend(__isl_take isl_vec *vec, unsigned s ize); __isl_give isl_vec *isl_vec_zero_extend(__isl_take isl_vec *vec, unsigned s ize);
__isl_give isl_vec *isl_vec_sort(__isl_take isl_vec *vec); __isl_give isl_vec *isl_vec_sort(__isl_take isl_vec *vec);
__isl_give isl_vec *isl_vec_read_from_file(isl_ctx *ctx, FILE *input); __isl_give isl_vec *isl_vec_read_from_file(isl_ctx *ctx, FILE *input);
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added


 version.h   version.h 
skipping to change at line 35 skipping to change at line 35
************************************************************************** ****/ ************************************************************************** ****/
#ifndef CLOOG_VERSION_H #ifndef CLOOG_VERSION_H
#define CLOOG_VERSION_H #define CLOOG_VERSION_H
#if defined(__cplusplus) #if defined(__cplusplus)
extern "C" extern "C"
{ {
#endif #endif
#define CLOOG_VERSION_MAJOR 0 #define CLOOG_VERSION_MAJOR 0
#define CLOOG_VERSION_MINOR 16 #define CLOOG_VERSION_MINOR 17
#define CLOOG_VERSION_REVISION 3 #define CLOOG_VERSION_REVISION 0
const char *cloog_version(void); const char *cloog_version(void);
int cloog_version_major(void); int cloog_version_major(void);
int cloog_version_minor(void); int cloog_version_minor(void);
int cloog_version_revision(void); int cloog_version_revision(void);
#if defined(__cplusplus) #if defined(__cplusplus)
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/