pet_codegen.c: add missing include
[pet.git] / aff.h
bloba37c51c0b7b14b3413d3b815590a75ab507f432e
1 #ifndef PET_AFF_H
2 #define PET_AFF_H
4 #include <pet.h>
6 #include <isl/aff.h>
7 #include <isl/union_map.h>
9 #if defined(__cplusplus)
10 extern "C" {
11 #endif
13 __isl_give isl_union_map *pet_union_map_move_dims(
14 __isl_take isl_union_map *umap,
15 enum isl_dim_type dst_type, unsigned dst_pos,
16 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
18 __isl_give isl_multi_aff *pet_prefix_projection(__isl_take isl_space *space,
19 int n);
21 __isl_give isl_val *pet_extract_cst(__isl_keep isl_pw_aff *pa);
23 __isl_give isl_pw_aff *pet_and(__isl_take isl_pw_aff *lhs,
24 __isl_take isl_pw_aff *rhs);
25 __isl_give isl_pw_aff *pet_not(__isl_take isl_pw_aff *pa);
26 __isl_give isl_pw_aff *pet_to_bool(__isl_take isl_pw_aff *pa);
27 __isl_give isl_pw_aff *pet_boolean(enum pet_op_type type,
28 __isl_take isl_pw_aff *pa1, __isl_take isl_pw_aff *pa2);
29 __isl_give isl_pw_aff *pet_comparison(enum pet_op_type type,
30 __isl_take isl_pw_aff *pa1, __isl_take isl_pw_aff *pa2);
32 __isl_give isl_aff *pet_wrap_aff(__isl_take isl_aff *aff, unsigned width);
33 __isl_give isl_pw_aff *pet_wrap_pw_aff(__isl_take isl_pw_aff *pwaff,
34 unsigned width);
36 #if defined(__cplusplus)
38 #endif
40 #endif