add isl_mat_get_hash
[isl.git] / isl_dim_map.h
blob0f988c3166d3722b93e54dca78aba755cf5f7d17
1 #ifndef ISL_DIM_MAP_H
2 #define ISL_DIM_MAP_H
4 #include <isl/ctx.h>
5 #include <isl/space.h>
6 #include <isl/map.h>
8 struct isl_dim_map;
9 typedef struct isl_dim_map isl_dim_map;
11 __isl_give isl_dim_map *isl_dim_map_alloc(isl_ctx *ctx, unsigned len);
12 void isl_dim_map_range(__isl_keep isl_dim_map *dim_map,
13 unsigned dst_pos, unsigned dst_stride,
14 unsigned src_pos, unsigned src_stride,
15 unsigned n, int sign);
16 void isl_dim_map_dim_range(__isl_keep isl_dim_map *dim_map,
17 isl_space *dim, enum isl_dim_type type,
18 unsigned first, unsigned n, unsigned dst_pos);
19 void isl_dim_map_dim(__isl_keep isl_dim_map *dim_map, __isl_keep isl_space *dim,
20 enum isl_dim_type type, unsigned dst_pos);
21 void isl_dim_map_div(__isl_keep isl_dim_map *dim_map,
22 __isl_keep isl_basic_map *bmap, unsigned dst_pos);
23 __isl_give isl_basic_set *isl_basic_set_add_constraints_dim_map(
24 __isl_take isl_basic_set *dst, __isl_take isl_basic_set *src,
25 __isl_take isl_dim_map *dim_map);
26 __isl_give isl_basic_map *isl_basic_map_add_constraints_dim_map(
27 __isl_take isl_basic_map *dst, __isl_take isl_basic_map *src,
28 __isl_take isl_dim_map *dim_map);
30 __isl_give isl_dim_map *isl_dim_map_extend(__isl_keep isl_dim_map *dim_map,
31 __isl_keep isl_basic_map *bmap);
33 __isl_give isl_dim_map *isl_dim_map_from_reordering(
34 __isl_keep isl_reordering *exp);
36 #endif