Polly 20.0.0git
Functions
isl_seq.h File Reference
#include <sys/types.h>
#include <isl_int.h>
#include <isl/ctx.h>

Go to the source code of this file.

Functions

void isl_seq_clr (isl_int *p, unsigned len)
 
void isl_seq_set (isl_int *p, isl_int v, unsigned len)
 
void isl_seq_set_si (isl_int *p, int v, unsigned len)
 
void isl_seq_neg (isl_int *dst, isl_int *src, unsigned len)
 
void isl_seq_cpy (isl_int *dst, isl_int *src, unsigned len)
 
void isl_seq_addmul (isl_int *dst, isl_int f, isl_int *src, unsigned len)
 
void isl_seq_submul (isl_int *dst, isl_int f, isl_int *src, unsigned len)
 
void isl_seq_swp_or_cpy (isl_int *dst, isl_int *src, unsigned len)
 
void isl_seq_scale (isl_int *dst, isl_int *src, isl_int f, unsigned len)
 
void isl_seq_scale_down (isl_int *dst, isl_int *src, isl_int f, unsigned len)
 
void isl_seq_cdiv_q (isl_int *dst, isl_int *src, isl_int m, unsigned len)
 
void isl_seq_fdiv_q (isl_int *dst, isl_int *src, isl_int m, unsigned len)
 
void isl_seq_fdiv_r (isl_int *dst, isl_int *src, isl_int m, unsigned len)
 
void isl_seq_combine (isl_int *dst, isl_int m1, isl_int *src1, isl_int m2, isl_int *src2, unsigned len)
 
void isl_seq_elim (isl_int *dst, isl_int *src, unsigned pos, unsigned len, isl_int *m)
 
void isl_seq_abs_max (isl_int *p, unsigned len, isl_int *max)
 
void isl_seq_gcd (isl_int *p, unsigned len, isl_int *gcd)
 
void isl_seq_lcm (isl_int *p, unsigned len, isl_int *lcm)
 
void isl_seq_normalize (struct isl_ctx *ctx, isl_int *p, unsigned len)
 
void isl_seq_inner_product (isl_int *p1, isl_int *p2, unsigned len, isl_int *prod)
 
int isl_seq_first_non_zero (isl_int *p, unsigned len)
 
int isl_seq_last_non_zero (isl_int *p, unsigned len)
 
int isl_seq_abs_min_non_zero (isl_int *p, unsigned len)
 
int isl_seq_eq (isl_int *p1, isl_int *p2, unsigned len)
 
int isl_seq_cmp (isl_int *p1, isl_int *p2, unsigned len)
 
int isl_seq_is_neg (isl_int *p1, isl_int *p2, unsigned len)
 
void isl_seq_substitute (isl_int *p, int pos, isl_int *subs, int p_len, int subs_len, isl_int v)
 
uint32_t isl_seq_get_hash (isl_int *p, unsigned len)
 
uint32_t isl_seq_get_hash_bits (isl_int *p, unsigned len, unsigned bits)
 

Function Documentation

◆ isl_seq_abs_max()

void isl_seq_abs_max ( isl_int p,
unsigned  len,
isl_int max 
)

Definition at line 216 of file isl_seq.c.

References isl_int_abs, isl_int_abs_gt, isl_int_set_si, and p.

Referenced by wraps_update_max().

◆ isl_seq_abs_min_non_zero()

int isl_seq_abs_min_non_zero ( isl_int p,
unsigned  len 
)

◆ isl_seq_addmul()

void isl_seq_addmul ( isl_int dst,
isl_int  f,
isl_int src,
unsigned  len 
)

Definition at line 56 of file isl_seq.c.

References f, and isl_int_addmul.

Referenced by add_expanded(), and node_transformation().

◆ isl_seq_cdiv_q()

void isl_seq_cdiv_q ( isl_int dst,
isl_int src,
isl_int  m,
unsigned  len 
)

Definition at line 84 of file isl_seq.c.

References isl_int_cdiv_q, and m.

Referenced by isl_vec_ceil().

◆ isl_seq_clr()

void isl_seq_clr ( isl_int p,
unsigned  len 
)

Definition at line 14 of file isl_seq.c.

References isl_int_set_si, and p.

