add isl_aff_from_div
[isl.git] / include / isl / schedule.h
blob3aa99a2bc00a4e272df2c49097850eba368c84f5
1 #ifndef ISL_SCHEDULE_H
2 #define ISL_SCHEDULE_H
4 #include <isl/union_set.h>
5 #include <isl/union_map.h>
6 #include <isl/list.h>
8 #if defined(__cplusplus)
9 extern "C" {
10 #endif
12 struct isl_schedule;
13 typedef struct isl_schedule isl_schedule;
15 __isl_give isl_schedule *isl_union_set_compute_schedule(
16 __isl_take isl_union_set *domain,
17 __isl_take isl_union_map *validity,
18 __isl_take isl_union_map *proximity);
19 void *isl_schedule_free(__isl_take isl_schedule *sched);
20 __isl_give isl_union_map *isl_schedule_get_map(__isl_keep isl_schedule *sched);
22 __isl_give isl_band_list *isl_schedule_get_band_forest(
23 __isl_keep isl_schedule *schedule);
25 int isl_schedule_n_band(__isl_keep isl_schedule *sched);
26 __isl_give isl_union_map *isl_schedule_get_band(__isl_keep isl_schedule *sched,
27 unsigned band);
29 __isl_give isl_printer *isl_printer_print_schedule(__isl_take isl_printer *p,
30 __isl_keep isl_schedule *schedule);
31 void isl_schedule_dump(__isl_keep isl_schedule *schedule);
33 #if defined(__cplusplus)
35 #endif
37 #endif