stride_info.h 720 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Use of this software is governed by the MIT license
  3. */
  4. #ifndef ISL_STRIDE_INFO_H
  5. #define ISL_STRIDE_INFO_H
  6. #include <isl/val.h>
  7. #include <isl/aff_type.h>
  8. #if defined(__cplusplus)
  9. extern "C" {
  10. #endif
  11. struct isl_stride_info;
  12. typedef struct isl_stride_info isl_stride_info;
  13. isl_ctx *isl_stride_info_get_ctx(__isl_keep isl_stride_info *si);
  14. __isl_give isl_val *isl_stride_info_get_stride(__isl_keep isl_stride_info *si);
  15. __isl_give isl_aff *isl_stride_info_get_offset(__isl_keep isl_stride_info *si);
  16. __isl_null isl_stride_info *isl_stride_info_free(
  17. __isl_take isl_stride_info *si);
  18. __isl_give isl_stride_info *isl_stride_info_copy(
  19. __isl_keep isl_stride_info *si);
  20. #if defined(__cplusplus)
  21. }
  22. #endif
  23. #endif