Referenced by add_bound_constant_constraints(), add_delta_constraints(), add_divs(), add_ma_strides(), add_param_sum_constraint(), add_strides(), add_sub_equalities(), add_sum_constraint(), add_var_sum_constraint(), add_zero_row(), basic_map_bound(), basic_map_bound_si(), basic_map_read_polylib(), basic_set_append_equalities(), basic_set_maximal_difference_at(), box_closure_on_domain(), clear_entry(), compute_facet(), constraint_drop_vars(), convex_hull_pair_elim(), cut_lp_to_hyperplane(), cut_to_hyperplane(), detect_constant_with_tmp(), eliminate_var_using_equality(), equate_parameter_to_length(), equator(), expand_constraint(), expand_row(), farkas(), fix_constant_divs(), greator(), homogeneous_map(), increment(), initial_facet_constraint(), insert_div_rows(), insert_divs_from_local_space(), insert_parameter_rows(), isl_aff_val_on_domain(), isl_aff_var_on_domain(), isl_aff_zero_on_domain(), isl_basic_map_align_divs(), isl_basic_map_alloc_div(), isl_basic_map_alloc_equality(), isl_basic_map_alloc_inequality(), isl_basic_map_deltas(), isl_basic_map_deltas_map(), isl_basic_map_eliminate_vars(), isl_basic_map_fix_pos(), isl_basic_map_fix_pos_si(), isl_basic_map_floordiv(), isl_basic_map_nat_universe(), isl_basic_map_overlying_set(), isl_basic_map_set_to_empty(), isl_basic_map_sum(), isl_basic_set_box_from_points(), isl_basic_set_from_vec(), isl_basic_set_positive_orthant(), isl_basic_set_vars_get_sign(), isl_local_reorder(), isl_map_oppose(), isl_map_solve_lp(), isl_mat_aff_direct_sum(), isl_mat_diag(), isl_mat_diagonal(), isl_mat_final_variable_compression(), isl_mat_insert_zero_cols(), isl_mat_insert_zero_rows(), isl_mat_lin_to_aff(), isl_mat_product(), isl_mat_zero(), isl_point_zero(), isl_qpolynomial_extract_affine(), isl_qpolynomial_lift(), isl_qpolynomial_sign(), isl_seq_preimage(), isl_set_wrap_facet(), isl_tab_add_row(), isl_vec_clr(), isl_vec_insert_zero_els(), isl_vec_reorder(), isl_vec_zero(), isl_vec_zero_extend(), neg_halfspace(), node_add_coefficient_constraints(), node_transformation(), nonneg_halfspace(), normalize_divs(), opt_at(), parametric_constant_never_positive(), particular_solution(), path_along_delta(), path_along_steps(), plug_in(), preimage(), propagate_equalities(), remove_duplicate_divs(), set_ma_divs(), set_path_length(), setup_carry_lp(), SF(), sol_add(), tab_add_divs(), tab_detect_nonnegative_parameters(), tab_for_shifted_cone(), tab_mat_product(), valid_direction(), valid_direction_lp(), var_equal(), var_less(), var_less_or_equal(), var_more(), var_more_or_equal(), wrap_constraints(), and zero_sample().

◆ isl_seq_cmp()

int isl_seq_cmp ( isl_int p1,
isl_int p2,
unsigned  len 
)

◆ isl_seq_combine()

void isl_seq_combine ( isl_int dst,
isl_int  m1,
isl_int src1,
isl_int  m2,
isl_int src2,
unsigned  len 
)

◆ isl_seq_cpy()

void isl_seq_cpy ( isl_int dst,
isl_int src,
unsigned  len 
)

Definition at line 42 of file isl_seq.c.

References isl_int_set.

