#include <stdlib.h>
#include <string.h>
#include <isl_space_private.h>
#include <isl_id_private.h>
#include <isl_reordering.h>
isl_ctx *isl_space_get_ctx(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_alloc(isl_ctx *ctx,
unsigned nparam, unsigned n_in, unsigned n_out)
{ … }
static __isl_give isl_space *mark_as_set(__isl_take isl_space *space)
{ … }
isl_bool isl_space_is_set(__isl_keep isl_space *space)
{ … }
isl_stat isl_space_check_is_set(__isl_keep isl_space *space)
{ … }
isl_bool isl_space_is_map(__isl_keep isl_space *space)
{ … }
static isl_stat isl_space_check_is_map(__isl_keep isl_space *space)
{ … }
isl_stat isl_space_check_domain_is_wrapping(__isl_keep isl_space *space)
{ … }
isl_stat isl_space_check_range_is_wrapping(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_set_alloc(isl_ctx *ctx,
unsigned nparam, unsigned dim)
{ … }
static __isl_give isl_space *mark_as_params(isl_space *space)
{ … }
isl_bool isl_space_is_params(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_params_alloc(isl_ctx *ctx, unsigned nparam)
{ … }
__isl_give isl_space *isl_space_unit(isl_ctx *ctx)
{ … }
static isl_size global_pos(__isl_keep isl_space *space,
enum isl_dim_type type, unsigned pos)
{ … }
static __isl_give isl_space *extend_ids(__isl_take isl_space *space)
{ … }
static __isl_give isl_space *set_id(__isl_take isl_space *space,
enum isl_dim_type type, unsigned pos, __isl_take isl_id *id)
{ … }
static __isl_keep isl_id *get_id(__isl_keep isl_space *space,
enum isl_dim_type type, unsigned pos)
{ … }
static __isl_keep isl_space *isl_space_peek_nested(__isl_keep isl_space *space,
int pos)
{ … }
static unsigned offset(__isl_keep isl_space *space, enum isl_dim_type type)
{ … }
static unsigned n(__isl_keep isl_space *space, enum isl_dim_type type)
{ … }
isl_size isl_space_dim(__isl_keep isl_space *space, enum isl_dim_type type)
{ … }
isl_size isl_space_wrapped_dim(__isl_keep isl_space *space,
enum isl_dim_type outer, enum isl_dim_type inner)
{ … }
unsigned isl_space_offset(__isl_keep isl_space *space, enum isl_dim_type type)
{ … }
static __isl_give isl_space *copy_ids(__isl_take isl_space *dst,
enum isl_dim_type dst_type, unsigned offset, __isl_keep isl_space *src,
enum isl_dim_type src_type)
{ … }
__isl_give isl_space *isl_space_dup(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_cow(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_copy(__isl_keep isl_space *space)
{ … }
__isl_null isl_space *isl_space_free(__isl_take isl_space *space)
{ … }
static int name_ok(isl_ctx *ctx, const char *s)
{ … }
static __isl_keep isl_space *isl_space_get_nested(__isl_keep isl_space *space,
int pos)
{ … }
static __isl_give isl_space *isl_space_take_nested(__isl_keep isl_space *space,
int pos)
{ … }
static __isl_give isl_space *isl_space_restore_nested(
__isl_take isl_space *space, int pos, __isl_take isl_space *nested)
{ … }
static int space_can_have_id(__isl_keep isl_space *space,
enum isl_dim_type type)
{ … }
isl_bool isl_space_has_tuple_id(__isl_keep isl_space *space,
enum isl_dim_type type)
{ … }
isl_bool isl_space_has_domain_tuple_id(__isl_keep isl_space *space)
{ … }
isl_bool isl_space_has_range_tuple_id(__isl_keep isl_space *space)
{ … }
__isl_give isl_id *isl_space_get_tuple_id(__isl_keep isl_space *space,
enum isl_dim_type type)
{ … }
__isl_give isl_id *isl_space_get_domain_tuple_id(
__isl_keep isl_space *space)
{ … }
__isl_give isl_id *isl_space_get_range_tuple_id(
__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_set_tuple_id(__isl_take isl_space *space,
enum isl_dim_type type, __isl_take isl_id *id)
{ … }
__isl_give isl_space *isl_space_set_domain_tuple_id(
__isl_take isl_space *space, __isl_take isl_id *id)
{ … }
__isl_give isl_space *isl_space_set_range_tuple_id(
__isl_take isl_space *space, __isl_take isl_id *id)
{ … }
__isl_give isl_space *isl_space_reset_tuple_id(__isl_take isl_space *space,
enum isl_dim_type type)
{ … }
__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)
{ … }
__isl_give isl_space *isl_space_reset_dim_id(__isl_take isl_space *space,
enum isl_dim_type type, unsigned pos)
{ … }
isl_bool isl_space_has_dim_id(__isl_keep isl_space *space,
enum isl_dim_type type, unsigned pos)
{ … }
__isl_give isl_id *isl_space_get_dim_id(__isl_keep isl_space *space,
enum isl_dim_type type, unsigned pos)
{ … }
__isl_give isl_space *isl_space_set_tuple_name(__isl_take isl_space *space,
enum isl_dim_type type, const char *s)
{ … }
isl_bool isl_space_has_tuple_name(__isl_keep isl_space *space,
enum isl_dim_type type)
{ … }
__isl_keep const char *isl_space_get_tuple_name(__isl_keep isl_space *space,
enum isl_dim_type type)
{ … }
__isl_give isl_space *isl_space_set_dim_name(__isl_take isl_space *space,
enum isl_dim_type type, unsigned pos,
const char *s)
{ … }
isl_bool isl_space_has_dim_name(__isl_keep isl_space *space,
enum isl_dim_type type, unsigned pos)
{ … }
__isl_keep const char *isl_space_get_dim_name(__isl_keep isl_space *space,
enum isl_dim_type type, unsigned pos)
{ … }
int isl_space_find_dim_by_id(__isl_keep isl_space *space,
enum isl_dim_type type, __isl_keep isl_id *id)
{ … }
int isl_space_find_dim_by_name(__isl_keep isl_space *space,
enum isl_dim_type type, const char *name)
{ … }
__isl_give isl_space *isl_space_reset_user(__isl_take isl_space *space)
{ … }
static __isl_keep isl_id *tuple_id(__isl_keep isl_space *space,
enum isl_dim_type type)
{ … }
static __isl_keep isl_space *nested(__isl_keep isl_space *space,
enum isl_dim_type type)
{ … }
isl_bool isl_space_has_equal_tuples(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
static isl_stat check_match(__isl_keep isl_space *space, isl_bool match)
{ … }
isl_stat isl_space_check_equal_tuples(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
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)
{ … }
isl_bool isl_space_wrapped_tuple_is_equal(__isl_keep isl_space *space1,
enum isl_dim_type outer, enum isl_dim_type inner,
__isl_keep isl_space *space2, enum isl_dim_type type2)
{ … }
isl_stat isl_space_check_wrapped_tuple_is_equal(__isl_keep isl_space *space1,
enum isl_dim_type outer, enum isl_dim_type inner,
__isl_keep isl_space *space2, enum isl_dim_type type2)
{ … }
static isl_bool match(__isl_keep isl_space *space1, enum isl_dim_type type1,
__isl_keep isl_space *space2, enum isl_dim_type type2)
{ … }
isl_bool isl_space_has_equal_params(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
isl_bool isl_space_has_equal_ids(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
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)
{ … }
static void get_ids(__isl_keep isl_space *space, enum isl_dim_type type,
unsigned first, unsigned n, __isl_keep isl_id **ids)
{ … }
static __isl_give isl_space *space_extend(__isl_take isl_space *space,
unsigned nparam, unsigned n_in, unsigned n_out)
{ … }
__isl_give isl_space *isl_space_extend(__isl_take isl_space *space,
unsigned nparam, unsigned n_in, unsigned n_out)
{ … }
__isl_give isl_space *isl_space_add_dims(__isl_take isl_space *space,
enum isl_dim_type type, unsigned n)
{ … }
__isl_give isl_space *isl_space_add_param_id(__isl_take isl_space *space,
__isl_take isl_id *id)
{ … }
static int valid_dim_type(enum isl_dim_type type)
{ … }
#undef TYPE
#define TYPE …
#include "check_type_range_templ.c"
__isl_give isl_space *isl_space_insert_dims(__isl_take isl_space *space,
enum isl_dim_type type, unsigned pos, unsigned n)
{ … }
__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)
{ … }
isl_stat isl_space_check_equal_params(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
__isl_give isl_space *isl_space_join(__isl_take isl_space *left,
__isl_take isl_space *right)
{ … }
__isl_give isl_space *isl_space_product(__isl_take isl_space *left,
__isl_take isl_space *right)
{ … }
__isl_give isl_space *isl_space_domain_product(__isl_take isl_space *left,
__isl_take isl_space *right)
{ … }
__isl_give isl_space *isl_space_range_product(__isl_take isl_space *left,
__isl_take isl_space *right)
{ … }
__isl_give isl_space *isl_space_domain_factor_domain(
__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_domain_factor_range(
__isl_take isl_space *space)
{ … }
static __isl_give isl_space *range_factor_domain(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_range_factor_domain(
__isl_take isl_space *space)
{ … }
static __isl_give isl_space *set_factor_domain(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_factor_domain(__isl_take isl_space *space)
{ … }
static __isl_give isl_space *range_factor_range(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_range_factor_range(
__isl_take isl_space *space)
{ … }
static __isl_give isl_space *set_factor_range(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_factor_range(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_domain_wrapped_domain(
__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_domain_wrapped_range(
__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_range_wrapped_domain(
__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_range_wrapped_range(
__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_map_from_set(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_map_from_domain_and_range(
__isl_take isl_space *domain, __isl_take isl_space *range)
{ … }
static __isl_give isl_space *set_ids(__isl_take isl_space *space,
enum isl_dim_type type,
unsigned first, unsigned n, __isl_take isl_id **ids)
{ … }
__isl_give isl_space *isl_space_reverse(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_range_reverse(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_drop_dims(__isl_take isl_space *space,
enum isl_dim_type type, unsigned first, unsigned num)
{ … }
__isl_give isl_space *isl_space_drop_inputs(__isl_take isl_space *space,
unsigned first, unsigned n)
{ … }
__isl_give isl_space *isl_space_drop_outputs(__isl_take isl_space *space,
unsigned first, unsigned n)
{ … }
__isl_give isl_space *isl_space_drop_all_params(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_domain(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_from_domain(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_range(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_from_range(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_domain_map(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_range_map(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_params(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_set_from_params(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_add_unnamed_tuple_ui(
__isl_take isl_space *space, unsigned dim)
{ … }
__isl_give isl_space *isl_space_add_named_tuple_id_ui(
__isl_take isl_space *space, __isl_take isl_id *tuple_id, unsigned dim)
{ … }
static isl_stat check_fresh_params(__isl_keep isl_space *space,
__isl_keep isl_multi_id *tuple)
{ … }
static __isl_give isl_space *add_bind_params(__isl_take isl_space *space,
__isl_keep isl_multi_id *tuple)
{ … }
__isl_give isl_space *isl_space_bind_set(__isl_take isl_space *space,
__isl_keep isl_multi_id *tuple)
{ … }
__isl_give isl_space *isl_space_bind_map_domain(__isl_take isl_space *space,
__isl_keep isl_multi_id *tuple)
{ … }
__isl_give isl_space *isl_space_bind_domain_wrapped_domain(
__isl_take isl_space *space, __isl_keep isl_multi_id *tuple)
{ … }
static __isl_give isl_space *isl_space_insert_domain(
__isl_take isl_space *space, __isl_take isl_space *domain)
{ … }
__isl_give isl_space *isl_space_unbind_params_insert_domain(
__isl_take isl_space *space, __isl_keep isl_multi_id *tuple)
{ … }
__isl_give isl_space *isl_space_underlying(__isl_take isl_space *space,
unsigned n_div)
{ … }
isl_bool isl_space_is_equal(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
isl_bool isl_space_has_domain_tuples(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
isl_bool isl_space_has_range_tuples(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
isl_stat isl_space_check_domain_tuples(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
isl_stat isl_space_check_domain_wrapped_domain_tuples(
__isl_keep isl_space *space1, __isl_keep isl_space *space2)
{ … }
isl_bool isl_space_is_domain_internal(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
isl_bool isl_space_is_domain(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
isl_bool isl_space_is_range_internal(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
isl_bool isl_space_is_range(__isl_keep isl_space *space1,
__isl_keep isl_space *space2)
{ … }
static uint32_t isl_hash_params(uint32_t hash, __isl_keep isl_space *space)
{ … }
static uint32_t isl_hash_tuples(uint32_t hash, __isl_keep isl_space *space)
{ … }
static uint32_t isl_hash_tuples_domain(uint32_t hash,
__isl_keep isl_space *space)
{ … }
uint32_t isl_space_get_tuple_hash(__isl_keep isl_space *space)
{ … }
uint32_t isl_space_get_full_hash(__isl_keep isl_space *space)
{ … }
uint32_t isl_space_get_tuple_domain_hash(__isl_keep isl_space *space)
{ … }
isl_bool isl_space_is_wrapping(__isl_keep isl_space *space)
{ … }
isl_bool isl_space_domain_is_wrapping(__isl_keep isl_space *space)
{ … }
isl_bool isl_space_range_is_wrapping(__isl_keep isl_space *space)
{ … }
isl_bool isl_space_is_product(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_wrap(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_unwrap(__isl_take isl_space *space)
{ … }
isl_bool isl_space_is_named_or_nested(__isl_keep isl_space *space,
enum isl_dim_type type)
{ … }
isl_bool isl_space_may_be_set(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_reset(__isl_take isl_space *space,
enum isl_dim_type type)
{ … }
__isl_give isl_space *isl_space_flatten(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_flatten_domain(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_flatten_range(__isl_take isl_space *space)
{ … }
__isl_give isl_space *isl_space_replace_params(__isl_take isl_space *dst,
__isl_keep isl_space *src)
{ … }
__isl_give isl_space *isl_space_copy_ids_if_unset(__isl_take isl_space *dst,
enum isl_dim_type dst_type, __isl_keep isl_space *src,
enum isl_dim_type src_type)
{ … }
__isl_give isl_space *isl_space_lift(__isl_take isl_space *space,
unsigned n_local)
{ … }
isl_bool isl_space_can_zip(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_zip(__isl_take isl_space *space)
{ … }
isl_bool isl_space_can_curry(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_curry(__isl_take isl_space *space)
{ … }
isl_bool isl_space_can_range_curry(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_range_curry(__isl_take isl_space *space)
{ … }
isl_bool isl_space_can_uncurry(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_uncurry(__isl_take isl_space *space)
{ … }
isl_bool isl_space_has_named_params(__isl_keep isl_space *space)
{ … }
isl_stat isl_space_check_named_params(__isl_keep isl_space *space)
{ … }
__isl_give isl_space *isl_space_align_params(__isl_take isl_space *space1,
__isl_take isl_space *space2)
{ … }
__isl_give isl_space *isl_space_extend_domain_with_range(
__isl_take isl_space *space, __isl_take isl_space *model)
{ … }
static int isl_space_cmp_type(__isl_keep isl_space *space1,
__isl_keep isl_space *space2, enum isl_dim_type type)
{ … }
int isl_space_cmp(__isl_keep isl_space *space1, __isl_keep isl_space *space2)
{ … }