reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
874 if (!pw1 || !pw2) 877 isl_assert(pw1->dim->ctx, isl_space_is_equal(pw1->dim, pw2->dim), goto error); 881 return pw2; 884 if (isl_pw_qpolynomial_fold_is_zero(pw2)) { 885 isl_pw_qpolynomial_fold_free(pw2); 889 if (pw1->type != pw2->type) 893 n = (pw1->n + 1) * (pw2->n + 1); 899 for (j = 0; j < pw2->n; ++j) { 903 isl_set_copy(pw2->p[j].set)); 905 isl_set_copy(pw2->p[j].set)); 913 isl_qpolynomial_fold_copy(pw2->p[j].fold)); 921 for (j = 0; j < pw2->n; ++j) { 922 set = isl_set_copy(pw2->p[j].set); 926 isl_qpolynomial_fold_copy(pw2->p[j].fold)); 930 isl_pw_qpolynomial_fold_free(pw2); 935 isl_pw_qpolynomial_fold_free(pw2);