isl_scheduler.c: rename graph_free to isl_sched_graph_free
[isl.git] / isl_reordering.h
blob6664749b0ec6d10e29a032e78a7132a9cdbbaec8
1 #ifndef ISL_REORDERING_H
2 #define ISL_REORDERING_H
4 #include <isl/space.h>
6 /* pos maps original dimensions to new dimensions.
7 * The final space is given by "space".
8 * The number of dimensions (i.e., the range of values) in the result
9 * may be larger than the number of dimensions in the input.
10 * In particular, the possible values of the entries in pos ranges from 0 to
11 * the total dimension of dim - 1, unless isl_reordering_extend
12 * has been called.
14 struct isl_reordering {
15 int ref;
16 isl_space *space;
17 unsigned len;
18 int pos[1];
20 typedef struct isl_reordering isl_reordering;
22 isl_ctx *isl_reordering_get_ctx(__isl_keep isl_reordering *r);
23 __isl_keep isl_space *isl_reordering_peek_space(__isl_keep isl_reordering *r);
24 __isl_give isl_space *isl_reordering_get_space(__isl_keep isl_reordering *r);
25 __isl_give isl_reordering *isl_parameter_alignment_reordering(
26 __isl_keep isl_space *alignee, __isl_keep isl_space *aligner);
27 __isl_give isl_reordering *isl_reordering_unbind_params_insert_domain(
28 __isl_keep isl_space *space, __isl_keep isl_multi_id *tuple);
29 __isl_give isl_reordering *isl_reordering_copy(__isl_keep isl_reordering *exp);
30 __isl_null isl_reordering *isl_reordering_free(__isl_take isl_reordering *exp);
31 __isl_give isl_reordering *isl_reordering_extend_space(
32 __isl_take isl_reordering *exp, __isl_take isl_space *space);
33 __isl_give isl_reordering *isl_reordering_extend(__isl_take isl_reordering *exp,
34 unsigned extra);
36 #endif