Polly 22.0.0git
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 3622 of file isl_input.c.

◆ BASE [2/6]

#define BASE   pw_aff

Definition at line 3622 of file isl_input.c.

◆ BASE [3/6]

#define BASE   multi_aff

Definition at line 3622 of file isl_input.c.

◆ BASE [4/6]

#define BASE   val

Definition at line 3622 of file isl_input.c.

◆ BASE [5/6]

#define BASE   id

Definition at line 3622 of file isl_input.c.

◆ BASE [6/6]

#define BASE   aff

Definition at line 3622 of file isl_input.c.

◆ TYPE_BASE [1/19]

#define TYPE_BASE   val

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [2/19]

#define TYPE_BASE   space

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [3/19]

#define TYPE_BASE   basic_map

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [4/19]

#define TYPE_BASE   basic_set

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [5/19]

#define TYPE_BASE   map

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [6/19]

#define TYPE_BASE   set

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [7/19]

#define TYPE_BASE   union_map

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [8/19]

#define TYPE_BASE   union_set

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [9/19]

#define TYPE_BASE   pw_qpolynomial

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [10/19]

#define TYPE_BASE   pw_qpolynomial_fold

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [11/19]

#define TYPE_BASE   aff

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [12/19]

#define TYPE_BASE   pw_aff

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [13/19]

#define TYPE_BASE   pw_multi_aff

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [14/19]

#define TYPE_BASE   union_pw_multi_aff

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [15/19]

#define TYPE_BASE   multi_aff

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [16/19]

#define TYPE_BASE   multi_pw_aff

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [17/19]

#define TYPE_BASE   union_pw_aff

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [18/19]

#define TYPE_BASE   multi_union_pw_aff

Definition at line 250 of file isl_input.c.

◆ TYPE_BASE [19/19]

#define TYPE_BASE   union_pw_qpolynomial

Definition at line 250 of file isl_input.c.

Function Documentation

◆ accept_affine()

◆ accept_affine_factor()

◆ accept_affine_list()

◆ accept_cst_factor()

◆ accept_div()

◆ accept_extended_affine()

◆ accept_minmax()

◆ accept_piecewise_affine()

◆ accept_ternary()

◆ add_constraint()

◆ affine_mod()

◆ basic_map_read_polylib()

◆ basic_map_read_polylib_constraint()

◆ construct_constraints()

◆ construct_lower()

__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 __isl_give, __isl_take, init_range(), pa, set_lower(), and isl_token::v.

Referenced by update_piecewise_affine_colon().

◆ construct_range()

__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 __isl_give, __isl_take, init_range(), pa, set_lower(), set_upper(), and isl_token::v.

Referenced by update_piecewise_affine_colon().

◆ construct_upper()

__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 __isl_give, __isl_take, init_range(), pa, set_upper(), and isl_token::v.

Referenced by accept_piecewise_affine().

◆ extract_union_set()

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

◆ identity_tuple_el()

__isl_give isl_pw_aff * identity_tuple_el ( struct vars * v)
static

◆ identity_tuple_el_on_space()

◆ init_range()

◆ is_comparator()

int is_comparator ( struct isl_token * tok)
static

◆ is_list_comparator_type()

int is_list_comparator_type ( int type)
static

◆ is_rational()

◆ is_start_of_div()

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_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_give, 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()

__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 __isl_give, __isl_take, aff, isl_pw_aff_as_aff(), ma, n, pa, pos(), and separate_tuple_entry().

◆ isl_multi_pw_aff_set_tuple_entry()

__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 __isl_give, __isl_take, n, pa, 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_stream_read_basic_map()

◆ isl_stream_read_basic_set()

◆ isl_stream_read_map()

__isl_give isl_map * isl_stream_read_map ( __isl_keep isl_stream * s)

◆ isl_stream_read_multi_aff()

◆ isl_stream_read_multi_union_pw_aff()

◆ 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 __isl_keep, isl_stream_read_obj(), and obj_read().

Referenced by ISL_ARG_CHOICE(), isl_stream_read_obj(), and main().

◆ isl_stream_read_pw_qpolynomial()

__isl_give isl_pw_qpolynomial * isl_stream_read_pw_qpolynomial ( __isl_keep isl_stream * s)

◆ isl_stream_read_pw_qpolynomial_fold()

__isl_give isl_pw_qpolynomial_fold * isl_stream_read_pw_qpolynomial_fold ( __isl_keep isl_stream * s)

◆ isl_stream_read_set()

◆ isl_stream_read_space()

