pet.cc: pet_foreach_scop_in_C_source: return isl_stat
[pet.git] / options.h
blob099b731d2fc0d2f6d38546ec836b66eecdcba9d7
1 #include <isl/arg.h>
2 #include <isl/ctx.h>
4 #if defined(__cplusplus)
5 extern "C" {
6 #endif
8 struct pet_options {
9 /* If autodetect is false, a scop delimited by pragmas is extracted,
10 * otherwise we take any scop that we can find.
12 int autodetect;
13 int detect_conditional_assignment;
14 /* If encapsulate_dynamic_control is set, then any dynamic control
15 * in the input program will be encapsulated in macro statements.
16 * This means in particular that no statements with arguments
17 * will be created.
19 int encapsulate_dynamic_control;
20 /* Support pencil builtins and pragmas */
21 int pencil;
22 int n_path;
23 const char **paths;
24 int n_define;
25 const char **defines;
27 unsigned signed_overflow;
30 ISL_ARG_CTX_DECL(pet_options, struct pet_options, pet_options_args)
32 #if defined(__cplusplus)
34 #endif