Home | History | Annotate | Line # | Download | only in isl
      1 /*
      2  * Use of this software is governed by the MIT license
      3  */
      4 
      5 #ifndef ISL_FIXED_BOX_H
      6 #define ISL_FIXED_BOX_H
      7 
      8 #include <isl/ctx.h>
      9 #include <isl/val_type.h>
     10 #include <isl/space_type.h>
     11 #include <isl/aff_type.h>
     12 
     13 #if defined(__cplusplus)
     14 extern "C" {
     15 #endif
     16 
     17 struct __isl_export isl_fixed_box;
     18 typedef struct isl_fixed_box isl_fixed_box;
     19 
     20 isl_ctx *isl_fixed_box_get_ctx(__isl_keep isl_fixed_box *box);
     21 __isl_export
     22 __isl_give isl_space *isl_fixed_box_get_space(__isl_keep isl_fixed_box *box);
     23 __isl_export
     24 isl_bool isl_fixed_box_is_valid(__isl_keep isl_fixed_box *box);
     25 __isl_export
     26 __isl_give isl_multi_aff *isl_fixed_box_get_offset(
     27 	__isl_keep isl_fixed_box *box);
     28 __isl_export
     29 __isl_give isl_multi_val *isl_fixed_box_get_size(__isl_keep isl_fixed_box *box);
     30 
     31 __isl_give isl_fixed_box *isl_fixed_box_copy(__isl_keep isl_fixed_box *box);
     32 __isl_null isl_fixed_box *isl_fixed_box_free(__isl_take isl_fixed_box *box);
     33 
     34 __isl_constructor
     35 __isl_give isl_fixed_box *isl_fixed_box_read_from_str(isl_ctx *ctx,
     36 	const char *str);
     37 __isl_give isl_printer *isl_printer_print_fixed_box(
     38 	__isl_take isl_printer *p, __isl_keep isl_fixed_box *box);
     39 __isl_give char *isl_fixed_box_to_str(__isl_keep isl_fixed_box *box);
     40 void isl_fixed_box_dump(__isl_keep isl_fixed_box *box);
     41 
     42 #if defined(__cplusplus)
     43 }
     44 #endif
     45 
     46 #endif
     47