Polly 19.0.0git
Classes | Macros | Functions
isl_input.c File Reference
#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <isl_ctx_private.h>
#include <isl_map_private.h>
#include <isl_id_private.h>
#include <isl/set.h>
#include <isl_seq.h>
#include <isl_stream_private.h>
#include <isl/obj.h>
#include "isl_polynomial_private.h"
#include <isl/union_set.h>
#include <isl/union_map.h>
#include <isl_mat_private.h>
#include <isl_aff_private.h>
#include <isl_vec_private.h>
#include <isl/list.h>
#include <isl_val_private.h>
#include "isl_read_from_str_templ.c"
#include "isl_stream_read_pw_with_params_templ.c"
#include "isl_stream_read_with_params_templ.c"
#include <isl_multi_from_tuple_templ.c>
#include <isl_multi_read_no_explicit_domain_templ.c>

Go to the source code of this file.

Classes

struct  variable
 
struct  vars
 

Macros

#define TYPE_BASE   val
 
#define TYPE_BASE   space
 
#define TYPE_BASE   basic_map
 
#define TYPE_BASE   basic_set
 
#define TYPE_BASE   map
 
#define TYPE_BASE   set
 
#define TYPE_BASE   union_map
 
#define TYPE_BASE   union_set
 
#define TYPE_BASE   pw_qpolynomial
 
#define TYPE_BASE   pw_qpolynomial_fold
 
#define BASE   aff
 
#define TYPE_BASE   aff
 
#define TYPE_BASE   pw_aff
 
#define BASE   pw_aff
 
#define BASE   multi_aff
 
#define TYPE_BASE   pw_multi_aff
 
#define TYPE_BASE   union_pw_multi_aff
 
#define BASE   val
 
#define BASE   id
 
#define BASE   aff
 
#define TYPE_BASE   multi_aff
 
#define TYPE_BASE   multi_pw_aff
 
#define TYPE_BASE   union_pw_aff
 
#define TYPE_BASE   multi_union_pw_aff
 
#define TYPE_BASE   union_pw_qpolynomial
 

Functions

static struct varsvars_new (struct isl_ctx *ctx)
 
static void variable_free (struct variable *var)
 
static void vars_free (struct vars *v)
 
static void vars_drop (struct vars *v, int n)
 
static struct variablevariable_new (struct vars *v, const char *name, int len, int pos)
 
static int vars_pos (struct vars *v, const char *s, int len)
 
static int vars_add_anon (struct vars *v)
 
static struct isl_tokennext_token (__isl_keep isl_stream *s)
 
__isl_give isl_valisl_stream_read_val (__isl_keep isl_stream *s)
 
static isl_stat accept_cst_factor (__isl_keep isl_stream *s, isl_int *f)
 
static __isl_give isl_pw_affaffine_mod (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_pw_aff *aff)
 
static __isl_give isl_pw_affaccept_affine (__isl_keep isl_stream *s, __isl_take isl_space *space, struct vars *v)
 
static __isl_give isl_pw_aff_list * accept_affine_list (__isl_keep isl_stream *s, __isl_take isl_space *space, struct vars *v)
 
static __isl_give isl_pw_affaccept_minmax (__isl_keep isl_stream *s, __isl_take isl_space *space, struct vars *v)
 
static __isl_give isl_pw_affpw_aff_div_by_cst (__isl_keep isl_stream *s, __isl_take isl_pw_aff *pa)
 
static struct isl_tokennext_signed_value_fn (__isl_keep isl_stream *s, struct isl_token *(*next)(__isl_keep isl_stream *s), char *msg)
 
static struct isl_tokennext_signed_value (__isl_keep isl_stream *s, char *msg)
 
static struct isl_tokennext_signed_value_on_same_line (__isl_keep isl_stream *s, char *msg)
 
static int is_start_of_div (struct isl_token *tok)
 
static __isl_give isl_pw_affaccept_div (__isl_keep isl_stream *s, __isl_take isl_space *space, struct vars *v)
 
static __isl_give isl_pw_affaccept_affine_factor (__isl_keep isl_stream *s, __isl_take isl_space *space, struct vars *v)
 
static __isl_give isl_pw_affnan_on_domain (__isl_keep isl_space *space)
 
static int is_list_comparator_type (int type)
 
static int is_comparator (struct isl_token *tok)
 
static __isl_give isl_mapread_formula (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_map *map, int rational)
 
static __isl_give isl_pw_affaccept_extended_affine (__isl_keep isl_stream *s, __isl_take isl_space *space, struct vars *v, int rational)
 
static __isl_give isl_pw_affaccept_ternary (__isl_keep isl_stream *s, __isl_take isl_map *cond, struct vars *v, int rational)
 
static void set_current_line_col (__isl_keep isl_stream *s, int *line, int *col)
 
static isl_stat push_aff (__isl_keep isl_stream *s, int line, int col, __isl_take isl_pw_aff *pa)
 
static int next_is_comparator (__isl_keep isl_stream *s)
 
static __isl_give isl_mapread_var_def (__isl_keep isl_stream *s, __isl_take isl_map *map, enum isl_dim_type type, struct vars *v, int rational)
 
static __isl_give isl_mapread_defined_var_list (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_map *map, int rational)
 
static int next_is_tuple (__isl_keep isl_stream *s)
 
static int next_is_end_tuple_element (__isl_keep isl_stream *s)
 
static int next_is_condition_start (__isl_keep isl_stream *s)
 
