diff options
Diffstat (limited to 'polly/lib/External/isl/isl_map_private.h')
-rw-r--r-- | polly/lib/External/isl/isl_map_private.h | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/polly/lib/External/isl/isl_map_private.h b/polly/lib/External/isl/isl_map_private.h index d5b25039782..ba2937efe89 100644 --- a/polly/lib/External/isl/isl_map_private.h +++ b/polly/lib/External/isl/isl_map_private.h @@ -194,7 +194,8 @@ isl_bool isl_basic_map_compatible_range(__isl_keep isl_basic_map *bmap, __isl_give isl_basic_map *isl_basic_map_extend_space( __isl_take isl_basic_map *base, __isl_take isl_space *dim, unsigned extra, unsigned n_eq, unsigned n_ineq); -struct isl_basic_set *isl_basic_set_extend_space(struct isl_basic_set *base, +__isl_give isl_basic_set *isl_basic_set_extend_space( + __isl_take isl_basic_set *base, __isl_take isl_space *dim, unsigned extra, unsigned n_eq, unsigned n_ineq); struct isl_basic_set *isl_basic_set_add_constraints(struct isl_basic_set *bset1, @@ -263,15 +264,16 @@ __isl_give isl_set *isl_basic_set_list_union( __isl_give isl_basic_map *isl_basic_map_set_to_empty( __isl_take isl_basic_map *bmap); -struct isl_basic_set *isl_basic_set_set_to_empty(struct isl_basic_set *bset); +__isl_give isl_basic_set *isl_basic_set_set_to_empty( + __isl_take isl_basic_set *bset); struct isl_basic_set *isl_basic_set_order_divs(struct isl_basic_set *bset); void isl_basic_map_swap_div(struct isl_basic_map *bmap, int a, int b); void isl_basic_set_swap_div(struct isl_basic_set *bset, int a, int b); __isl_give isl_basic_map *isl_basic_map_order_divs( __isl_take isl_basic_map *bmap); __isl_give isl_map *isl_map_order_divs(__isl_take isl_map *map); -struct isl_basic_map *isl_basic_map_align_divs( - struct isl_basic_map *dst, struct isl_basic_map *src); +__isl_give isl_basic_map *isl_basic_map_align_divs( + __isl_take isl_basic_map *dst, __isl_keep isl_basic_map *src); __isl_give isl_map *isl_map_align_divs_to_basic_map_list( __isl_take isl_map *map, __isl_keep isl_basic_map_list *list); __isl_give isl_basic_map_list *isl_basic_map_list_align_divs_to_basic_map( @@ -284,8 +286,8 @@ __isl_give isl_basic_map *isl_basic_map_sort_divs( __isl_give isl_map *isl_map_sort_divs(__isl_take isl_map *map); __isl_give isl_basic_map *isl_basic_map_gauss(__isl_take isl_basic_map *bmap, int *progress); -struct isl_basic_set *isl_basic_set_gauss( - struct isl_basic_set *bset, int *progress); +__isl_give isl_basic_set *isl_basic_set_gauss( + __isl_take isl_basic_set *bset, int *progress); int isl_basic_map_constraint_cmp(__isl_keep isl_basic_map *bmap, isl_int *c1, isl_int *c2); __isl_give isl_basic_map *isl_basic_map_sort_constraints( @@ -298,18 +300,19 @@ isl_bool isl_basic_map_plain_is_equal(__isl_keep isl_basic_map *bmap1, __isl_keep isl_basic_map *bmap2); __isl_give isl_basic_map *isl_basic_map_normalize_constraints( __isl_take isl_basic_map *bmap); -struct isl_basic_set *isl_basic_set_normalize_constraints( - struct isl_basic_set *bset); +__isl_give isl_basic_set *isl_basic_set_normalize_constraints( + __isl_take isl_basic_set *bset); __isl_give isl_basic_map *isl_basic_map_implicit_equalities( __isl_take isl_basic_map *bmap); -struct isl_basic_set *isl_basic_map_underlying_set(struct isl_basic_map *bmap); +__isl_give isl_basic_set *isl_basic_map_underlying_set( + __isl_take isl_basic_map *bmap); __isl_give isl_basic_set *isl_basic_set_underlying_set( __isl_take isl_basic_set *bset); __isl_give isl_basic_set_list *isl_basic_map_list_underlying_set( __isl_take isl_basic_map_list *list); -struct isl_set *isl_map_underlying_set(struct isl_map *map); -struct isl_basic_map *isl_basic_map_overlying_set(struct isl_basic_set *bset, - struct isl_basic_map *like); +__isl_give isl_set *isl_map_underlying_set(__isl_take isl_map *map); +__isl_give isl_basic_map *isl_basic_map_overlying_set( + __isl_take isl_basic_set *bset, __isl_take isl_basic_map *like); __isl_give isl_basic_map *isl_basic_map_drop_constraint_involving_unknown_divs( __isl_take isl_basic_map *bmap); __isl_give isl_map *isl_map_drop_constraint_involving_unknown_divs( @@ -322,8 +325,8 @@ __isl_give isl_basic_map *isl_basic_map_drop(__isl_take isl_basic_map *bmap, enum isl_dim_type type, unsigned first, unsigned n); __isl_give isl_set *isl_set_drop(__isl_take isl_set *set, enum isl_dim_type type, unsigned first, unsigned n); -struct isl_basic_set *isl_basic_set_drop_dims( - struct isl_basic_set *bset, unsigned first, unsigned n); +__isl_give isl_basic_set *isl_basic_set_drop_dims( + __isl_take isl_basic_set *bset, unsigned first, unsigned n); __isl_give isl_map *isl_map_drop(__isl_take isl_map *map, enum isl_dim_type type, unsigned first, unsigned n); __isl_give isl_basic_map *isl_basic_map_drop_unrelated_constraints( @@ -358,8 +361,8 @@ int isl_basic_map_add_div_constraint(__isl_keep isl_basic_map *bmap, int isl_basic_map_add_div_constraints(struct isl_basic_map *bmap, unsigned div); __isl_give isl_basic_map *isl_basic_map_add_known_div_constraints( __isl_take isl_basic_map *bmap); -struct isl_basic_map *isl_basic_map_drop_redundant_divs( - struct isl_basic_map *bmap); +__isl_give isl_basic_map *isl_basic_map_drop_redundant_divs( + __isl_take isl_basic_map *bmap); __isl_give isl_basic_set *isl_basic_set_recession_cone( __isl_take isl_basic_set *bset); @@ -388,9 +391,10 @@ __isl_give isl_basic_map *isl_basic_map_from_multi_aff2( struct isl_mat; -struct isl_basic_set *isl_basic_set_preimage(struct isl_basic_set *bset, - struct isl_mat *mat); -struct isl_set *isl_set_preimage(struct isl_set *set, struct isl_mat *mat); +__isl_give isl_basic_set *isl_basic_set_preimage( + __isl_take isl_basic_set *bset, __isl_take isl_mat *mat); +__isl_give isl_set *isl_set_preimage( + __isl_take isl_set *set, __isl_take isl_mat *mat); __isl_give isl_basic_map *isl_basic_map_transform_dims( __isl_take isl_basic_map *bmap, enum isl_dim_type type, unsigned first, |