gpu: generate host code from schedule tree
[ppcg.git] / print.h
blob928876fe109fbd318bf47bfbaefa1b5680d51812
1 #ifndef PRINT_H
2 #define PRINT_H
4 #include "ppcg.h"
6 __isl_give isl_printer *ppcg_start_block(__isl_take isl_printer *p);
7 __isl_give isl_printer *ppcg_end_block(__isl_take isl_printer *p);
9 __isl_give isl_printer *ppcg_print_exposed_declarations(
10 __isl_take isl_printer *p, struct ppcg_scop *scop);
11 __isl_give isl_printer *ppcg_print_hidden_declarations(
12 __isl_take isl_printer *p, struct ppcg_scop *scop);
14 __isl_give isl_printer *ppcg_print_guarded(__isl_take isl_printer *p,
15 __isl_take isl_set *guard, __isl_take isl_set *context,
16 __isl_give isl_printer *(*fn)(__isl_take isl_printer *p, void *user),
17 void *user);
19 #endif