static isl_bool pw_aff_is_expr (__isl_keep isl_pw_aff *pa, int i, int n)
 
static isl_bool tuple_has_expr (__isl_keep isl_multi_pw_aff *tuple)
 
static __isl_give isl_spacespace_set_dim_name (__isl_take isl_space *space, int pos, char *name)
 
static __isl_give isl_spacespace_set_last_dim_name (__isl_take isl_space *space, char *name)
 
static __isl_give isl_pw_affidentity_tuple_el_on_space (__isl_take isl_space *space, struct vars *v)
 
static __isl_give isl_pw_affinit_range (__isl_keep isl_pw_aff *pa, struct vars *v)
 
static __isl_give isl_pw_affset_lower (__isl_take isl_pw_aff *range_pa, __isl_take isl_pw_aff *lower)
 
static __isl_give isl_pw_affset_upper (__isl_take isl_pw_aff *range_pa, __isl_take isl_pw_aff *upper)
 
static __isl_give isl_pw_affconstruct_lower (__isl_take isl_pw_aff *pa, struct vars *v)
 
static __isl_give isl_pw_affconstruct_upper (__isl_take isl_pw_aff *pa, struct vars *v)
 
static __isl_give isl_pw_affconstruct_range (__isl_take isl_pw_aff *pa, __isl_take isl_pw_aff *pa2, struct vars *v)
 
static int resolve_paren_expr (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_map *map, int rational)
 
static __isl_give isl_pw_affupdate_piecewise_affine_colon (__isl_take isl_pw_aff *pa, __isl_keep isl_stream *s, struct vars *v, int rational)
 
static __isl_give isl_pw_affaccept_piecewise_affine (__isl_keep isl_stream *s, __isl_take isl_space *space, struct vars *v, int rational)
 
static __isl_give isl_pw_affread_tuple_var_def (__isl_keep isl_stream *s, struct vars *v, int rational)
 
static __isl_give isl_spaceread_tuple_list (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, int comma, __isl_give isl_space *(*read_el)(__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, void *user), void *user)
 
static __isl_give isl_spaceread_tuple_space (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, int comma, __isl_give isl_space *(*read_el)(__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, void *user), void *user)
 
static __isl_give isl_pw_affidentity_tuple_el (struct vars *v)
 
static __isl_give isl_spaceread_tuple_pw_aff_el (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, void *user)
 
static __isl_give isl_multi_pw_affread_tuple (__isl_keep isl_stream *s, struct vars *v, int rational, int comma)
 
static __isl_give isl_mapmap_from_tuple (__isl_take isl_multi_pw_aff *tuple, __isl_take isl_map *map, enum isl_dim_type type, struct vars *v, int rational)
 
static __isl_give isl_mapread_map_tuple (__isl_keep isl_stream *s, __isl_take isl_map *map, enum isl_dim_type type, struct vars *v, int rational, int comma)
 
static __isl_give isl_setread_universe_params (__isl_keep isl_stream *s, struct vars *v)
 
static __isl_give isl_spaceread_params (__isl_keep isl_stream *s, struct vars *v)
 
static __isl_give isl_spaceread_tuple_id (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, void *user)
 
static __isl_give isl_spaceread_space_tuples (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *params)
 
__isl_give isl_spaceisl_stream_read_space (__isl_keep isl_stream *s)
 
static __isl_give isl_setlist_cmp (__isl_keep isl_set *set, int type, __isl_take isl_pw_aff_list *left, __isl_take isl_pw_aff_list *right)
 
static __isl_give isl_setconstruct_constraints (__isl_take isl_set *set, int type, __isl_keep isl_pw_aff_list *left, __isl_keep isl_pw_aff_list *right, int rational)
 
static __isl_give isl_mapadd_constraint (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_map *map, int rational)
 
static __isl_give isl_mapread_exists (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_map *map, int rational)
 
static __isl_give isl_mapread_conjunct (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_map *map, int rational)
 
static __isl_give isl_mapread_conjuncts (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_map *map, int rational)
 
static __isl_give isl_mapread_disjuncts (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_map *map, int rational)
 
static isl_size polylib_pos_to_isl_pos (__isl_keep isl_basic_map *bmap, int pos)
 
static __isl_give isl_basic_mapbasic_map_read_polylib_constraint (__isl_keep isl_stream *s, __isl_take isl_basic_map *bmap)
 
static __isl_give isl_basic_mapbasic_map_read_polylib (__isl_keep isl_stream *s)
 
static __isl_give isl_mapmap_read_polylib (__isl_keep isl_stream *s)
 
static int optional_power (__isl_keep isl_stream *s)
 
static __isl_give isl_pw_qpolynomialread_term (__isl_keep isl_stream *s, __isl_keep isl_map *map, struct vars *v)
 
static __isl_give isl_pw_qpolynomialread_factor (__isl_keep isl_stream *s, __isl_keep isl_map *map, struct vars *v)
 
static __isl_give isl_mapread_optional_formula (__isl_keep isl_stream *s, __isl_take isl_map *map, struct vars *v, int rational)
 
static struct isl_obj obj_read_poly (__isl_keep isl_stream *s, __isl_take isl_map *map, struct vars *v, int n)
 
static struct isl_obj obj_read_poly_or_fold (__isl_keep isl_stream *s, __isl_take isl_set *set, struct vars *v, int n)
 
static int is_rational (__isl_keep isl_stream *s)
 
