Polly 20.0.0git
Classes | Macros | Functions
isl_aff_private.h File Reference
#include <isl/aff.h>
#include <isl/vec.h>
#include <isl/mat.h>
#include <isl/local_space.h>
#include <isl_int.h>
#include <isl_reordering.h>
#include <isl/stream.h>
#include <isl_list_templ.h>
#include <isl_pw_templ.h>
#include <isl_multi_templ.h>

Go to the source code of this file.

Classes

struct  isl_aff
 
struct  isl_pw_aff_piece
 
struct  isl_pw_aff
 
struct  isl_pw_multi_aff_piece
 
struct  isl_pw_multi_aff
 

Macros

#define EL   isl_aff
 
#define PW   isl_pw_aff
 
#define EL   isl_pw_aff
 
#define PW   isl_pw_multi_aff
 
#define BASE   aff
 
#define EL   isl_pw_multi_aff
 
#define BASE   pw_aff
 
#define DOMBASE   set
 
#define EXPLICIT_DOMAIN
 
#define EL   isl_union_pw_aff
 
#define BASE   union_pw_aff
 
#define DOMBASE   union_set
 
#define EXPLICIT_DOMAIN
 
#define EL   isl_union_pw_multi_aff
 

Functions

__isl_give isl_affisl_aff_alloc_vec (__isl_take isl_local_space *ls, __isl_take isl_vec *v)
 
__isl_give isl_affisl_aff_alloc (__isl_take isl_local_space *ls)
 
isl_size isl_aff_domain_dim (__isl_keep isl_aff *aff, enum isl_dim_type type)
 
isl_size isl_aff_domain_offset (__isl_keep isl_aff *aff, enum isl_dim_type type)
 
__isl_give isl_affisl_aff_reset_space_and_domain (__isl_take isl_aff *aff, __isl_take isl_space *space, __isl_take isl_space *domain)
 
__isl_give isl_affisl_aff_reset_domain_space (__isl_take isl_aff *aff, __isl_take isl_space *space)
 
__isl_give isl_affisl_aff_realign_domain (__isl_take isl_aff *aff, __isl_take isl_reordering *r)
 
__isl_give isl_affisl_aff_set_constant (__isl_take isl_aff *aff, isl_int v)
 
__isl_give isl_affisl_aff_set_coefficient (__isl_take isl_aff *aff, enum isl_dim_type type, int pos, isl_int v)
 
__isl_give isl_affisl_aff_add_constant (__isl_take isl_aff *aff, isl_int v)
 
__isl_give isl_affisl_aff_domain_factor_domain (__isl_take isl_aff *aff)
 
int isl_aff_plain_cmp (__isl_keep isl_aff *aff1, __isl_keep isl_aff *aff2)
 
__isl_give isl_affisl_aff_remove_unused_divs (__isl_take isl_aff *aff)
 
__isl_give isl_affisl_aff_normalize (__isl_take isl_aff *aff)
 
__isl_give isl_affisl_aff_expand_divs (__isl_take isl_aff *aff, __isl_take isl_mat *div, int *exp)
 
__isl_give isl_affisl_stream_read_aff (__isl_keep isl_stream *s)
 
__isl_give isl_pw_affisl_pw_aff_alloc_size (__isl_take isl_space *space, int n)
 
__isl_give isl_pw_affisl_pw_aff_reset_space (__isl_take isl_pw_aff *pwaff, __isl_take isl_space *space)
 
__isl_give isl_pw_affisl_pw_aff_reset_domain_space (__isl_take isl_pw_aff *pwaff, __isl_take isl_space *space)
 
__isl_give isl_pw_affisl_pw_aff_add_disjoint (__isl_take isl_pw_aff *pwaff1, __isl_take isl_pw_aff *pwaff2)
 
__isl_keep isl_affisl_pw_aff_peek_base_at (__isl_keep isl_pw_aff *pa, int pos)
 
__isl_give isl_pw_affisl_pw_aff_domain_factor_domain (__isl_take isl_pw_aff *pa)
 
__isl_give isl_pw_affisl_pw_aff_union_opt (__isl_take isl_pw_aff *pwaff1, __isl_take isl_pw_aff *pwaff2, int max)
 
__isl_give isl_pw_affisl_pw_aff_set_rational (__isl_take isl_pw_aff *pwaff)
 
