Lines Matching refs:options
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()
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()
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()
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()
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()