2015-02-05 04:55:43 +08:00
|
|
|
#ifndef ISL_VEC_PRIVATE_H
|
|
|
|
#define ISL_VEC_PRIVATE_H
|
|
|
|
|
|
|
|
#include <isl_blk.h>
|
|
|
|
#include <isl/vec.h>
|
|
|
|
|
|
|
|
struct isl_vec {
|
|
|
|
int ref;
|
|
|
|
|
|
|
|
struct isl_ctx *ctx;
|
|
|
|
|
|
|
|
unsigned size;
|
|
|
|
isl_int *el;
|
|
|
|
|
|
|
|
struct isl_blk block;
|
|
|
|
};
|
|
|
|
|
2016-03-26 03:38:18 +08:00
|
|
|
uint32_t isl_vec_get_hash(__isl_keep isl_vec *vec);
|
|
|
|
|
2015-02-05 04:55:43 +08:00
|
|
|
__isl_give isl_vec *isl_vec_cow(__isl_take isl_vec *vec);
|
|
|
|
|
2020-08-21 13:17:29 +08:00
|
|
|
void isl_vec_lcm(__isl_keep isl_vec *vec, isl_int *lcm);
|
2015-02-05 04:55:43 +08:00
|
|
|
__isl_give isl_vec *isl_vec_set(__isl_take isl_vec *vec, isl_int v);
|
|
|
|
|
2017-07-04 23:54:11 +08:00
|
|
|
isl_bool isl_vec_is_zero(__isl_keep isl_vec *vec);
|
|
|
|
|
2016-05-04 22:41:36 +08:00
|
|
|
__isl_give isl_vec *isl_vec_expand(__isl_take isl_vec *vec, int pos, int n,
|
|
|
|
int *exp, int expanded);
|
|
|
|
|
2015-02-05 04:55:43 +08:00
|
|
|
#endif
|