Polly 20.0.0git
isl_val_private.h
Go to the documentation of this file.
1#ifndef ISL_VAL_PRIVATE_H
2#define ISL_VAL_PRIVATE_H
3
4#include <isl_int.h>
5#include <isl/val.h>
6#include <isl/local_space.h>
7#include <isl_reordering.h>
8
9/* Represents a "value", which may be an integer value, a rational value,
10 * plus or minus infinity or "not a number".
11 *
12 * Internally, +infinity is represented as 1/0,
13 * -infinity as -1/0 and NaN as 0/0.
14 *
15 * A rational value is always normalized before it is passed to the user.
16 */
17struct isl_val {
18 int ref;
20
23};
24
25#undef EL
26#define EL isl_val
27
28#include <isl_list_templ.h>
29
34 isl_int n, isl_int d);
36
38
40 unsigned first, unsigned n);
42 enum isl_dim_type type, unsigned first, unsigned n);
44 enum isl_dim_type type, unsigned pos, const char *s);
45
52
54 __isl_keep isl_val *val2);
55
56#undef BASE
57#define BASE val
58
59#include <isl_multi_templ.h>
60
61#endif
#define __isl_take
Definition: ctx.h:22
isl_stat
Definition: ctx.h:84
#define __isl_give
Definition: ctx.h:19
#define __isl_keep
Definition: ctx.h:25
isl_bool
Definition: ctx.h:89
__isl_export __isl_give ISL_HMAP __isl_take ISL_KEY __isl_take ISL_VAL * val
Definition: hmap.h:32
static unsigned pos(__isl_keep isl_space *space, enum isl_dim_type type)
Definition: isl_map.c:70
enum isl_fold type
Definition: isl_test.c:4017
__isl_give isl_val * isl_val_cow(__isl_take isl_val *val)
Definition: isl_val.c:250
__isl_give isl_val * isl_val_int_from_isl_int(isl_ctx *ctx, isl_int n)
Definition: isl_val.c:185
__isl_give isl_val * isl_val_insert_dims(__isl_take isl_val *v, enum isl_dim_type type, unsigned first, unsigned n)
Definition: isl_val.c:1535
isl_stat isl_val_get_num_isl_int(__isl_keep isl_val *v, isl_int *n)
Definition: isl_val.c:299
isl_bool isl_val_plain_is_equal(__isl_keep isl_val *val1, __isl_keep isl_val *val2)
Definition: isl_val.c:1505
__isl_give isl_val * isl_val_set_dim_name(__isl_take isl_val *v, enum isl_dim_type type, unsigned pos, const char *s)
Definition: isl_val.c:1548
__isl_give isl_val * isl_val_scale_down_val(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:956
__isl_give isl_val * isl_val_alloc(isl_ctx *ctx)
Definition: isl_val.c:22
__isl_give isl_val * isl_val_normalize(__isl_take isl_val *v)
Definition: isl_val.c:385
__isl_give isl_val * isl_val_mod_val(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:1008
__isl_give isl_val * isl_val_scale_val(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:843
isl_bool isl_val_involves_dims(__isl_keep isl_val *v, enum isl_dim_type type, unsigned first, unsigned n)
Definition: isl_val.c:1519
__isl_give isl_val * isl_val_rat_from_isl_int(isl_ctx *ctx, isl_int n, isl_int d)
Definition: isl_val.c:202
isl_dim_type
Definition: space_type.h:13
isl_ctx * ctx
isl_int d
isl_int n
n
Definition: youcefn.c:8