static struct isl_obj obj_read_body (__isl_keep isl_stream *s, __isl_take isl_map *map, struct vars *v)
 
static struct isl_obj to_union (isl_ctx *ctx, struct isl_obj obj)
 
static struct isl_obj obj_add (__isl_keep isl_stream *s, struct isl_obj obj1, struct isl_obj obj2)
 
static int next_is_domain_colon (__isl_keep isl_stream *s)
 
static int next_is_schedule (__isl_keep isl_stream *s)
 
static struct isl_obj schedule_read (__isl_keep isl_stream *s)
 
static struct isl_obj obj_read_disjuncts (__isl_keep isl_stream *s, struct vars *v, __isl_keep isl_map *map)
 
static struct isl_obj obj_read (__isl_keep isl_stream *s)
 
struct isl_obj isl_stream_read_obj (__isl_keep isl_stream *s)
 
__isl_give isl_mapisl_stream_read_map (__isl_keep isl_stream *s)
 
__isl_give isl_setisl_stream_read_set (__isl_keep isl_stream *s)
 
__isl_give isl_union_mapisl_stream_read_union_map (__isl_keep isl_stream *s)
 
static __isl_give isl_union_setextract_union_set (isl_ctx *ctx, struct isl_obj obj)
 
__isl_give isl_union_setisl_stream_read_union_set (__isl_keep isl_stream *s)
 
static __isl_give isl_basic_mapisl_stream_read_basic_map (__isl_keep isl_stream *s)
 
__isl_give isl_basic_setisl_stream_read_basic_set (__isl_keep isl_stream *s)
 
__isl_give isl_basic_mapisl_basic_map_read_from_file (isl_ctx *ctx, FILE *input)
 
__isl_give isl_basic_setisl_basic_set_read_from_file (isl_ctx *ctx, FILE *input)
 
__isl_give isl_mapisl_map_read_from_file (struct isl_ctx *ctx, FILE *input)
 
__isl_give isl_setisl_set_read_from_file (struct isl_ctx *ctx, FILE *input)
 
__isl_give isl_union_mapisl_union_map_read_from_file (isl_ctx *ctx, FILE *input)
 
__isl_give isl_union_setisl_union_set_read_from_file (isl_ctx *ctx, FILE *input)
 
static __isl_give isl_vecisl_vec_read_polylib (__isl_keep isl_stream *s)
 
static __isl_give isl_vecvec_read (__isl_keep isl_stream *s)
 
__isl_give isl_vecisl_vec_read_from_file (isl_ctx *ctx, FILE *input)
 
__isl_give isl_pw_qpolynomialisl_stream_read_pw_qpolynomial (__isl_keep isl_stream *s)
 
__isl_give isl_pw_qpolynomialisl_pw_qpolynomial_read_from_file (isl_ctx *ctx, FILE *input)
 
__isl_give isl_pw_qpolynomial_foldisl_stream_read_pw_qpolynomial_fold (__isl_keep isl_stream *s)
 
static int next_is_fresh_ident (__isl_keep isl_stream *s, struct vars *v)
 
static __isl_give isl_setread_aff_domain (__isl_keep isl_stream *s, __isl_take isl_set *dom, struct vars *v)
 
__isl_give isl_affisl_stream_read_aff (__isl_keep isl_stream *s)
 
static __isl_give isl_pw_affread_pw_aff_with_dom (__isl_keep isl_stream *s, __isl_take isl_set *dom, struct vars *v)
 
static __isl_give isl_pw_affread_conditional_aff (__isl_keep isl_stream *s, __isl_take isl_set *dom, struct vars *v)
 
static __isl_give isl_pw_affseparate_tuple_entry (__isl_take isl_pw_aff *pa, int pos, unsigned first, unsigned n, __isl_take isl_space *domain_space)
 
static __isl_give isl_multi_pw_affisl_multi_pw_aff_set_tuple_entry (__isl_take isl_multi_pw_aff *mpa, __isl_take isl_pw_aff *tuple_el, int pos, unsigned first, unsigned n)
 
static __isl_give isl_multi_pw_affread_conditional_multi_pw_aff (__isl_keep isl_stream *s, __isl_take isl_set *dom, struct vars *v)
 
static __isl_give isl_pw_multi_affread_conditional_multi_aff (__isl_keep isl_stream *s, __isl_take isl_set *dom, struct vars *v)
 
static __isl_give isl_union_pw_multi_affisl_stream_read_with_params_union_pw_multi_aff (__isl_keep isl_stream *s, __isl_keep isl_set *dom, struct vars *v)
 
static __isl_give isl_multi_affisl_multi_aff_set_tuple_entry (__isl_take isl_multi_aff *ma, __isl_take isl_pw_aff *tuple_el, int pos, unsigned first, unsigned n)
 
__isl_give isl_multi_affisl_stream_read_multi_aff (__isl_keep isl_stream *s)
 
static __isl_give isl_multi_pw_affisl_stream_read_with_params_multi_pw_aff (__isl_keep isl_stream *s, __isl_keep isl_set *dom, struct vars *v)
 
static __isl_give isl_union_pw_affread_union_pw_aff_with_dom (__isl_keep isl_stream *s, __isl_take isl_set *dom, struct vars *v)
 
static __isl_give isl_union_pw_affisl_stream_read_with_params_union_pw_aff (__isl_keep isl_stream *s, __isl_keep isl_set *dom, struct vars *v)
 
static __isl_give isl_spaceread_union_pw_aff_el (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, void *user)
 