◆ isl_stream_read_union_map()

◆ isl_stream_read_union_pw_qpolynomial()

◆ isl_stream_read_union_set()

◆ isl_stream_read_val()

◆ isl_stream_read_with_params_multi_pw_aff()

__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

◆ isl_stream_read_with_params_union_pw_aff()

__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

◆ isl_stream_read_with_params_union_pw_multi_aff()

◆ 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_give, isl_stream_free(), isl_stream_new_file(), isl_token::s, isl_token::v, and vec_read().

Referenced by main().

◆ isl_vec_read_polylib()

◆ list_cmp()

◆ map_from_tuple()

◆ map_read_polylib()

◆ nan_on_domain()

__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_give, __isl_keep, isl_pw_aff_nan_on_domain_space(), and isl_space_copy().

Referenced by accept_affine().

◆ next_is_comparator()

◆ next_is_condition_start()

◆ next_is_domain_colon()

◆ next_is_empty_tuple()

int next_is_empty_tuple ( __isl_keep isl_stream * s)
static

◆ next_is_end_tuple_element()

int next_is_end_tuple_element ( __isl_keep isl_stream * s)
static

◆ next_is_fresh_ident()

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

◆ next_is_param_tuple()

int next_is_param_tuple ( __isl_keep isl_stream * s)
static

◆ next_is_schedule()

int next_is_schedule ( __isl_keep isl_stream * s)
static

◆ next_is_tuple()

◆ next_signed_value()

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_keep, isl_stream_next_token(), next_signed_value_fn(), and isl_token::s.

Referenced by isl_vec_read_polylib().

◆ next_signed_value_fn()

◆ next_signed_value_on_same_line()

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

◆ next_token()

◆ obj_add()

◆ obj_read()

◆ obj_read_body()

◆ obj_read_disjuncts()

◆ obj_read_poly()

◆ obj_read_poly_or_fold()

◆ optional_power()

◆ polylib_pos_to_isl_pos()

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

◆ push_aff()

◆ pw_aff_div_by_cst()

◆ pw_aff_is_expr()

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

◆ read_aff_domain()

◆ read_conditional_aff()

__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()

◆ read_conditional_multi_pw_aff()

◆ read_conjunct()

◆ read_conjuncts()

◆ read_defined_var_list()

◆ read_disjuncts()

◆ read_exists()

◆ read_factor()

◆ read_formula()

◆ read_map_tuple()

◆ read_multi_union_pw_aff_body()

◆ read_multi_union_pw_aff_body_core()

__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()

◆ read_optional_formula()

◆ read_params()

◆ read_pw_aff_with_dom()

◆ read_space_tuples()

◆ read_term()

◆ read_tuple()

◆ read_tuple_id()

◆ read_tuple_list()

__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 *(* read_el )(__isl_keep isl_stream *s, struct vars *v, __isl_take isl_space *space, int rational, void *user),
void * user )
static

◆ read_tuple_pw_aff_el()

◆ read_tuple_space()

◆ read_tuple_var_def()

__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()

◆ read_union_pw_aff_with_dom()

◆ read_union_set_body()

◆ read_universe_params()

◆ read_var_def()

◆ resolve_paren_expr()

◆ schedule_read()

struct isl_obj schedule_read ( __isl_keep isl_stream * s)
static

Definition at line 2980 of file isl_input.c.

References __isl_keep, isl_obj_schedule, isl_stream_read_schedule(), obj, and schedule_read().

Referenced by obj_read(), and schedule_read().

◆ separate_tuple_entry()

◆ set_current_line_col()

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

◆ set_lower()

◆ set_upper()

◆ space_set_dim_name()

__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_give, __isl_take, isl_dim_out, isl_space_set_dim_name(), name, and pos().

Referenced by space_set_last_dim_name().

◆ space_set_last_dim_name()

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

◆ to_union()

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

◆ tuple_has_expr()

isl_bool tuple_has_expr ( __isl_keep isl_multi_pw_aff * tuple)
static

◆ update_piecewise_affine_colon()

◆ variable_free()

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()

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()

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()

◆ vars_free()

void vars_free ( struct vars * v)
static

◆ vars_new()

struct vars * vars_new ( struct isl_ctx * ctx)
static

◆ vars_pos()

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

◆ vec_read()

__isl_give isl_vec * vec_read ( __isl_keep isl_stream * s)
static

Definition at line 3413 of file isl_input.c.

References __isl_give, __isl_keep, isl_vec_read_polylib(), and isl_token::s.

Referenced by isl_vec_read_from_file().