Polly 20.0.0git
isl_schedule_node_private.h
Go to the documentation of this file.
1#ifndef ISL_SCHEDLUE_NODE_PRIVATE_H
2#define ISL_SCHEDLUE_NODE_PRIVATE_H
3
4#include <isl/schedule_node.h>
5#include <isl_schedule_band.h>
6#include <isl_schedule_tree.h>
7
8/* An isl_schedule_node points to a particular location in a schedule tree.
9 *
10 * "schedule" is the schedule that the node is pointing to.
11 * "ancestors" is a list of the n ancestors of the node
12 * that is being pointed to.
13 * The first ancestor is the root of "schedule", while the last ancestor
14 * is the parent of the specified location.
15 * "child_pos" is an array of child positions of the same length as "ancestors",
16 * where ancestor i (i > 0) appears in child_pos[i - 1] of ancestor i - 1 and
17 * "tree" appears in child_pos[n - 1] of ancestor n - 1.
18 * "tree" is the subtree at the specified location.
19 *
20 * Note that the same isl_schedule_tree object may appear several times
21 * in a schedule tree and therefore does not uniquely identify a position
22 * in the schedule tree.
23 */
25 int ref;
26
28 isl_schedule_tree_list *ancestors;
31};
32
35 __isl_take isl_schedule_tree_list *ancestors, int *child_pos);
38
41
45
51
54
59
63 __isl_take isl_union_map *expansion);
66 __isl_take isl_union_map *extension);
67
68#endif
polly Polly Forward operand tree
struct isl_union_pw_multi_aff isl_union_pw_multi_aff
Definition: aff_type.h:38
#define __isl_take
Definition: ctx.h:22
#define __isl_give
Definition: ctx.h:19
#define __isl_keep
Definition: ctx.h:25
static unsigned pos(__isl_keep isl_space *space, enum isl_dim_type type)
Definition: isl_map.c:70
__isl_give isl_schedule_node * isl_schedule_node_gist(__isl_take isl_schedule_node *node, __isl_take isl_union_set *context)
__isl_give isl_schedule_node * isl_schedule_node_domain_gist_params(__isl_take isl_schedule_node *node, __isl_take isl_set *context)
__isl_give isl_schedule_tree * isl_schedule_node_get_tree(__isl_keep isl_schedule_node *node)
__isl_give isl_schedule_node * isl_schedule_node_expand(__isl_take isl_schedule_node *node, __isl_take isl_union_pw_multi_aff *contraction, __isl_take isl_union_set *domain, __isl_take isl_schedule_tree *tree)
__isl_give isl_schedule_node * isl_schedule_node_insert_extension(__isl_take isl_schedule_node *node, __isl_take isl_union_map *extension)
__isl_give isl_schedule_node * isl_schedule_node_pullback_union_pw_multi_aff(__isl_take isl_schedule_node *node, __isl_take isl_union_pw_multi_aff *upma)
__isl_give isl_schedule_node * isl_schedule_node_domain_intersect_domain(__isl_take isl_schedule_node *node, __isl_take isl_union_set *domain)
__isl_give isl_schedule_node * isl_schedule_node_alloc(__isl_take isl_schedule *schedule, __isl_take isl_schedule_tree *tree, __isl_take isl_schedule_tree_list *ancestors, int *child_pos)
__isl_give isl_schedule_node * isl_schedule_node_insert_expansion(__isl_take isl_schedule_node *node, __isl_take isl_union_pw_multi_aff *contraction, __isl_take isl_union_map *expansion)
__isl_give isl_schedule_node * isl_schedule_node_graft_tree(__isl_take isl_schedule_node *pos, __isl_take isl_schedule_tree *tree)
const char * schedule
Definition: isl_test.c:10697
const char * context
Definition: isl_test.c:1784
struct isl_set isl_set
Definition: map_type.h:26
isl_schedule_tree * tree
isl_schedule_tree_list * ancestors
static Signature domain
struct isl_union_set isl_union_set