|
Packit |
fb9d21 |
#ifndef ISL_LOCAL_SPACE_H
|
|
Packit |
fb9d21 |
#define ISL_LOCAL_SPACE_H
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
#include <isl/aff_type.h>
|
|
Packit |
fb9d21 |
#include <isl/space.h>
|
|
Packit |
fb9d21 |
#include <isl/printer.h>
|
|
Packit |
fb9d21 |
#include <isl/map_type.h>
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
#if defined(__cplusplus)
|
|
Packit |
fb9d21 |
extern "C" {
|
|
Packit |
fb9d21 |
#endif
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
struct isl_local_space;
|
|
Packit |
fb9d21 |
typedef struct isl_local_space isl_local_space;
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
isl_ctx *isl_local_space_get_ctx(__isl_keep isl_local_space *ls);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_from_space(__isl_take isl_space *dim);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_copy(
|
|
Packit |
fb9d21 |
__isl_keep isl_local_space *ls);
|
|
Packit |
fb9d21 |
__isl_null isl_local_space *isl_local_space_free(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
isl_bool isl_local_space_is_params(__isl_keep isl_local_space *ls);
|
|
Packit |
fb9d21 |
isl_bool isl_local_space_is_set(__isl_keep isl_local_space *ls);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_set_tuple_id(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, __isl_take isl_id *id);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
int isl_local_space_dim(__isl_keep isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type);
|
|
Packit |
fb9d21 |
isl_bool isl_local_space_has_dim_name(__isl_keep isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, unsigned pos);
|
|
Packit |
fb9d21 |
const char *isl_local_space_get_dim_name(__isl_keep isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, unsigned pos);
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_set_dim_name(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, unsigned pos, const char *s);
|
|
Packit |
fb9d21 |
isl_bool isl_local_space_has_dim_id(__isl_keep isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, unsigned pos);
|
|
Packit |
fb9d21 |
__isl_give isl_id *isl_local_space_get_dim_id(__isl_keep isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, unsigned pos);
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_set_dim_id(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, unsigned pos, __isl_take isl_id *id);
|
|
Packit |
fb9d21 |
__isl_give isl_space *isl_local_space_get_space(__isl_keep isl_local_space *ls);
|
|
Packit |
fb9d21 |
__isl_give isl_aff *isl_local_space_get_div(__isl_keep isl_local_space *ls,
|
|
Packit |
fb9d21 |
int pos);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
int isl_local_space_find_dim_by_name(__isl_keep isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, const char *name);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_domain(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls);
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_range(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls);
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_from_domain(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls);
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_add_dims(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls, enum isl_dim_type type, unsigned n);
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_drop_dims(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, unsigned first, unsigned n);
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_insert_dims(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls,
|
|
Packit |
fb9d21 |
enum isl_dim_type type, unsigned first, unsigned n);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_intersect(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls1, __isl_take isl_local_space *ls2);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_wrap(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
isl_bool isl_local_space_is_equal(__isl_keep isl_local_space *ls1,
|
|
Packit |
fb9d21 |
__isl_keep isl_local_space *ls2);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
__isl_give isl_basic_map *isl_local_space_lifting(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_flatten_domain(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls);
|
|
Packit |
fb9d21 |
__isl_give isl_local_space *isl_local_space_flatten_range(
|
|
Packit |
fb9d21 |
__isl_take isl_local_space *ls);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
__isl_give isl_printer *isl_printer_print_local_space(__isl_take isl_printer *p,
|
|
Packit |
fb9d21 |
__isl_keep isl_local_space *ls);
|
|
Packit |
fb9d21 |
void isl_local_space_dump(__isl_keep isl_local_space *ls);
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
#if defined(__cplusplus)
|
|
Packit |
fb9d21 |
}
|
|
Packit |
fb9d21 |
#endif
|
|
Packit |
fb9d21 |
|
|
Packit |
fb9d21 |
#endif
|