static int next_is_empty_tuple (__isl_keep isl_stream *s)
 
static int next_is_param_tuple (__isl_keep isl_stream *s)
 
static __isl_give isl_multi_union_pw_affread_multi_union_pw_aff_body_core (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space)
 
static __isl_give isl_union_setread_union_set_body (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space)
 
static __isl_give isl_multi_union_pw_affread_multi_union_pw_aff_body (__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space)
 
static __isl_give isl_multi_union_pw_affread_multi_union_pw_aff_core (__isl_keep isl_stream *s)
 
__isl_give isl_multi_union_pw_affisl_stream_read_multi_union_pw_aff (__isl_keep isl_stream *s)
 
__isl_give isl_union_pw_qpolynomialisl_stream_read_union_pw_qpolynomial (__isl_keep isl_stream *s)
 

Macro Definition Documentation

◆ BASE [1/6]

#define BASE   aff

Definition at line 3845 of file isl_input.c.

◆ BASE [2/6]

#define BASE   pw_aff

Definition at line 3845 of file isl_input.c.

◆ BASE [3/6]

#define BASE   multi_aff

Definition at line 3845 of file isl_input.c.

◆ BASE [4/6]

#define BASE   val

Definition at line 3845 of file isl_input.c.

◆ BASE [5/6]

#define BASE   id

Definition at line 3845 of file isl_input.c.

◆ BASE [6/6]

#define BASE   aff

Definition at line 3845 of file isl_input.c.

◆ TYPE_BASE [1/19]

#define TYPE_BASE   val

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [2/19]

#define TYPE_BASE   space

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [3/19]

#define TYPE_BASE   basic_map

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [4/19]

#define TYPE_BASE   basic_set

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [5/19]

#define TYPE_BASE   map

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [6/19]

#define TYPE_BASE   set

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [7/19]

#define TYPE_BASE   union_map

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [8/19]

#define TYPE_BASE   union_set

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [9/19]

#define TYPE_BASE   pw_qpolynomial

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [10/19]

#define TYPE_BASE   pw_qpolynomial_fold

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [11/19]

#define TYPE_BASE   aff

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [12/19]

#define TYPE_BASE   pw_aff

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [13/19]

#define TYPE_BASE   pw_multi_aff

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [14/19]

#define TYPE_BASE   union_pw_multi_aff

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [15/19]

#define TYPE_BASE   multi_aff

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [16/19]

#define TYPE_BASE   multi_pw_aff

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [17/19]

#define TYPE_BASE   union_pw_aff

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [18/19]

#define TYPE_BASE   multi_union_pw_aff

Definition at line 4284 of file isl_input.c.

◆ TYPE_BASE [19/19]

#define TYPE_BASE   union_pw_qpolynomial

Definition at line 4284 of file isl_input.c.

Function Documentation

◆ accept_affine()

static __isl_give isl_pw_aff * accept_affine ( __isl_keep isl_stream s,
__isl_take isl_space space,
struct vars v 
)
static

◆ accept_affine_factor()

static __isl_give isl_pw_aff * accept_affine_factor ( __isl_keep isl_stream s,
__isl_take isl_space space,
struct vars v 
)
static

◆ accept_affine_list()

static __isl_give isl_pw_aff_list * accept_affine_list ( __isl_keep isl_stream s,
__isl_take isl_space space,
struct vars v 
)
static

◆ accept_cst_factor()

static isl_stat accept_cst_factor ( __isl_keep isl_stream s,
isl_int f 
)
static

◆ accept_div()

static __isl_give isl_pw_aff * accept_div ( __isl_keep isl_stream s,
__isl_take isl_space space,
struct vars v 
)
static

◆ accept_extended_affine()

static __isl_give isl_pw_aff * accept_extended_affine ( __isl_keep isl_stream s,
__isl_take isl_space space,
struct vars v,
int  rational 
)
static

◆ accept_minmax()

static __isl_give isl_pw_aff * accept_minmax ( __isl_keep isl_stream s,
__isl_take isl_space space,
struct vars v 
)
static

◆ accept_piecewise_affine()

static __isl_give isl_pw_aff * accept_piecewise_affine ( __isl_keep isl_stream s,
__isl_take isl_space space,
struct vars v,
int  rational 
)
static

◆ accept_ternary()

static __isl_give isl_pw_aff * accept_ternary ( __isl_keep isl_stream s,
__isl_take isl_map cond,
struct vars v,
int  rational 
)
static

◆ add_constraint()

static __isl_give isl_map * add_constraint ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_map map,
int  rational 
)
static

◆ affine_mod()

static __isl_give isl_pw_aff * affine_mod ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_pw_aff aff 
)
static

◆ basic_map_read_polylib()

static __isl_give isl_basic_map * basic_map_read_polylib ( __isl_keep isl_stream s)
static

◆ basic_map_read_polylib_constraint()

static __isl_give isl_basic_map * basic_map_read_polylib_constraint ( __isl_keep isl_stream s,
__isl_take isl_basic_map bmap 
)
static

◆ construct_constraints()

static __isl_give isl_set * construct_constraints ( __isl_take isl_set set,
int  type,
__isl_keep isl_pw_aff_list *  left,
__isl_keep isl_pw_aff_list *  right,
int  rational 
)
static

◆ construct_lower()

static __isl_give isl_pw_aff * construct_lower ( __isl_take isl_pw_aff pa,
struct vars v 
)
static