Referenced by add_bound(), add_bound_from_constraint(), add_bounds(), add_delta_constraints(), add_lp_row(), add_ma_strides(), add_strides(), add_sub_equalities(), add_upper_div_constraint(), add_valid_constraints(), add_wrap(), basic_map_from_equalities(), basic_set_append_equalities(), box_closure_on_domain(), can_wrap_in_facet(), check_eq_adj_eq(), common_constraints(), compute_facet(), constraint_drop_vars(), convex_hull_1d(), convex_hull_pair_elim(), convex_hull_pair_pointed(), copy_equalities(), cut_lp_to_hyperplane(), dup_constraints(), expand_constraint(), expand_row(), extend(), extract_aff_from_equality(), extract_div(), factor_sample(), fix_zero(), fuse(), induced_lineality_space(), ineq_for_div(), initial_hull(), insert_divs_from_local_space(), is_independent(), isl_basic_map_add_eq(), isl_basic_map_add_ineq(), isl_basic_map_align_divs(), isl_basic_map_constraint(), isl_basic_map_detect_equalities(), isl_basic_map_drop_redundant_divs(), isl_basic_map_eliminate_vars(), isl_basic_map_expand_divs(), isl_basic_map_from_aff2(), isl_basic_map_from_constraint(), isl_basic_map_from_local_space(), isl_basic_map_from_qpolynomial(), isl_basic_map_get_divs(), isl_basic_map_insert_div(), isl_basic_map_overlying_set(), isl_basic_map_reduce_coefficients(), isl_basic_set_interior_point(), isl_basic_set_lineality_space(), isl_constraint_get_aff(), isl_constraint_get_bound(), isl_local_reorder(), isl_local_space_add_div(), isl_map_solve_lp(), isl_mat_diagonal(), isl_mat_drop_cols(), isl_mat_dup(), isl_mat_extend(), isl_mat_from_row_vec(), isl_mat_get_row(), isl_mat_lin_to_aff(), isl_mat_parameter_compression(), isl_mat_sub_copy(), isl_mat_unimodular_complete(), isl_merge_divs(), isl_multi_aff_from_aff_mat(), isl_seq_preimage(), isl_set_wrap_facet(), isl_tab_add_sample(), isl_tab_detect_equalities(), isl_term_get_div(), isl_vec_concat(), isl_vec_drop_els(), isl_vec_dup(), isl_vec_insert_els(), isl_vec_lin_to_aff(), isl_vec_move_els(), isl_vec_reorder(), node_add_coefficient_constraints(), node_transformation(), normalize_divs(), parameter_compression_1(), parameter_compression_multi(), parametric_constant_never_positive(), pos_neg(), preimage(), print_constraints(), propagate_equalities(), pw_multi_aff_from_map_div(), pw_multi_aff_from_map_stride(), reduced_using_equalities(), scan_samples_add_sample(), set_div_slice(), set_factor(), set_from_affine_matrix(), set_ma_divs(), set_minimum(), set_minimum_pa(), SF(), shift_cone(), solve_ilp_with_eq(), solve_lp(), swap_vars(), tab_add_divs(), tab_equalities(), tab_for_shifted_cone(), tab_mat_product(), tab_shift_cone(), tighten_on_relaxed_facet(), try_wrap_in_facets(), unit_box_base_points(), vec_concat(), vertex_on_facet(), and wrap_constraints().

◆ isl_seq_elim()

void isl_seq_elim ( isl_int dst,
isl_int src,
unsigned  pos,
unsigned  len,
isl_int m 
)

◆ isl_seq_eq()

int isl_seq_eq ( isl_int p1,
isl_int p2,
unsigned  len 
)

◆ isl_seq_fdiv_q()

void isl_seq_fdiv_q ( isl_int dst,
isl_int src,
isl_int  m,
unsigned  len 
)

Definition at line 91 of file isl_seq.c.

References isl_int_fdiv_q, and m.

Referenced by set_row_cst_to_div().

◆ isl_seq_fdiv_r()

void isl_seq_fdiv_r ( isl_int dst,
isl_int src,
isl_int  m,
unsigned  len 
)

Definition at line 98 of file isl_seq.c.

References isl_int_fdiv_r, and m.

Referenced by get_row_parameter_div(), get_row_split_div(), and isl_vec_fdiv_r().

◆ isl_seq_first_non_zero()

int isl_seq_first_non_zero ( isl_int p,
unsigned  len 
)

Definition at line 196 of file isl_seq.c.

References isl_int_is_zero, and p.

