/* * Copyright 2017 Sven Verdoolaege * * Use of this software is governed by the MIT license * * Written by Sven Verdoolaege. */ /* Initialize the explicit domain of "mpa". * * The explicit domain is initialized to a universe set * in the domain space. */ static __isl_give isl_multi_pw_aff *isl_multi_pw_aff_init_explicit_domain( __isl_take isl_multi_pw_aff *mpa) { … } /* Intersect the domain of "dst" with the domain product * of the explicit domains of "src1" and "src2". * This function is only called if at least one of "src1" or "src2" * has an explicit domain. */ static __isl_give isl_multi_pw_aff * isl_multi_pw_aff_intersect_explicit_domain_product( __isl_take isl_multi_pw_aff *dst, __isl_keep isl_multi_pw_aff *src1, __isl_keep isl_multi_pw_aff *src2) { … } /* Check whether the explicit domain of "mpa" has non-zero coefficients * for any dimension in the given range or if any of these dimensions appear * with non-zero coefficients in any of the integer divisions involved. */ isl_bool isl_multi_pw_aff_involves_explicit_domain_dims( __isl_keep isl_multi_pw_aff *mpa, enum isl_dim_type type, unsigned pos, unsigned n) { … } /* Insert "n" dimensions of type "type" at position "pos" * of the explicit domain of "mpa". */ static __isl_give isl_multi_pw_aff * isl_multi_pw_aff_insert_explicit_domain_dims(__isl_take isl_multi_pw_aff *mpa, enum isl_dim_type type, unsigned pos, unsigned n) { … } /* Drop the "n" dimensions of type "type" starting at position "pos" * of the explicit domain of "mpa". */ static __isl_give isl_multi_pw_aff * isl_multi_pw_aff_drop_explicit_domain_dims(__isl_take isl_multi_pw_aff *mpa, enum isl_dim_type type, unsigned pos, unsigned n) { … } /* Move the "n" dimensions of "src_type" starting at "src_pos" of * of the explicit domain of "mpa" to dimensions of "dst_type" at "dst_pos". */ static __isl_give isl_multi_pw_aff *isl_multi_pw_aff_move_explicit_domain_dims( __isl_take isl_multi_pw_aff *mpa, enum isl_dim_type dst_type, unsigned dst_pos, enum isl_dim_type src_type, unsigned src_pos, unsigned n) { … }