isl_mat_rank: return isl_size
[isl.git] / include / isl / stride_info.h
blob7a4e0dcb1e36def116dd49c5218bea1c6427d723
1 /*
2 * Use of this software is governed by the MIT license
3 */
5 #ifndef ISL_STRIDE_INFO_H
6 #define ISL_STRIDE_INFO_H
8 #include <isl/val.h>
9 #include <isl/aff_type.h>
11 #if defined(__cplusplus)
12 extern "C" {
13 #endif
15 struct isl_stride_info;
16 typedef struct isl_stride_info isl_stride_info;
18 isl_ctx *isl_stride_info_get_ctx(__isl_keep isl_stride_info *si);
19 __isl_give isl_val *isl_stride_info_get_stride(__isl_keep isl_stride_info *si);
20 __isl_give isl_aff *isl_stride_info_get_offset(__isl_keep isl_stride_info *si);
21 __isl_null isl_stride_info *isl_stride_info_free(
22 __isl_take isl_stride_info *si);
23 __isl_give isl_stride_info *isl_stride_info_copy(
24 __isl_keep isl_stride_info *si);
26 #if defined(__cplusplus)
28 #endif
30 #endif