Lines Matching full:options
18 * - a relation describing AST generation options
25 #include <isl/options.h>
33 struct options { struct
39 ISL_ARGS_START(struct options, options_args) in ISL_ARGS_START() argument
40 ISL_ARG_CHILD(struct options, isl, "isl", &isl_options_args, "isl options") in ISL_ARGS_START()
41 ISL_ARG_BOOL(struct options, atomic, 0, "atomic", 0, in ISL_ARGS_START()
43 ISL_ARG_BOOL(struct options, separate, 0, "separate", 0, in ISL_ARGS_START()
47 ISL_ARG_DEF(cg_options, struct options, options_args) in ISL_ARGS_START()
48 ISL_ARG_CTX_DEF(cg_options, struct options, options_args) in ISL_ARGS_START()
81 /* Update the build options based on the user-specified options.
83 * If the --separate or --atomic options were specified, then
84 * we clear any separate or atomic options that may already exist in "opt".
87 __isl_take isl_union_map *opt, struct options *options, in set_options() argument
90 if (options->separate || options->atomic) { in set_options()
102 if (options->separate) in set_options()
104 if (options->atomic) in set_options()
114 * We read the context and the options from "s" and construct the AST.
123 struct options *options; in construct_ast_from_union_map() local
125 options = isl_ctx_peek_cg_options(isl_stream_get_ctx(s)); in construct_ast_from_union_map()
131 build = set_options(build, options_map, options, schedule); in construct_ast_from_union_map()
138 /* If "node" is a band node, then replace the AST build options
139 * by "options".
160 /* Replace the AST build options on all band nodes if requested
164 __isl_take isl_schedule *schedule, struct options *options) in schedule_set_options() argument
168 if (!options->separate && !options->atomic) in schedule_set_options()
171 type = options->separate ? isl_ast_loop_separate : isl_ast_loop_atomic; in schedule_set_options()
185 struct options *options; in construct_ast_from_schedule() local
187 options = isl_ctx_peek_cg_options(isl_schedule_get_ctx(schedule)); in construct_ast_from_schedule()
190 schedule = schedule_set_options(schedule, options); in construct_ast_from_schedule()
199 * schedule map, context and options and construct an AST from
208 struct options *options; in main() local
213 options = cg_options_new_with_defaults(); in main()
214 assert(options); in main()
215 ctx = isl_ctx_alloc_with_options(&options_args, options); in main()
218 argc = cg_options_parse(options, argc, argv, ISL_ARG_ALL); in main()