Definition at line 1180 of file isl_input.c.

References init_range(), set_lower(), and isl_token::v.

Referenced by update_piecewise_affine_colon().

◆ construct_range()

static __isl_give isl_pw_aff * construct_range ( __isl_take isl_pw_aff pa,
__isl_take isl_pw_aff pa2,
struct vars v 
)
static

Definition at line 1216 of file isl_input.c.

References init_range(), set_lower(), set_upper(), and isl_token::v.

Referenced by update_piecewise_affine_colon().

◆ construct_upper()

static __isl_give isl_pw_aff * construct_upper ( __isl_take isl_pw_aff pa,
struct vars v 
)
static

Definition at line 1198 of file isl_input.c.

References init_range(), set_upper(), and isl_token::v.

Referenced by accept_piecewise_affine().

◆ extract_union_set()

static __isl_give isl_union_set * extract_union_set ( isl_ctx ctx,
struct isl_obj  obj 
)
static

◆ identity_tuple_el()

static __isl_give isl_pw_aff * identity_tuple_el ( struct vars v)
static

Definition at line 1500 of file isl_input.c.

References identity_tuple_el_on_space(), isl_space_set_alloc(), and isl_token::v.

Referenced by read_tuple_pw_aff_el().

◆ identity_tuple_el_on_space()

static __isl_give isl_pw_aff * identity_tuple_el_on_space ( __isl_take isl_space space,
struct vars v 
)
static

◆ init_range()

static __isl_give isl_pw_aff * init_range ( __isl_keep isl_pw_aff pa,
struct vars v 
)
static

◆ is_comparator()

static int is_comparator ( struct isl_token tok)
static

◆ is_list_comparator_type()

static int is_list_comparator_type ( int  type)
static

◆ is_rational()

static int is_rational ( __isl_keep isl_stream s)
static

◆ is_start_of_div()

static int is_start_of_div ( struct isl_token tok)
static

◆ isl_basic_map_read_from_file()

__isl_give isl_basic_map * isl_basic_map_read_from_file ( isl_ctx ctx,
FILE *  input 
)

◆ isl_basic_set_read_from_file()

__isl_give isl_basic_set * isl_basic_set_read_from_file ( isl_ctx ctx,
FILE *  input 
)

◆ isl_map_read_from_file()

__isl_give isl_map * isl_map_read_from_file ( struct isl_ctx ctx,
FILE *  input 
)

Definition at line 3316 of file isl_input.c.

References isl_map::ctx, isl_stream_free(), isl_stream_new_file(), isl_stream_read_map(), and map.

Referenced by main().

◆ isl_multi_aff_set_tuple_entry()

static __isl_give isl_multi_aff * isl_multi_aff_set_tuple_entry ( __isl_take isl_multi_aff ma,
__isl_take isl_pw_aff tuple_el,
int  pos,
unsigned  first,
unsigned  n 
)
static

Definition at line 3830 of file isl_input.c.

References aff, isl_pw_aff_as_aff(), ma, n, pos(), and separate_tuple_entry().

◆ isl_multi_pw_aff_set_tuple_entry()

static __isl_give isl_multi_pw_aff * isl_multi_pw_aff_set_tuple_entry ( __isl_take isl_multi_pw_aff mpa,
__isl_take isl_pw_aff tuple_el,
int  pos,
unsigned  first,
unsigned  n 
)
static

Definition at line 3675 of file isl_input.c.

References n, pos(), and separate_tuple_entry().

◆ isl_pw_qpolynomial_read_from_file()

__isl_give isl_pw_qpolynomial * isl_pw_qpolynomial_read_from_file ( isl_ctx ctx,
FILE *  input 
)

◆ isl_set_read_from_file()

__isl_give isl_set * isl_set_read_from_file ( struct isl_ctx ctx,
FILE *  input 
)

◆ isl_stream_read_aff()

__isl_give isl_aff * isl_stream_read_aff ( __isl_keep isl_stream s)

◆ isl_stream_read_basic_map()

static __isl_give isl_basic_map * isl_stream_read_basic_map ( __isl_keep isl_stream s)
static

◆ isl_stream_read_basic_set()

__isl_give isl_basic_set * isl_stream_read_basic_set ( __isl_keep isl_stream s)

◆ isl_stream_read_map()

__isl_give isl_map * isl_stream_read_map ( __isl_keep isl_stream s)

Definition at line 3140 of file isl_input.c.

References isl_assert, isl_map_from_range(), isl_obj_map, isl_obj_set, obj, and obj_read().

Referenced by isl_map_read_from_file().

◆ isl_stream_read_multi_aff()

__isl_give isl_multi_aff * isl_stream_read_multi_aff ( __isl_keep isl_stream s)

◆ isl_stream_read_multi_union_pw_aff()

__isl_give isl_multi_union_pw_aff * isl_stream_read_multi_union_pw_aff ( __isl_keep isl_stream s)

◆ isl_stream_read_obj()

struct isl_obj isl_stream_read_obj ( __isl_keep isl_stream s)

Definition at line 3135 of file isl_input.c.

References obj_read().

Referenced by ISL_ARG_CHOICE(), and main().

◆ isl_stream_read_pw_qpolynomial()

__isl_give isl_pw_qpolynomial * isl_stream_read_pw_qpolynomial ( __isl_keep isl_stream s)

Definition at line 3429 of file isl_input.c.

References isl_assert, isl_obj_pw_qpolynomial, obj, and obj_read().

