X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=isl_local_space_private.h;h=8d106bd07b14d5c2511479fac7b325813ad6b003;hb=f18770885cd5895787c66cbc0f814e35da66dc18;hp=de8a7606e1ac7399a7004494edd8a8901a96579b;hpb=d38e528da2fad74f81c98dc6cd5cacd9b6bea98b;p=platform%2Fupstream%2Fisl.git diff --git a/isl_local_space_private.h b/isl_local_space_private.h index de8a760..8d106bd 100644 --- a/isl_local_space_private.h +++ b/isl_local_space_private.h @@ -1,7 +1,6 @@ #ifndef ISL_LOCAL_SPACE_PRIVATE_H #define ISL_LOCAL_SPACE_PRIVATE_H -#include #include #include #include @@ -9,12 +8,14 @@ struct isl_local_space { int ref; - isl_dim *dim; + isl_space *dim; isl_mat *div; }; -__isl_give isl_local_space *isl_local_space_alloc(__isl_take isl_dim *dim, +__isl_give isl_local_space *isl_local_space_alloc(__isl_take isl_space *dim, unsigned n_div); +__isl_give isl_local_space *isl_local_space_alloc_div(__isl_take isl_space *dim, + __isl_take isl_mat *div); __isl_give isl_local_space *isl_local_space_add_div( __isl_take isl_local_space *ls, __isl_take isl_vec *div); @@ -35,12 +36,21 @@ __isl_give isl_local_space *isl_local_space_substitute_equalities( 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_reset_space( + __isl_take isl_local_space *ls, __isl_take isl_space *dim); __isl_give isl_local_space *isl_local_space_realign( __isl_take isl_local_space *ls, __isl_take isl_reordering *r); int isl_local_space_is_div_constraint(__isl_keep isl_local_space *ls, isl_int *constraint, unsigned div); +int *isl_local_space_get_active(__isl_keep isl_local_space *ls, isl_int *l); + +__isl_give isl_local_space *isl_local_space_substitute( + __isl_take isl_local_space *ls, + enum isl_dim_type type, unsigned pos, __isl_keep isl_aff *subs); + +__isl_give isl_local_space *isl_local_space_lift( + __isl_take isl_local_space *ls); + #endif