Referenced by add_eq(), check_final_columns_are_zero(), div_find_coalesce(), div_involves_vars(), div_may_involve_output(), drop_aff(), drop_equalities(), drop_inequalities(), find_context_div(), find_div(), find_modulo_constraint_pair(), get_div_purity(), has_multiple_var_equality(), has_nested_div(), is_constant(), is_independent(), is_internal(), is_linear_div_constraint(), is_potential_div_constraint(), is_trivial(), isl_aff_is_cst(), isl_aff_is_nan(), isl_aff_plain_is_zero(), isl_basic_map_drop_constraints_involving(), isl_basic_map_drop_constraints_not_involving_dims(), isl_basic_map_drop_redundant_divs(), isl_basic_map_has_defining_equality(), isl_basic_map_has_rational(), isl_basic_map_involves_dims(), isl_basic_map_is_div_constraint(), isl_basic_map_make_strides_explicit(), isl_basic_map_order_divs(), isl_basic_map_output_defining_equality(), isl_basic_map_plain_has_fixed_var(), isl_basic_map_plain_is_disjoint(), isl_basic_set_eq_is_stride(), isl_basic_set_has_defining_inequalities(), isl_basic_set_parameter_compression(), isl_basic_set_variable_compression(), isl_mat_aff_direct_sum(), isl_mat_is_scaled_identity(), isl_mat_left_hermite(), isl_mat_lexnonneg_rows(), isl_mat_right_inverse(), isl_mat_row_neg(), isl_seq_abs_min_non_zero(), isl_set_bounded_simple_hull(), isl_tab_is_equality(), isl_vec_is_zero(), mark_shifted_constraints(), n_div_eq(), n_pure_div_eq(), need_split_basic_map(), not_unique_unit_row(), parallel_constraints(), preimage(), purity(), pw_multi_aff_from_map_check_strides(), reduce_stride_constraints(), row_is_manifestly_non_integral(), row_is_manifestly_zero(), separation_type(), singleton_extract_point(), split_periods(), subtract_initial(), triangulate(), unique(), and vertex_on_facet().

◆ isl_seq_gcd()

void isl_seq_gcd ( isl_int p,
unsigned  len,
isl_int gcd 
)

◆ isl_seq_get_hash()

uint32_t isl_seq_get_hash ( isl_int p,
unsigned  len 
)

◆ isl_seq_get_hash_bits()

uint32_t isl_seq_get_hash_bits ( isl_int p,
unsigned  len,
unsigned  bits 
)

◆ isl_seq_inner_product()

void isl_seq_inner_product ( isl_int p1,
isl_int p2,
unsigned  len,
isl_int prod 
)

◆ isl_seq_is_neg()

int isl_seq_is_neg ( isl_int p1,
isl_int p2,
unsigned  len 
)

◆ isl_seq_last_non_zero()

int isl_seq_last_non_zero ( isl_int p,
unsigned  len 
)

◆ isl_seq_lcm()

void isl_seq_lcm ( isl_int p,
unsigned  len,
isl_int lcm 
)

Definition at line 269 of file isl_seq.c.

References isl_int_lcm, isl_int_set, isl_int_set_si, lcm(), and p.

Referenced by isl_vec_lcm().

◆ isl_seq_neg()

void isl_seq_neg ( isl_int dst,
isl_int src,
unsigned  len 
)

◆ isl_seq_normalize()

void isl_seq_normalize ( struct isl_ctx ctx,
isl_int p,
unsigned  len 
)

◆ isl_seq_scale()

void isl_seq_scale ( isl_int dst,
isl_int src,
isl_int  f,
unsigned  len 
)

◆ isl_seq_scale_down()

void isl_seq_scale_down ( isl_int dst,
isl_int src,
isl_int  f,
unsigned  len 
)

◆ isl_seq_set()

void isl_seq_set ( isl_int p,
isl_int  v,
unsigned  len 
)

Definition at line 28 of file isl_seq.c.

References isl_int_set, and p.

Referenced by isl_vec_set(), and isl_vec_set_val().

◆ isl_seq_set_si()

void isl_seq_set_si ( isl_int p,
int  v,
unsigned  len 
)

Definition at line 21 of file isl_seq.c.

References isl_int_set_si, and p.

Referenced by isl_vec_set_si().

◆ isl_seq_submul()

void isl_seq_submul ( isl_int dst,
isl_int  f,
isl_int src,
unsigned  len 
)

Definition at line 49 of file isl_seq.c.

References f, and isl_int_submul.

Referenced by normalize_divs().

◆ isl_seq_substitute()

void isl_seq_substitute ( isl_int p,
int  pos,
isl_int subs,
int  p_len,
int  subs_len,
isl_int  v 
)

◆ isl_seq_swp_or_cpy()

void isl_seq_swp_or_cpy ( isl_int dst,
isl_int src,
unsigned  len 
)

Definition at line 63 of file isl_seq.c.

References isl_int_swap_or_set.

Referenced by isl_mat_sub_transform(), and preimage().