Referenced by isl_pw_qpolynomial_read_from_file().

◆ isl_stream_read_pw_qpolynomial_fold()

__isl_give isl_pw_qpolynomial_fold * isl_stream_read_pw_qpolynomial_fold ( __isl_keep isl_stream s)

Definition at line 3465 of file isl_input.c.

References isl_die, isl_error_invalid, isl_obj_pw_qpolynomial_fold, obj, and obj_read().

◆ isl_stream_read_set()

__isl_give isl_set * isl_stream_read_set ( __isl_keep isl_stream s)

◆ isl_stream_read_space()

__isl_give isl_space * isl_stream_read_space ( __isl_keep isl_stream s)

◆ isl_stream_read_union_map()

__isl_give isl_union_map * isl_stream_read_union_map ( __isl_keep isl_stream s)

◆ isl_stream_read_union_pw_qpolynomial()

__isl_give isl_union_pw_qpolynomial * isl_stream_read_union_pw_qpolynomial ( __isl_keep isl_stream s)

◆ isl_stream_read_union_set()

__isl_give isl_union_set * isl_stream_read_union_set ( __isl_keep isl_stream s)

◆ isl_stream_read_val()

__isl_give isl_val * isl_stream_read_val ( __isl_keep isl_stream s)

◆ isl_stream_read_with_params_multi_pw_aff()

static __isl_give isl_multi_pw_aff * isl_stream_read_with_params_multi_pw_aff ( __isl_keep isl_stream s,
__isl_keep isl_set dom,
struct vars v 
)
static

Definition at line 3915 of file isl_input.c.

References isl_set_copy(), read_conditional_multi_pw_aff(), and vars::v.

◆ isl_stream_read_with_params_union_pw_aff()

static __isl_give isl_union_pw_aff * isl_stream_read_with_params_union_pw_aff ( __isl_keep isl_stream s,
__isl_keep isl_set dom,
struct vars v 
)
static

Definition at line 3963 of file isl_input.c.

References isl_set_copy(), read_union_pw_aff_with_dom(), and vars::v.

◆ isl_stream_read_with_params_union_pw_multi_aff()

static __isl_give isl_union_pw_multi_aff * isl_stream_read_with_params_union_pw_multi_aff ( __isl_keep isl_stream s,
__isl_keep isl_set dom,
struct vars v 
)
static

◆ isl_union_map_read_from_file()

__isl_give isl_union_map * isl_union_map_read_from_file ( isl_ctx ctx,
FILE *  input 
)

◆ isl_union_set_read_from_file()

__isl_give isl_union_set * isl_union_set_read_from_file ( isl_ctx ctx,
FILE *  input 
)

◆ isl_vec_read_from_file()

__isl_give isl_vec * isl_vec_read_from_file ( isl_ctx ctx,
FILE *  input 
)

Definition at line 3418 of file isl_input.c.

References isl_stream_free(), isl_stream_new_file(), isl_token::s, isl_token::v, and vec_read().

Referenced by main().

◆ isl_vec_read_polylib()

static __isl_give isl_vec * isl_vec_read_polylib ( __isl_keep isl_stream s)
static

◆ list_cmp()

static __isl_give isl_set * list_cmp ( __isl_keep isl_set set,
int  type,
__isl_take isl_pw_aff_list *  left,
__isl_take isl_pw_aff_list *  right 
)
static

◆ map_from_tuple()

static __isl_give isl_map * map_from_tuple ( __isl_take isl_multi_pw_aff tuple,
__isl_take isl_map map,
enum isl_dim_type  type,
struct vars v,
int  rational 
)
static

◆ map_read_polylib()

static __isl_give isl_map * map_read_polylib ( __isl_keep isl_stream s)
static

◆ nan_on_domain()

static __isl_give isl_pw_aff * nan_on_domain ( __isl_keep isl_space space)
static

Definition at line 599 of file isl_input.c.

References isl_pw_aff_nan_on_domain_space(), and isl_space_copy().

Referenced by accept_affine().

◆ next_is_comparator()

static int next_is_comparator ( __isl_keep isl_stream s)
static

◆ next_is_condition_start()

static int next_is_condition_start ( __isl_keep isl_stream s)
static

◆ next_is_domain_colon()

static int next_is_domain_colon ( __isl_keep isl_stream s)
static

◆ next_is_empty_tuple()

static int next_is_empty_tuple ( __isl_keep isl_stream s)
static

◆ next_is_end_tuple_element()

static int next_is_end_tuple_element ( __isl_keep isl_stream s)
static

Definition at line 995 of file isl_input.c.

References isl_stream_next_token_is(), and isl_token::s.

Referenced by accept_piecewise_affine(), and update_piecewise_affine_colon().

◆ next_is_fresh_ident()

static int next_is_fresh_ident ( __isl_keep isl_stream s,
struct vars v 
)
static

◆ next_is_param_tuple()

static int next_is_param_tuple ( __isl_keep isl_stream s)
static

◆ next_is_schedule()

static int next_is_schedule ( __isl_keep isl_stream s)
static

◆ next_is_tuple()

static int next_is_tuple ( __isl_keep isl_stream s)
static

◆ next_signed_value()

static struct isl_token * next_signed_value ( __isl_keep isl_stream s,
char *  msg 
)
static

Definition at line 394 of file isl_input.c.

References isl_stream_next_token(), next_signed_value_fn(), and isl_token::s.

