Polly 20.0.0git
|
#include <assert.h>
#include <stdlib.h>
#include <isl/ast.h>
#include <isl/ast_build.h>
#include <isl/options.h>
#include <isl/space.h>
#include <isl/set.h>
#include <isl/union_set.h>
#include <isl/union_map.h>
#include <isl/stream.h>
#include <isl/schedule_node.h>
Go to the source code of this file.
Classes | |
struct | options |
Functions | |
ISL_ARG_BOOL (struct options, atomic, ISL_ARG_BOOL(struct 0, "atomic", ISL_ARG_BOOL(struct 0, "globally set the atomic option") | |
static __isl_give isl_union_map * | set_universe (__isl_take isl_union_map *opt, __isl_keep isl_union_map *schedule, const char *name) |
static __isl_give isl_ast_build * | set_options (__isl_take isl_ast_build *build, __isl_take isl_union_map *opt, struct options *options, __isl_keep isl_union_map *schedule) |
static __isl_give isl_ast_node * | construct_ast_from_union_map (__isl_take isl_union_map *schedule, __isl_keep isl_stream *s) |
static __isl_give isl_schedule_node * | node_set_options (__isl_take isl_schedule_node *node, void *user) |
static __isl_give isl_schedule * | schedule_set_options (__isl_take isl_schedule *schedule, struct options *options) |
static __isl_give isl_ast_node * | construct_ast_from_schedule (__isl_take isl_schedule *schedule) |
int | main (int argc, char **argv) |
|
static |
Definition at line 180 of file codegen.c.
References isl_ast_build_alloc(), isl_ast_build_free(), isl_ast_build_node_from_schedule(), isl_schedule_get_ctx(), schedule, schedule_set_options(), and tree.
Referenced by main().
|
static |
Definition at line 116 of file codegen.c.
References context, isl_ast_build_free(), isl_ast_build_from_context(), isl_ast_build_node_from_schedule_map(), isl_stream_get_ctx(), isl_stream_read_set(), isl_stream_read_union_map(), schedule, set_options(), and tree.
Referenced by main().
ISL_ARG_BOOL | ( | struct options | , |
atomic | , | ||
ISL_ARG_BOOL(struct | 0, | ||
"atomic" | , | ||
ISL_ARG_BOOL(struct | 0, | ||
"globally set the atomic option" | |||
) |
Definition at line 41 of file codegen.c.
References isl_dim_set, isl_set_universe(), isl_space_set_alloc(), isl_space_set_tuple_name(), isl_union_set_from_set(), and name.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 203 of file codegen.c.
References assert, construct_ast_from_schedule(), construct_ast_from_union_map(), ISL_ARG_ALL, isl_ast_node_free(), isl_ctx_alloc_with_options(), isl_ctx_free(), isl_die, isl_error_invalid, ISL_FORMAT_C, isl_obj_map, isl_obj_schedule, isl_obj_union_map, isl_options_set_ast_build_detect_min_max(), isl_options_set_ast_print_outermost_block(), isl_printer_free(), isl_printer_print_ast_node(), isl_printer_set_output_format(), isl_printer_to_file(), isl_stream_free(), isl_stream_new_file(), isl_stream_read_obj(), isl_union_map_from_map(), obj, p, and tree.
|
static |
Definition at line 141 of file codegen.c.
References isl_schedule_node_band, isl_schedule_node_band_member_set_ast_loop_type(), isl_schedule_node_band_n_member(), isl_schedule_node_free(), isl_schedule_node_get_type(), n, type, and user.
Referenced by schedule_set_options().
|
static |
Definition at line 163 of file codegen.c.
References options::atomic, isl_ast_loop_atomic, isl_ast_loop_separate, isl_schedule_map_schedule_node_bottom_up(), node_set_options(), schedule, options::separate, and type.
Referenced by construct_ast_from_schedule().
|
static |
Definition at line 86 of file codegen.c.
References options::atomic, isl_ast_build_set_options(), isl_union_map_get_ctx(), isl_union_map_subtract_range(), schedule, options::separate, set_universe(), and universe().
Referenced by construct_ast_from_union_map().
|
static |
Definition at line 63 of file codegen.c.
References domain, isl_union_map_copy(), isl_union_map_from_domain_and_range(), isl_union_map_get_ctx(), isl_union_map_range(), isl_union_map_union(), isl_union_set_universe(), name, schedule, and universe().
Referenced by set_options().