__isl_give isl_pw_aff_list * isl_pw_aff_list_set_rational (__isl_take isl_pw_aff_list *list)
 
__isl_give isl_affisl_aff_scale_down (__isl_take isl_aff *aff, isl_int f)
 
__isl_give isl_pw_affisl_pw_aff_scale (__isl_take isl_pw_aff *pwaff, isl_int f)
 
__isl_give isl_pw_affisl_pw_aff_scale_down (__isl_take isl_pw_aff *pwaff, isl_int f)
 
__isl_give isl_pw_affisl_stream_read_pw_aff (__isl_keep isl_stream *s)
 
isl_bool isl_aff_matching_params (__isl_keep isl_aff *aff, __isl_keep isl_space *space)
 
isl_stat isl_aff_check_match_domain_space (__isl_keep isl_aff *aff, __isl_keep isl_space *space)
 
__isl_give isl_multi_affisl_multi_aff_dup (__isl_keep isl_multi_aff *multi)
 
__isl_give isl_multi_affisl_multi_aff_align_divs (__isl_take isl_multi_aff *maff)
 
__isl_give isl_multi_affisl_multi_aff_from_basic_set_equalities (__isl_take isl_basic_set *bset)
 
__isl_give isl_multi_affisl_multi_aff_from_aff_mat (__isl_take isl_space *space, __isl_take isl_mat *mat)
 
__isl_keep isl_multi_affisl_pw_multi_aff_peek_base_at (__isl_keep isl_pw_multi_aff *pma, int pos)
 
__isl_give isl_pw_multi_affisl_pw_multi_aff_move_dims (__isl_take isl_pw_multi_aff *pma, enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type src_type, unsigned src_pos, unsigned n)
 
__isl_give isl_pw_multi_affisl_pw_multi_aff_reset_domain_space (__isl_take isl_pw_multi_aff *pwmaff, __isl_take isl_space *space)
 
__isl_give isl_pw_multi_affisl_pw_multi_aff_reset_space (__isl_take isl_pw_multi_aff *pwmaff, __isl_take isl_space *space)
 
__isl_give isl_pw_multi_affisl_pw_multi_aff_add_disjoint (__isl_take isl_pw_multi_aff *pma1, __isl_take isl_pw_multi_aff *pma2)
 
__isl_give isl_pw_multi_affisl_pw_multi_aff_project_out (__isl_take isl_pw_multi_aff *pma, enum isl_dim_type type, unsigned first, unsigned n)
 
isl_stat isl_seq_preimage (isl_int *dst, isl_int *src, __isl_keep isl_multi_aff *ma, int n_before, int n_after, int n_div_ma, int n_div_bmap, isl_int f, isl_int c1, isl_int c2, isl_int g, int has_denom)
 
__isl_give isl_affisl_aff_substitute_equalities (__isl_take isl_aff *aff, __isl_take isl_basic_set *eq)
 
__isl_give isl_pw_multi_affisl_pw_multi_aff_substitute (__isl_take isl_pw_multi_aff *pma, unsigned pos, __isl_keep isl_pw_aff *subs)
 
__isl_give isl_pw_multi_affisl_stream_read_pw_multi_aff (__isl_keep isl_stream *s)
 
__isl_give isl_union_pw_affisl_stream_read_union_pw_aff (__isl_keep isl_stream *s)
 
isl_stat isl_pw_aff_check_named_params (__isl_keep isl_pw_aff *pa)
 
isl_stat isl_multi_aff_check_named_params (__isl_keep isl_multi_aff *ma)
 
isl_stat isl_pw_multi_aff_check_named_params (__isl_keep isl_pw_multi_aff *pma)
 
isl_bool isl_pw_aff_matching_params (__isl_keep isl_pw_aff *pa, __isl_keep isl_space *space)
 
isl_stat isl_pw_aff_check_match_domain_space (__isl_keep isl_pw_aff *pa, __isl_keep isl_space *space)
 
__isl_give isl_basic_setisl_aff_pos_basic_set (__isl_take isl_aff *aff)
 
__isl_give isl_mapisl_map_intersect_multi_pw_aff_explicit_domain (__isl_take isl_map *map, __isl_keep isl_multi_pw_aff *mpa)
 

Macro Definition Documentation

◆ BASE [1/3]

#define BASE   aff

Definition at line 228 of file isl_aff_private.h.