Referenced by isl_vec_read_polylib().

◆ next_signed_value_fn()

static struct isl_token * next_signed_value_fn ( __isl_keep isl_stream s,
struct isl_token *(*)(__isl_keep isl_stream *s)  next,
char *  msg 
)
static

◆ next_signed_value_on_same_line()

static struct isl_token * next_signed_value_on_same_line ( __isl_keep isl_stream s,
char *  msg 
)
static

◆ next_token()

static struct isl_token * next_token ( __isl_keep isl_stream s)
static

◆ obj_add()

static struct isl_obj obj_add ( __isl_keep isl_stream s,
struct isl_obj  obj1,
struct isl_obj  obj2 
)
static

◆ obj_read()

static struct isl_obj obj_read ( __isl_keep isl_stream s)
static

◆ obj_read_body()

static struct isl_obj obj_read_body ( __isl_keep isl_stream s,
__isl_take isl_map map,
struct vars v 
)
static

◆ obj_read_disjuncts()

static struct isl_obj obj_read_disjuncts ( __isl_keep isl_stream s,
struct vars v,
__isl_keep isl_map map 
)
static

◆ obj_read_poly()

static struct isl_obj obj_read_poly ( __isl_keep isl_stream s,
__isl_take isl_map map,
struct vars v,
int  n 
)
static

◆ obj_read_poly_or_fold()

static struct isl_obj obj_read_poly_or_fold ( __isl_keep isl_stream s,
__isl_take isl_set set,
struct vars v,
int  n 
)
static

◆ optional_power()

static int optional_power ( __isl_keep isl_stream s)
static

◆ polylib_pos_to_isl_pos()

static isl_size polylib_pos_to_isl_pos ( __isl_keep isl_basic_map bmap,
int  pos 
)
static

◆ push_aff()

static isl_stat push_aff ( __isl_keep isl_stream s,
int  line,
int  col,
__isl_take isl_pw_aff pa 
)
static

◆ pw_aff_div_by_cst()

static __isl_give isl_pw_aff * pw_aff_div_by_cst ( __isl_keep isl_stream s,
__isl_take isl_pw_aff pa 
)
static

◆ pw_aff_is_expr()

static isl_bool pw_aff_is_expr ( __isl_keep isl_pw_aff pa,
int  i,
int  n 
)
static

◆ read_aff_domain()

static __isl_give isl_set * read_aff_domain ( __isl_keep isl_stream s,
__isl_take isl_set dom,
struct vars v 
)
static

◆ read_conditional_aff()

static __isl_give isl_pw_aff * read_conditional_aff ( __isl_keep isl_stream s,
__isl_take isl_set dom,
struct vars v 
)
static

◆ read_conditional_multi_aff()

static __isl_give isl_pw_multi_aff * read_conditional_multi_aff ( __isl_keep isl_stream s,
__isl_take isl_set dom,
struct vars v 
)
static

◆ read_conditional_multi_pw_aff()

static __isl_give isl_multi_pw_aff * read_conditional_multi_pw_aff ( __isl_keep isl_stream s,
__isl_take isl_set dom,
struct vars v 
)
static

◆ read_conjunct()

static __isl_give isl_map * read_conjunct ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_map map,
int  rational 
)
static

◆ read_conjuncts()

static __isl_give isl_map * read_conjuncts ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_map map,
int  rational 
)
static

◆ read_defined_var_list()

static __isl_give isl_map * read_defined_var_list ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_map map,
int  rational 
)
static

◆ read_disjuncts()

static __isl_give isl_map * read_disjuncts ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_map map,
int  rational 
)
static

◆ read_exists()

static __isl_give isl_map * read_exists ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_map map,
int  rational 
)
static

◆ read_factor()

static __isl_give isl_pw_qpolynomial * read_factor ( __isl_keep isl_stream s,
__isl_keep isl_map map,
struct vars v 
)
static

◆ read_formula()

static __isl_give isl_map * read_formula ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_map map,
int  rational 
)
static

◆ read_map_tuple()

static __isl_give isl_map * read_map_tuple ( __isl_keep isl_stream s,
__isl_take isl_map map,
enum isl_dim_type  type,
struct vars v,
int  rational,
int  comma 
)
static

◆ read_multi_union_pw_aff_body()

static __isl_give isl_multi_union_pw_aff * read_multi_union_pw_aff_body ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_space space 
)
static

◆ read_multi_union_pw_aff_body_core()

static __isl_give isl_multi_union_pw_aff * read_multi_union_pw_aff_body_core ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_space space 
)
static

◆ read_multi_union_pw_aff_core()

static __isl_give isl_multi_union_pw_aff * read_multi_union_pw_aff_core ( __isl_keep isl_stream s)
static

◆ read_optional_formula()

static __isl_give isl_map * read_optional_formula ( __isl_keep isl_stream s,
__isl_take isl_map map,
struct vars v,
int  rational 
)
static

◆ read_params()

static __isl_give isl_space * read_params ( __isl_keep isl_stream s,
struct vars v 
)
static

◆ read_pw_aff_with_dom()

static __isl_give isl_pw_aff * read_pw_aff_with_dom ( __isl_keep isl_stream s,
__isl_take isl_set dom,
struct vars v 
)
static

◆ read_space_tuples()

static __isl_give isl_space * read_space_tuples ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_space params 
)
static

◆ read_term()

static __isl_give isl_pw_qpolynomial * read_term ( __isl_keep isl_stream s,
__isl_keep isl_map map,
struct vars v 
)
static

