Polly 20.0.0git
val.h
Go to the documentation of this file.
1#ifndef ISL_VAL_H
2#define ISL_VAL_H
3
4#include <isl/stdint.h>
5#include <isl/ctx.h>
6#include <isl/list.h>
7#include <isl/multi.h>
8#include <isl/printer.h>
9#include <isl/val_type.h>
10
11#if defined(__cplusplus)
12extern "C" {
13#endif
14
24
39__isl_give isl_val *isl_val_int_from_ui(isl_ctx *ctx, unsigned long u);
41 size_t size, const void *chunks);
42
45
56 void *chunks);
57
59
81__isl_give isl_val *isl_val_add_ui(__isl_take isl_val *v1, unsigned long v2);
84__isl_give isl_val *isl_val_sub_ui(__isl_take isl_val *v1, unsigned long v2);
87__isl_give isl_val *isl_val_mul_ui(__isl_take isl_val *v1, unsigned long v2);
90__isl_give isl_val *isl_val_div_ui(__isl_take isl_val *v1, unsigned long v2);
97
124
126int isl_val_cmp_si(__isl_keep isl_val *v, long i);
127
144
147 __isl_keep isl_val *v2);
148
155
157
163
166 const char *str);
171
174
175#if defined(__cplusplus)
176}
177#endif
178
179#endif
#define __isl_export
Definition: ctx.h:31
#define __isl_take
Definition: ctx.h:22
isl_stat
Definition: ctx.h:84
#define __isl_constructor
Definition: ctx.h:37
#define __isl_give
Definition: ctx.h:19
#define __isl_null
Definition: ctx.h:28
#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
__isl_export __isl_give ISL_HMAP __isl_take ISL_KEY __isl_take ISL_VAL * val
Definition: hmap.h:32
const char * p
Definition: isl_test.c:8643
const char * size
Definition: isl_test.c:1570
const char * str
Definition: isl_test.c:2095
#define ISL_DECLARE_EXPORTED_LIST_FN_READ(EL)
Definition: list.h:118
#define ISL_DECLARE_EXPORTED_LIST_FN(EL)
Definition: list.h:110
#define ISL_DECLARE_MULTI_DIM_ID(BASE)
Definition: multi.h:193
#define ISL_DECLARE_MULTI_DIMS(BASE)
Definition: multi.h:167
#define ISL_DECLARE_MULTI_MIN_MAX(BASE)
Definition: multi.h:130
#define ISL_DECLARE_MULTI_NAN(BASE)
Definition: multi.h:156
#define ISL_DECLARE_MULTI_WITH_DOMAIN(BASE)
Definition: multi.h:238
#define ISL_DECLARE_MULTI(BASE)
Definition: multi.h:13
#define ISL_DECLARE_MULTI_ZERO(BASE)
Definition: multi.h:148
#define ISL_DECLARE_MULTI_TUPLE_ID(BASE)
Definition: multi.h:210
#define ISL_DECLARE_MULTI_ARITH(BASE)
Definition: multi.h:100
__isl_export __isl_give isl_val * isl_val_abs(__isl_take isl_val *v)
Definition: isl_val.c:456
__isl_export isl_bool isl_val_is_nan(__isl_keep isl_val *v)
Definition: isl_val.c:1161
__isl_give isl_multi_val * isl_multi_val_mod_val(__isl_take isl_multi_val *mv, __isl_take isl_val *v)
Definition: isl_val.c:1615
__isl_export isl_bool isl_val_lt(__isl_keep isl_val *v1, __isl_keep isl_val *v2)
Definition: isl_val.c:1285
__isl_export isl_bool isl_val_is_neginfty(__isl_keep isl_val *v)
Definition: isl_val.c:1181
__isl_give char * isl_multi_val_to_str(__isl_keep isl_multi_val *mv)
__isl_export __isl_give isl_val * isl_val_mod(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:979
__isl_give isl_printer * isl_printer_print_multi_val(__isl_take isl_printer *p, __isl_keep isl_multi_val *mv)
Definition: isl_output.c:3231
__isl_give isl_val * isl_val_copy(__isl_keep isl_val *v)
Definition: isl_val.c:219
__isl_export int isl_val_cmp_si(__isl_keep isl_val *v, long i)
Definition: isl_val.c:1394
__isl_give isl_val * isl_val_add_ui(__isl_take isl_val *v1, unsigned long v2)
Definition: isl_val.c:685
__isl_export isl_bool isl_val_is_negone(__isl_keep isl_val *v)
Definition: isl_val.c:1214
__isl_give isl_val * isl_val_int_from_chunks(isl_ctx *ctx, size_t n, size_t size, const void *chunks)
Definition: isl_val_gmp.c:71
__isl_give isl_val * isl_val_set_si(__isl_take isl_val *v, long i)
Definition: isl_val.c:144
__isl_export __isl_give isl_val * isl_val_floor(__isl_take isl_val *v)
Definition: isl_val.c:470
__isl_export isl_bool isl_val_is_infty(__isl_keep isl_val *v)
Definition: isl_val.c:1171
isl_bool isl_multi_val_is_zero(__isl_keep isl_multi_val *mv)
Definition: isl_val.c:1594
__isl_export __isl_give isl_val * isl_val_inv(__isl_take isl_val *v)
Definition: isl_val.c:429
__isl_give isl_val * isl_val_div_ui(__isl_take isl_val *v1, unsigned long v2)
Definition: isl_val.c:928
__isl_export __isl_give isl_val * isl_val_max(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:598
__isl_export __isl_give isl_val * isl_val_trunc(__isl_take isl_val *v)
Definition: isl_val.c:512
__isl_give isl_printer * isl_printer_print_val(__isl_take isl_printer *p, __isl_keep isl_val *v)
Definition: isl_val.c:1471
__isl_export __isl_give isl_val * isl_val_ceil(__isl_take isl_val *v)
Definition: isl_val.c:491
__isl_export __isl_give isl_val * isl_val_div(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:875
__isl_give isl_val * isl_val_sub_ui(__isl_take isl_val *v1, unsigned long v2)
Definition: isl_val.c:763
__isl_export __isl_give isl_val * isl_val_add(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:626
__isl_export __isl_give isl_val * isl_val_one(isl_ctx *ctx)
Definition: isl_val.c:48
__isl_export isl_bool isl_val_is_pos(__isl_keep isl_val *v)
Definition: isl_val.c:1224
__isl_export __isl_give isl_val * isl_val_neginfty(isl_ctx *ctx)
Definition: isl_val.c:112
__isl_export __isl_give isl_val * isl_val_zero(isl_ctx *ctx)
Definition: isl_val.c:41
__isl_give char * isl_val_to_str(__isl_keep isl_val *v)
__isl_export isl_bool isl_val_abs_eq(__isl_keep isl_val *v1, __isl_keep isl_val *v2)
Definition: isl_val.c:1445
__isl_overload __isl_give isl_multi_val * isl_multi_val_add_val(__isl_take isl_multi_val *mv, __isl_take isl_val *v)
Definition: isl_val.c:1601
__isl_export int isl_val_sgn(__isl_keep isl_val *v)
Definition: isl_val.c:1272
void isl_multi_val_dump(__isl_keep isl_multi_val *mv)
__isl_constructor __isl_give isl_val * isl_val_int_from_si(isl_ctx *ctx, long i)
Definition: isl_val.c:128
isl_ctx * isl_val_get_ctx(__isl_keep isl_val *val)
Definition: isl_val.c:355
__isl_export __isl_give isl_val * isl_val_gcd(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:1016
__isl_export isl_bool isl_val_is_nonpos(__isl_keep isl_val *v)
Definition: isl_val.c:1257
isl_size isl_val_n_abs_num_chunks(__isl_keep isl_val *v, size_t size)
Definition: isl_val_gmp.c:89
void isl_val_dump(__isl_keep isl_val *v)
__isl_give isl_val * isl_val_2exp(__isl_take isl_val *v)
Definition: isl_val.c:563
__isl_export isl_bool isl_val_is_divisible_by(__isl_keep isl_val *v1, __isl_keep isl_val *v2)
Definition: isl_val.c:964
__isl_export __isl_give isl_val * isl_val_infty(isl_ctx *ctx)
Definition: isl_val.c:96
__isl_export long isl_val_get_den_si(__isl_keep isl_val *v)
Definition: isl_val.c:314
__isl_export isl_bool isl_val_is_neg(__isl_keep isl_val *v)
Definition: isl_val.c:1234
__isl_export __isl_give isl_val * isl_val_nan(isl_ctx *ctx)
Definition: isl_val.c:62
__isl_constructor __isl_give isl_multi_val * isl_multi_val_read_from_str(isl_ctx *ctx, const char *str)
isl_bool isl_val_eq_si(__isl_keep isl_val *v, long i)
Definition: isl_val.c:1434
__isl_null isl_val * isl_val_free(__isl_take isl_val *v)
Definition: isl_val.c:263
__isl_export isl_bool isl_val_gt(__isl_keep isl_val *v1, __isl_keep isl_val *v2)
Definition: isl_val.c:1318
__isl_give isl_val * isl_val_get_den_val(__isl_keep isl_val *v)
Definition: isl_val.c:331
__isl_export isl_bool isl_val_is_zero(__isl_keep isl_val *v)
Definition: isl_val.c:1191
__isl_export __isl_give isl_val * isl_val_sub(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:704
__isl_export __isl_give isl_val * isl_val_pow2(__isl_take isl_val *v)
Definition: isl_val.c:532
__isl_export isl_bool isl_val_eq(__isl_keep isl_val *v1, __isl_keep isl_val *v2)
Definition: isl_val.c:1421
__isl_give isl_val * isl_val_int_from_ui(isl_ctx *ctx, unsigned long u)
Definition: isl_val.c:169
__isl_export isl_bool isl_val_ne(__isl_keep isl_val *v1, __isl_keep isl_val *v2)
Definition: isl_val.c:1458
isl_stat isl_val_get_abs_num_chunks(__isl_keep isl_val *v, size_t size, void *chunks)
Definition: isl_val_gmp.c:113
__isl_export isl_bool isl_val_is_one(__isl_keep isl_val *v)
Definition: isl_val.c:1201
__isl_export __isl_give isl_val * isl_val_neg(__isl_take isl_val *v)
Definition: isl_val.c:410
__isl_export long isl_val_get_num_si(__isl_keep isl_val *v)
Definition: isl_val.c:282
__isl_give isl_val * isl_val_gcdext(__isl_take isl_val *v1, __isl_take isl_val *v2, __isl_give isl_val **x, __isl_give isl_val **y)
Definition: isl_val.c:1092
double isl_val_get_d(__isl_keep isl_val *v)
Definition: isl_val.c:343
__isl_give isl_val * isl_val_mul_ui(__isl_take isl_val *v1, unsigned long v2)
Definition: isl_val.c:851
__isl_export isl_bool isl_val_is_int(__isl_keep isl_val *v)
Definition: isl_val.c:1141
__isl_export isl_bool isl_val_ge(__isl_keep isl_val *v1, __isl_keep isl_val *v2)
Definition: isl_val.c:1383
__isl_export __isl_give isl_val * isl_val_min(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:570
__isl_constructor __isl_give isl_val * isl_val_read_from_str(isl_ctx *ctx, const char *str)
__isl_export isl_bool isl_val_le(__isl_keep isl_val *v1, __isl_keep isl_val *v2)
Definition: isl_val.c:1350
__isl_export isl_bool isl_val_is_rat(__isl_keep isl_val *v)
Definition: isl_val.c:1151
uint32_t isl_val_get_hash(__isl_keep isl_val *val)
Definition: isl_val.c:362
__isl_export __isl_give isl_val * isl_val_negone(isl_ctx *ctx)
Definition: isl_val.c:55
__isl_export __isl_give isl_val * isl_val_mul(__isl_take isl_val *v1, __isl_take isl_val *v2)
Definition: isl_val.c:782
__isl_export isl_bool isl_val_is_nonneg(__isl_keep isl_val *v)
Definition: isl_val.c:1244
isl_bool isl_val_gt_si(__isl_keep isl_val *v, long i)
Definition: isl_val.c:1325
struct isl_multi_val isl_multi_val
Definition: val_type.h:16
n
Definition: youcefn.c:8