◆ BASE [2/3]

#define BASE   pw_aff

Definition at line 228 of file isl_aff_private.h.

◆ BASE [3/3]

#define BASE   union_pw_aff

Definition at line 228 of file isl_aff_private.h.

◆ DOMBASE [1/2]

#define DOMBASE   set

Definition at line 230 of file isl_aff_private.h.

◆ DOMBASE [2/2]

#define DOMBASE   union_set

Definition at line 230 of file isl_aff_private.h.

◆ EL [1/5]

#define EL   isl_aff

Definition at line 238 of file isl_aff_private.h.

◆ EL [2/5]

#define EL   isl_pw_aff

Definition at line 238 of file isl_aff_private.h.

◆ EL [3/5]

#define EL   isl_pw_multi_aff

Definition at line 238 of file isl_aff_private.h.

◆ EL [4/5]

#define EL   isl_union_pw_aff

Definition at line 238 of file isl_aff_private.h.

◆ EL [5/5]

#define EL   isl_union_pw_multi_aff

Definition at line 238 of file isl_aff_private.h.

◆ EXPLICIT_DOMAIN [1/2]

#define EXPLICIT_DOMAIN

Definition at line 231 of file isl_aff_private.h.

◆ EXPLICIT_DOMAIN [2/2]

#define EXPLICIT_DOMAIN

Definition at line 231 of file isl_aff_private.h.

◆ PW [1/2]

#define PW   isl_pw_aff

Definition at line 72 of file isl_aff_private.h.

◆ PW [2/2]

#define PW   isl_pw_multi_aff

Definition at line 72 of file isl_aff_private.h.

Function Documentation

◆ isl_aff_add_constant()

__isl_give isl_aff * isl_aff_add_constant ( __isl_take isl_aff aff,
isl_int  v 
)

◆ isl_aff_alloc()

__isl_give isl_aff * isl_aff_alloc ( __isl_take isl_local_space ls)

◆ isl_aff_alloc_vec()

__isl_give isl_aff * isl_aff_alloc_vec ( __isl_take isl_local_space ls,
__isl_take isl_vec v 
)

◆ isl_aff_check_match_domain_space()

isl_stat isl_aff_check_match_domain_space ( __isl_keep isl_aff aff,
__isl_keep isl_space space 
)

◆ isl_aff_domain_dim()

isl_size isl_aff_domain_dim ( __isl_keep isl_aff aff,
enum isl_dim_type  type 
)

◆ isl_aff_domain_factor_domain()

__isl_give isl_aff * isl_aff_domain_factor_domain ( __isl_take isl_aff aff)

◆ isl_aff_domain_offset()

isl_size isl_aff_domain_offset ( __isl_keep isl_aff aff,
enum isl_dim_type  type 
)

◆ isl_aff_expand_divs()

__isl_give isl_aff * isl_aff_expand_divs ( __isl_take isl_aff aff,
__isl_take isl_mat div,
int *  exp 
)

◆ isl_aff_matching_params()

isl_bool isl_aff_matching_params ( __isl_keep isl_aff aff,
__isl_keep isl_space space 
)

◆ isl_aff_normalize()

__isl_give isl_aff * isl_aff_normalize ( __isl_take isl_aff aff)

◆ isl_aff_plain_cmp()

int isl_aff_plain_cmp ( __isl_keep isl_aff aff1,
__isl_keep isl_aff aff2 
)

Definition at line 7610 of file isl_aff.c.

References cmp(), isl_local_space_cmp(), isl_seq_cmp(), and isl_seq_last_non_zero().

Referenced by isl_pw_aff_plain_cmp().

◆ isl_aff_pos_basic_set()

__isl_give isl_basic_set * isl_aff_pos_basic_set ( __isl_take isl_aff aff)

◆ isl_aff_realign_domain()

__isl_give isl_aff * isl_aff_realign_domain ( __isl_take isl_aff aff,
__isl_take isl_reordering r 
)

◆ isl_aff_remove_unused_divs()

__isl_give isl_aff * isl_aff_remove_unused_divs ( __isl_take isl_aff aff)

◆ isl_aff_reset_domain_space()

__isl_give isl_aff * isl_aff_reset_domain_space ( __isl_take isl_aff aff,
__isl_take isl_space space 
)

◆ isl_aff_reset_space_and_domain()

