Polly 20.0.0git
space.h
Go to the documentation of this file.
1/*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
3 *
4 * Use of this software is governed by the MIT license
5 *
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
9
10#ifndef ISL_SPACE_H
11#define ISL_SPACE_H
12
13#include <isl/ctx.h>
14#include <isl/space_type.h>
15#include <isl/id_type.h>
16#include <isl/printer.h>
17
18#if defined(__cplusplus)
19extern "C" {
20#endif
21
26 unsigned nparam, unsigned n_in, unsigned n_out);
28 unsigned nparam, unsigned dim);
32
36
39 __isl_take isl_id *id);
40
42 enum isl_dim_type type, const char *s);
44 enum isl_dim_type type);
46 enum isl_dim_type type);
56 enum isl_dim_type type);
62 enum isl_dim_type type);
65 __isl_keep isl_space *space);
68 __isl_keep isl_space *space);
70 enum isl_dim_type type);
72
74 enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
76 enum isl_dim_type type, unsigned pos);
78 enum isl_dim_type type, unsigned pos);
79
83 enum isl_dim_type type, const char *name);
84
86 enum isl_dim_type type, unsigned pos);
88 enum isl_dim_type type, unsigned pos,
89 __isl_keep const char *name);
91 enum isl_dim_type type, unsigned pos);
92
95 unsigned nparam, unsigned n_in, unsigned n_out);
97 enum isl_dim_type type, unsigned n);
99 enum isl_dim_type dst_type, unsigned dst_pos,
100 enum isl_dim_type src_type, unsigned src_pos, unsigned n);
102 enum isl_dim_type type, unsigned pos, unsigned n);
104 __isl_take isl_space *right);
107 __isl_take isl_space *right);
109 __isl_take isl_space *right);
111 __isl_take isl_space *right);
115 __isl_take isl_space *space);
117 __isl_take isl_space *space);
119 __isl_take isl_space *space);
121 __isl_take isl_space *space);
123 __isl_take isl_space *space);
125 __isl_take isl_space *space);
127 __isl_take isl_space *space);
129 __isl_take isl_space *space);
139 enum isl_dim_type type, unsigned first, unsigned num);
142 unsigned first, unsigned n);
145 unsigned first, unsigned n);
159 __isl_take isl_space *space, unsigned dim);
162 __isl_take isl_space *space, __isl_take isl_id *tuple_id, unsigned dim);
164
166 __isl_take isl_space *space2);
167
177
180
184
187
191
193 __isl_keep isl_space *space2);
195 __isl_keep isl_space *space2);
198 __isl_keep isl_space *space2);
200 __isl_keep isl_space *space2);
202 __isl_keep isl_space *space2);
204 enum isl_dim_type type1, __isl_keep isl_space *space2,
205 enum isl_dim_type type2);
208 __isl_keep isl_space *space2, enum isl_dim_type type2);
210
215
218 const char *str);
221 __isl_keep isl_space *space);
223
224#if defined(__cplusplus)
225}
226#endif
227
228#endif
#define __isl_export
Definition: ctx.h:31
#define __isl_take
Definition: ctx.h:22
#define __isl_constructor
Definition: ctx.h:37
#define __isl_give
Definition: ctx.h:19
#define __isl_null
Definition: ctx.h:28
#define ISL_DEPRECATED
Definition: ctx.h:106
#define __isl_keep
Definition: ctx.h:25
#define __isl_overload
Definition: ctx.h:34
int isl_size
Definition: ctx.h:96
isl_bool
Definition: ctx.h:89
static unsigned pos(__isl_keep isl_space *space, enum isl_dim_type type)
Definition: isl_map.c:70
static __isl_keep isl_id * tuple_id(__isl_keep isl_space *space, enum isl_dim_type type)
Definition: isl_space.c:970
enum isl_fold type
Definition: isl_test.c:4017
const char * p
Definition: isl_test.c:8643
const char * name
Definition: isl_test.c:10938
const char * str
Definition: isl_test.c:2095
isl_bool isl_space_has_equal_params(__isl_keep isl_space *space1, __isl_keep isl_space *space2)
Definition: isl_space.c:1140
__isl_give isl_space * isl_space_set_tuple_id(__isl_take isl_space *space, enum isl_dim_type type, __isl_take isl_id *id)
Definition: isl_space.c:636
__isl_give char * isl_space_to_str(__isl_keep isl_space *space)
__isl_null isl_space * isl_space_free(__isl_take isl_space *space)
Definition: isl_space.c:445
__isl_give isl_space * isl_space_from_domain(__isl_take isl_space *space)
Definition: isl_space.c:2148
void isl_space_dump(__isl_keep isl_space *space)
__isl_export __isl_give isl_space * isl_space_reverse(__isl_take isl_space *space)
Definition: isl_space.c:1964
__isl_export __isl_give isl_space * isl_space_flatten_range(__isl_take isl_space *space)
Definition: isl_space.c:2954
__isl_give isl_space * isl_space_range_factor_range(__isl_take isl_space *space)
Definition: isl_space.c:1826
__isl_give isl_space * isl_space_domain_wrapped_domain(__isl_take isl_space *space)
Definition: isl_space.c:1864
__isl_give isl_space * isl_space_range_map(__isl_take isl_space *space)
Definition: isl_space.c:2200
ISL_DEPRECATED __isl_give isl_space * isl_space_drop_outputs(__isl_take isl_space *space, unsigned first, unsigned n)
Definition: isl_space.c:2118
__isl_give isl_space * isl_space_from_range(__isl_take isl_space *space)
Definition: isl_space.c:2172
__isl_export __isl_give isl_space * isl_space_params(__isl_take isl_space *space)
Definition: isl_space.c:2211
__isl_export __isl_give isl_space * isl_space_product(__isl_take isl_space *left, __isl_take isl_space *right)
Definition: isl_space.c:1552
__isl_overload __isl_give isl_space * isl_space_add_param_id(__isl_take isl_space *space, __isl_take isl_id *id)
Definition: isl_space.c:1266
__isl_export __isl_give isl_space * isl_space_curry(__isl_take isl_space *space)
Definition: isl_space.c:3128
__isl_give isl_space * isl_space_domain_wrapped_range(__isl_take isl_space *space)
Definition: isl_space.c:1872
__isl_export __isl_give isl_id * isl_space_get_domain_tuple_id(__isl_keep isl_space *space)
Definition: isl_space.c:617
isl_bool isl_space_has_tuple_id(__isl_keep isl_space *space, enum isl_dim_type type)
Definition: isl_space.c:572
__isl_give isl_space * isl_space_insert_dims(__isl_take isl_space *space, enum isl_dim_type type, unsigned pos, unsigned n)
Definition: isl_space.c:1312
isl_ctx * isl_space_get_ctx(__isl_keep isl_space *space)
Definition: isl_space.c:23
isl_bool isl_space_range_is_wrapping(__isl_keep isl_space *space)
Definition: isl_space.c:2801
__isl_give isl_id * isl_space_get_tuple_id(__isl_keep isl_space *space, enum isl_dim_type type)
Definition: isl_space.c:598
__isl_give isl_space * isl_space_set_from_params(__isl_take isl_space *space)
Definition: isl_space.c:2227
__isl_give isl_space * isl_space_factor_domain(__isl_take isl_space *space)
Definition: isl_space.c:1776
__isl_give isl_space * isl_space_copy(__isl_keep isl_space *space)
Definition: isl_space.c:436
isl_bool isl_space_has_dim_name(__isl_keep isl_space *space, enum isl_dim_type type, unsigned pos)
Definition: isl_space.c:852
__isl_give isl_space * isl_space_range_curry(__isl_take isl_space *space)
Definition: isl_space.c:3172
isl_bool isl_space_is_map(__isl_keep isl_space *space)
Definition: isl_space.c:98
__isl_give isl_space * isl_space_align_params(__isl_take isl_space *space1, __isl_take isl_space *space2)
Definition: isl_space.c:3262
__isl_export __isl_give isl_space * isl_space_unit(isl_ctx *ctx)
Definition: isl_space.c:205
__isl_export isl_bool isl_space_has_domain_tuple_id(__isl_keep isl_space *space)
Definition: isl_space.c:582
__isl_give isl_space * isl_space_map_from_domain_and_range(__isl_take isl_space *domain, __isl_take isl_space *range)
Definition: isl_space.c:1934
__isl_give isl_space * isl_space_set_dim_id(__isl_take isl_space *space, enum isl_dim_type type, unsigned pos, __isl_take isl_id *id)
Definition: isl_space.c:704
__isl_give isl_space * isl_space_set_tuple_name(__isl_take isl_space *space, enum isl_dim_type type, const char *s)
Definition: isl_space.c:785
__isl_keep const char * isl_space_get_dim_name(__isl_keep isl_space *space, enum isl_dim_type type, unsigned pos)
Definition: isl_space.c:863
__isl_export __isl_give isl_space * isl_space_wrap(__isl_take isl_space *space)
Definition: isl_space.c:2832
ISL_DEPRECATED isl_bool isl_space_match(__isl_keep isl_space *space1, enum isl_dim_type type1, __isl_keep isl_space *space2, enum isl_dim_type type2)
Definition: isl_space.c:1160
__isl_give isl_printer * isl_printer_print_space(__isl_take isl_printer *p, __isl_keep isl_space *space)
Definition: isl_output.c:2461
__isl_export isl_bool isl_space_is_wrapping(__isl_keep isl_space *space)
Definition: isl_space.c:2775
__isl_export __isl_give isl_space * isl_space_range_reverse(__isl_take isl_space *space)
Definition: isl_space.c:2024
__isl_give isl_space * isl_space_join(__isl_take isl_space *left, __isl_take isl_space *right)
Definition: isl_space.c:1504
__isl_give isl_space * isl_space_domain_factor_domain(__isl_take isl_space *space)
Definition: isl_space.c:1642
__isl_give isl_space * isl_space_range_wrapped_domain(__isl_take isl_space *space)
Definition: isl_space.c:1880
__isl_overload __isl_give isl_space * isl_space_add_named_tuple_id_ui(__isl_take isl_space *space, __isl_take isl_id *tuple_id, unsigned dim)
Definition: isl_space.c:2273
__isl_export __isl_give isl_space * isl_space_range(__isl_take isl_space *space)
Definition: isl_space.c:2163
isl_bool isl_space_is_params(__isl_keep isl_space *space)
Definition: isl_space.c:179
__isl_export __isl_give isl_id * isl_space_get_range_tuple_id(__isl_keep isl_space *space)
Definition: isl_space.c:628
__isl_keep const char * isl_space_get_tuple_name(__isl_keep isl_space *space, enum isl_dim_type type)
Definition: isl_space.c:819
__isl_export __isl_give isl_space * isl_space_unwrap(__isl_take isl_space *space)
Definition: isl_space.c:2857
isl_bool isl_space_is_range(__isl_keep isl_space *space1, __isl_keep isl_space *space2)
Definition: isl_space.c:2644
__isl_give isl_space * isl_space_set_alloc(isl_ctx *ctx, unsigned nparam, unsigned dim)
Definition: isl_space.c:156
__isl_export __isl_give isl_space * isl_space_uncurry(__isl_take isl_space *space)
Definition: isl_space.c:3202
__isl_export __isl_give isl_space * isl_space_flatten_domain(__isl_take isl_space *space)
Definition: isl_space.c:2944
__isl_export __isl_give isl_space * isl_space_map_from_set(__isl_take isl_space *space)
Definition: isl_space.c:1894
isl_bool isl_space_has_tuple_name(__isl_keep isl_space *space, enum isl_dim_type type)
Definition: isl_space.c:808
__isl_export isl_bool isl_space_has_range_tuple_id(__isl_keep isl_space *space)
Definition: isl_space.c:591
isl_bool isl_space_can_curry(__isl_keep isl_space *space)
Definition: isl_space.c:3120
__isl_give isl_space * isl_space_domain_product(__isl_take isl_space *left, __isl_take isl_space *right)
Definition: isl_space.c:1590
int isl_space_find_dim_by_id(__isl_keep isl_space *space, enum isl_dim_type type, __isl_keep isl_id *id)
Definition: isl_space.c:870
__isl_give isl_space * isl_space_set_dim_name(__isl_take isl_space *space, enum isl_dim_type type, unsigned pos, __isl_keep const char *name)
__isl_give isl_space * isl_space_drop_all_params(__isl_take isl_space *space)
Definition: isl_space.c:2128
isl_bool isl_space_has_dim_id(__isl_keep isl_space *space, enum isl_dim_type type, unsigned pos)
Definition: isl_space.c:766
ISL_DEPRECATED __isl_give isl_space * isl_space_extend(__isl_take isl_space *space, unsigned nparam, unsigned n_in, unsigned n_out)
Definition: isl_space.c:1223
__isl_export isl_bool isl_space_is_equal(__isl_keep isl_space *space1, __isl_keep isl_space *space2)
Definition: isl_space.c:2511
__isl_give isl_space * isl_space_range_factor_domain(__isl_take isl_space *space)
Definition: isl_space.c:1751
__isl_give isl_space * isl_space_drop_dims(__isl_take isl_space *space, enum isl_dim_type type, unsigned first, unsigned num)
Definition: isl_space.c:2047
__isl_give isl_id * isl_space_get_dim_id(__isl_keep isl_space *space, enum isl_dim_type type, unsigned pos)
Definition: isl_space.c:774
__isl_give isl_space * isl_space_range_product(__isl_take isl_space *left, __isl_take isl_space *right)
Definition: isl_space.c:1615
__isl_give isl_space * isl_space_domain_map(__isl_take isl_space *space)
Definition: isl_space.c:2187
__isl_give isl_space * isl_space_zip(__isl_take isl_space *space)
Definition: isl_space.c:3089
isl_size isl_space_dim(__isl_keep isl_space *space, enum isl_dim_type type)
Definition: isl_space.c:340
__isl_overload __isl_give isl_space * isl_space_set_domain_tuple_id(__isl_take isl_space *space, __isl_take isl_id *id)
Definition: isl_space.c:660
isl_bool isl_space_is_set(__isl_keep isl_space *space)
Definition: isl_space.c:70
isl_bool isl_space_tuple_is_equal(__isl_keep isl_space *space1, enum isl_dim_type type1, __isl_keep isl_space *space2, enum isl_dim_type type2)
Definition: isl_space.c:1047
isl_bool isl_space_can_zip(__isl_keep isl_space *space)
Definition: isl_space.c:3077
ISL_DEPRECATED __isl_give isl_space * isl_space_drop_inputs(__isl_take isl_space *space, unsigned first, unsigned n)
Definition: isl_space.c:2110
__isl_give isl_space * isl_space_domain_factor_range(__isl_take isl_space *space)
Definition: isl_space.c:1678
isl_bool isl_space_has_equal_tuples(__isl_keep isl_space *space1, __isl_keep isl_space *space2)
Definition: isl_space.c:996
isl_bool isl_space_can_uncurry(__isl_keep isl_space *space)
Definition: isl_space.c:3194
__isl_overload __isl_give isl_space * isl_space_set_range_tuple_id(__isl_take isl_space *space, __isl_take isl_id *id)
Definition: isl_space.c:671
__isl_give isl_space * isl_space_reset_tuple_id(__isl_take isl_space *space, enum isl_dim_type type)
Definition: isl_space.c:679
__isl_give isl_space * isl_space_factor_range(__isl_take isl_space *space)
Definition: isl_space.c:1851
__isl_give isl_space * isl_space_alloc(isl_ctx *ctx, unsigned nparam, unsigned n_in, unsigned n_out)
Definition: isl_space.c:28
__isl_give isl_space * isl_space_reset_user(__isl_take isl_space *space)
Definition: isl_space.c:913
isl_bool isl_space_domain_is_wrapping(__isl_keep isl_space *space)
Definition: isl_space.c:2788
isl_bool isl_space_can_range_curry(__isl_keep isl_space *space)
Definition: isl_space.c:3157
__isl_give isl_space * isl_space_range_wrapped_range(__isl_take isl_space *space)
Definition: isl_space.c:1888
__isl_give isl_space * isl_space_move_dims(__isl_take isl_space *space, enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type src_type, unsigned src_pos, unsigned n)
Definition: isl_space.c:1389
int isl_space_find_dim_by_name(__isl_keep isl_space *space, enum isl_dim_type type, const char *name)
Definition: isl_space.c:889
__isl_give isl_space * isl_space_add_dims(__isl_take isl_space *space, enum isl_dim_type type, unsigned n)
Definition: isl_space.c:1229
__isl_give isl_space * isl_space_params_alloc(isl_ctx *ctx, unsigned nparam)
Definition: isl_space.c:195
isl_bool isl_space_is_domain(__isl_keep isl_space *space1, __isl_keep isl_space *space2)
Definition: isl_space.c:2614
__isl_overload __isl_give isl_space * isl_space_add_unnamed_tuple_ui(__isl_take isl_space *space, unsigned dim)
Definition: isl_space.c:2248
__isl_constructor __isl_give isl_space * isl_space_read_from_str(isl_ctx *ctx, const char *str)
isl_bool isl_space_is_product(__isl_keep isl_space *space)
Definition: isl_space.c:2816
__isl_export __isl_give isl_space * isl_space_domain(__isl_take isl_space *space)
Definition: isl_space.c:2138
isl_dim_type
Definition: space_type.h:13
static Signature range
static Signature domain
n
Definition: youcefn.c:8