| 1 | /* | 
 
 
 
 
 | 2 | * Use of this software is governed by the MIT license | 
 
 
 
 
 | 3 | */ | 
 
 
 
 
 | 4 |  | 
 
 
 
 
 | 5 | #ifndef ISL_STRIDE_INFO_H | 
 
 
 
 
 | 6 | #define ISL_STRIDE_INFO_H | 
 
 
 
 
 | 7 |  | 
 
 
 
 
 | 8 | #include <isl/val.h> | 
 
 
 
 
 | 9 | #include <isl/aff_type.h> | 
 
 
 
 
 | 10 |  | 
 
 
 
 
 | 11 | #if defined(__cplusplus) | 
 
 
 
 
 | 12 | extern "C" { | 
 
 
 
 
 | 13 | #endif | 
 
 
 
 
 | 14 |  | 
 
 
 
 
 | 15 | struct isl_stride_info; | 
 
 
 
 
 | 16 | typedef struct isl_stride_info isl_stride_info; | 
 
 
 
 
 | 17 |  | 
 
 
 
 
 | 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); | 
 
 
 
 
 | 25 |  | 
 
 
 
 
 | 26 | #if defined(__cplusplus) | 
 
 
 
 
 | 27 | } | 
 
 
 
 
 | 28 | #endif | 
 
 
 
 
 | 29 |  | 
 
 
 
 
 | 30 | #endif |