__isl_give isl_aff * isl_aff_reset_space_and_domain ( __isl_take isl_aff aff,
__isl_take isl_space space,
__isl_take isl_space domain 
)

Definition at line 620 of file isl_aff.c.

References aff, domain, isl_aff_reset_domain_space(), and isl_space_free().

◆ isl_aff_scale_down()

__isl_give isl_aff * isl_aff_scale_down ( __isl_take isl_aff aff,
isl_int  f 
)

◆ isl_aff_set_coefficient()

__isl_give isl_aff * isl_aff_set_coefficient ( __isl_take isl_aff aff,
enum isl_dim_type  type,
int  pos,
isl_int  v 
)

◆ isl_aff_set_constant()

__isl_give isl_aff * isl_aff_set_constant ( __isl_take isl_aff aff,
isl_int  v 
)

Definition at line 836 of file isl_aff.c.

References aff, isl_aff_cow(), isl_aff_free(), isl_aff_is_nan(), isl_int_set, and isl_vec_cow().

Referenced by extract_schedule_row().

◆ isl_aff_substitute_equalities()

__isl_give isl_aff * isl_aff_substitute_equalities ( __isl_take isl_aff aff,
__isl_take isl_basic_set eq 
)

◆ isl_map_intersect_multi_pw_aff_explicit_domain()

__isl_give isl_map * isl_map_intersect_multi_pw_aff_explicit_domain ( __isl_take isl_map map,
__isl_keep isl_multi_pw_aff mpa 
)

Definition at line 6719 of file isl_aff.c.

References isl_map_intersect_domain(), isl_multi_pw_aff_domain(), and map.

Referenced by map_from_multi_pw_aff().

◆ isl_multi_aff_align_divs()

__isl_give isl_multi_aff * isl_multi_aff_align_divs ( __isl_take isl_multi_aff maff)

◆ isl_multi_aff_check_named_params()

isl_stat isl_multi_aff_check_named_params ( __isl_keep isl_multi_aff ma)

◆ isl_multi_aff_dup()

__isl_give isl_multi_aff * isl_multi_aff_dup ( __isl_keep isl_multi_aff multi)

◆ isl_multi_aff_from_aff_mat()

__isl_give isl_multi_aff * isl_multi_aff_from_aff_mat ( __isl_take isl_space space,
__isl_take isl_mat mat 
)

◆ isl_multi_aff_from_basic_set_equalities()

__isl_give isl_multi_aff * isl_multi_aff_from_basic_set_equalities ( __isl_take isl_basic_set bset)

Definition at line 5026 of file isl_aff.c.

References extract_isl_multi_aff_from_basic_map().

Referenced by isl_vertex_get_expr().

◆ isl_pw_aff_add_disjoint()

__isl_give isl_pw_aff * isl_pw_aff_add_disjoint ( __isl_take isl_pw_aff pwaff1,
__isl_take isl_pw_aff pwaff2 
)

◆ isl_pw_aff_alloc_size()

__isl_give isl_pw_aff * isl_pw_aff_alloc_size ( __isl_take isl_space space,
int  n 
)

◆ isl_pw_aff_check_match_domain_space()

isl_stat isl_pw_aff_check_match_domain_space ( __isl_keep isl_pw_aff pa,
__isl_keep isl_space space 
)

◆ isl_pw_aff_check_named_params()

isl_stat isl_pw_aff_check_named_params ( __isl_keep isl_pw_aff pa)

◆ isl_pw_aff_domain_factor_domain()

__isl_give isl_pw_aff * isl_pw_aff_domain_factor_domain ( __isl_take isl_pw_aff pa)

◆ isl_pw_aff_list_set_rational()

__isl_give isl_pw_aff_list * isl_pw_aff_list_set_rational ( __isl_take isl_pw_aff_list *  list)

Definition at line 3880 of file isl_aff.c.

References isl_pw_aff_set_rational(), and n.

Referenced by construct_constraints().

◆ isl_pw_aff_matching_params()

isl_bool isl_pw_aff_matching_params ( __isl_keep isl_pw_aff pa,
__isl_keep isl_space space 
)

◆ isl_pw_aff_peek_base_at()

__isl_keep isl_aff * isl_pw_aff_peek_base_at ( __isl_keep isl_pw_aff pa,
int  pos 
)

◆ isl_pw_aff_reset_domain_space()

