blob: 6f3e93de643378cddae65da365219e78685b5fa9 [file] [log] [blame]
#ifndef ISL_LOCAL_SPACE_PRIVATE_H
#define ISL_LOCAL_SPACE_PRIVATE_H
#include <isl/div.h>
#include <isl/mat.h>
#include <isl/set.h>
#include <isl/local_space.h>
struct isl_local_space {
int ref;
isl_dim *dim;
isl_mat *div;
};
__isl_give isl_local_space *isl_local_space_alloc(__isl_take isl_dim *dim,
unsigned n_div);
__isl_give isl_local_space *isl_local_space_add_div(
__isl_take isl_local_space *ls, __isl_take isl_vec *div);
__isl_give isl_mat *isl_merge_divs(__isl_keep isl_mat *div1,
__isl_keep isl_mat *div2, int *exp1, int *exp2);
unsigned isl_local_space_offset(__isl_keep isl_local_space *ls,
enum isl_dim_type type);
__isl_give isl_local_space *isl_local_space_replace_divs(
__isl_take isl_local_space *ls, __isl_take isl_mat *div);
int isl_local_space_divs_known(__isl_keep isl_local_space *ls);
__isl_give isl_local_space *isl_local_space_substitute_equalities(
__isl_take isl_local_space *ls, __isl_take isl_basic_set *eq);
int isl_local_space_is_named_or_nested(__isl_keep isl_local_space *ls,
enum isl_dim_type type);
__isl_give isl_local_space *isl_local_space_reset_dim(
__isl_take isl_local_space *ls, __isl_take isl_dim *dim);
__isl_give isl_local_space *isl_local_space_realign(
__isl_take isl_local_space *ls, __isl_take isl_reordering *r);
#endif