◆ read_tuple()

static __isl_give isl_multi_pw_aff * read_tuple ( __isl_keep isl_stream s,
struct vars v,
int  rational,
int  comma 
)
static

◆ read_tuple_id()

static __isl_give isl_space * read_tuple_id ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_space space,
int  rational,
void *  user 
)
static

◆ read_tuple_list()

static __isl_give isl_space * read_tuple_list ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_space space,
int  rational,
int  comma,
__isl_give isl_space *(*)(__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, void *user read_el,
void *  user 
)
static

◆ read_tuple_pw_aff_el()

static __isl_give isl_space * read_tuple_pw_aff_el ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_space space,
int  rational,
void *  user 
)
static

◆ read_tuple_space()

static __isl_give isl_space * read_tuple_space ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_space space,
int  rational,
int  comma,
__isl_give isl_space *(*)(__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, void *user read_el,
void *  user 
)
static

◆ read_tuple_var_def()

static __isl_give isl_pw_aff * read_tuple_var_def ( __isl_keep isl_stream s,
struct vars v,
int  rational 
)
static

◆ read_union_pw_aff_el()

static __isl_give isl_space * read_union_pw_aff_el ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_space space,
int  rational,
void *  user 
)
static

◆ read_union_pw_aff_with_dom()

static __isl_give isl_union_pw_aff * read_union_pw_aff_with_dom ( __isl_keep isl_stream s,
__isl_take isl_set dom,
struct vars v 
)
static

◆ read_union_set_body()

static __isl_give isl_union_set * read_union_set_body ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_space space 
)
static

◆ read_universe_params()

static __isl_give isl_set * read_universe_params ( __isl_keep isl_stream s,
struct vars v 
)
static

◆ read_var_def()

static __isl_give isl_map * read_var_def ( __isl_keep isl_stream s,
__isl_take isl_map map,
enum isl_dim_type  type,
struct vars v,
int  rational 
)
static

◆ resolve_paren_expr()

static int resolve_paren_expr ( __isl_keep isl_stream s,
struct vars v,
__isl_take isl_map map,
int  rational 
)
static

◆ schedule_read()

static struct isl_obj schedule_read ( __isl_keep isl_stream s)
static

Definition at line 2980 of file isl_input.c.

References isl_obj_schedule, isl_stream_read_schedule(), and obj.

Referenced by obj_read().

◆ separate_tuple_entry()

static __isl_give isl_pw_aff * separate_tuple_entry ( __isl_take isl_pw_aff pa,
int  pos,
unsigned  first,
unsigned  n,
__isl_take isl_space domain_space 
)
static

◆ set_current_line_col()

static void set_current_line_col ( __isl_keep isl_stream s,
int *  line,
int *  col 
)
static

◆ set_lower()

static __isl_give isl_pw_aff * set_lower ( __isl_take isl_pw_aff range_pa,
__isl_take isl_pw_aff lower 
)
static

◆ set_upper()

static __isl_give isl_pw_aff * set_upper ( __isl_take isl_pw_aff range_pa,
__isl_take isl_pw_aff upper 
)
static

◆ space_set_dim_name()

static __isl_give isl_space * space_set_dim_name ( __isl_take isl_space space,
int  pos,
char *  name 
)
static

Definition at line 1065 of file isl_input.c.

References isl_dim_out, isl_space_set_dim_name(), name, and pos().

Referenced by space_set_last_dim_name().

◆ space_set_last_dim_name()

static __isl_give isl_space * space_set_last_dim_name ( __isl_take isl_space space,
char *  name 
)
static

◆ to_union()

static struct isl_obj to_union ( isl_ctx ctx,
struct isl_obj  obj 
)
static

◆ tuple_has_expr()

static isl_bool tuple_has_expr ( __isl_keep isl_multi_pw_aff tuple)
static

◆ update_piecewise_affine_colon()

static __isl_give isl_pw_aff * update_piecewise_affine_colon ( __isl_take isl_pw_aff pa,
__isl_keep isl_stream s,
struct vars v,
int  rational 
)
static

◆ variable_free()

static void variable_free ( struct variable var)
static

Definition at line 60 of file isl_input.c.

References variable::next, and var().

Referenced by variable_new(), and vars_free().

◆ variable_new()

static struct variable * variable_new ( struct vars v,
const char *  name,
int  len,
int  pos 
)
static

Definition at line 97 of file isl_input.c.

References vars::ctx, isl_calloc_type, name, pos(), vars::v, var(), and variable_free().

Referenced by vars_add_anon(), and vars_pos().

◆ vars_add_anon()

static int vars_add_anon ( struct vars v)
static

Definition at line 137 of file isl_input.c.

References vars::n, vars::v, and variable_new().

Referenced by read_tuple_id(), and read_tuple_pw_aff_el().

◆ vars_drop()

static void vars_drop ( struct vars v,
int  n 
)
static

◆ vars_free()

static void vars_free ( struct vars v)
static

◆ vars_new()

static struct vars * vars_new ( struct isl_ctx ctx)
static

◆ vars_pos()

static int vars_pos ( struct vars v,
const char *  s,
int  len 
)
static

◆ vec_read()

static __isl_give isl_vec * vec_read ( __isl_keep isl_stream s)
static

Definition at line 3413 of file isl_input.c.

References isl_vec_read_polylib(), and isl_token::s.

Referenced by isl_vec_read_from_file().