__isl_give isl_pw_aff * isl_pw_aff_reset_domain_space ( __isl_take isl_pw_aff pwaff,
__isl_take isl_space space 
)

◆ isl_pw_aff_reset_space()

__isl_give isl_pw_aff * isl_pw_aff_reset_space ( __isl_take isl_pw_aff pwaff,
__isl_take isl_space space 
)

Referenced by reset_params().

◆ isl_pw_aff_scale()

__isl_give isl_pw_aff * isl_pw_aff_scale ( __isl_take isl_pw_aff pwaff,
isl_int  f 
)

◆ isl_pw_aff_scale_down()

__isl_give isl_pw_aff * isl_pw_aff_scale_down ( __isl_take isl_pw_aff pwaff,
isl_int  f 
)

◆ isl_pw_aff_set_rational()

__isl_give isl_pw_aff * isl_pw_aff_set_rational ( __isl_take isl_pw_aff pwaff)

◆ isl_pw_aff_union_opt()

__isl_give isl_pw_aff * isl_pw_aff_union_opt ( __isl_take isl_pw_aff pwaff1,
__isl_take isl_pw_aff pwaff2,
int  max 
)

Definition at line 2849 of file isl_aff.c.

References isl_pw_aff_union_max(), and isl_pw_aff_union_min().

Referenced by map_dim_opt().

◆ isl_pw_multi_aff_add_disjoint()

__isl_give isl_pw_multi_aff * isl_pw_multi_aff_add_disjoint ( __isl_take isl_pw_multi_aff pma1,
__isl_take isl_pw_multi_aff pma2 
)

◆ isl_pw_multi_aff_check_named_params()

isl_stat isl_pw_multi_aff_check_named_params ( __isl_keep isl_pw_multi_aff pma)

◆ isl_pw_multi_aff_move_dims()

__isl_give isl_pw_multi_aff * isl_pw_multi_aff_move_dims ( __isl_take isl_pw_multi_aff pma,
enum isl_dim_type  dst_type,
unsigned  dst_pos,
enum isl_dim_type  src_type,
unsigned  src_pos,
unsigned  n 
)

◆ isl_pw_multi_aff_peek_base_at()

__isl_keep isl_multi_aff * isl_pw_multi_aff_peek_base_at ( __isl_keep isl_pw_multi_aff pma,
int  pos 
)

◆ isl_pw_multi_aff_project_out()

__isl_give isl_pw_multi_aff * isl_pw_multi_aff_project_out ( __isl_take isl_pw_multi_aff pma,
enum isl_dim_type  type,
unsigned  first,
unsigned  n 
)

Referenced by split_domain_pma().

◆ isl_pw_multi_aff_reset_domain_space()

__isl_give isl_pw_multi_aff * isl_pw_multi_aff_reset_domain_space ( __isl_take isl_pw_multi_aff pwmaff,
__isl_take isl_space space 
)

◆ isl_pw_multi_aff_reset_space()

__isl_give isl_pw_multi_aff * isl_pw_multi_aff_reset_space ( __isl_take isl_pw_multi_aff pwmaff,
__isl_take isl_space space 
)

◆ isl_pw_multi_aff_substitute()

__isl_give isl_pw_multi_aff * isl_pw_multi_aff_substitute ( __isl_take isl_pw_multi_aff pma,
unsigned  pos,
__isl_keep isl_pw_aff subs 
)

◆ isl_seq_preimage()

isl_stat isl_seq_preimage ( isl_int dst,
isl_int src,
__isl_keep isl_multi_aff ma,
int  n_before,
int  n_after,
int  n_div_ma,
int  n_div_bmap,
isl_int  f,
isl_int  c1,
isl_int  c2,
isl_int  g,
int  has_denom 
)

◆ isl_stream_read_aff()

__isl_give isl_aff * isl_stream_read_aff ( __isl_keep isl_stream s)

◆ isl_stream_read_pw_aff()

__isl_give isl_pw_aff * isl_stream_read_pw_aff ( __isl_keep isl_stream s)

◆ isl_stream_read_pw_multi_aff()

__isl_give isl_pw_multi_aff * isl_stream_read_pw_multi_aff ( __isl_keep isl_stream s)

◆ isl_stream_read_union_pw_aff()

__isl_give isl_union_pw_aff * isl_stream_read_union_pw_aff ( __isl_keep isl_stream s)