reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
440 if (!fold1 || !fold2) 443 isl_assert(fold1->dim->ctx, fold1->type == fold2->type, goto error); 443 isl_assert(fold1->dim->ctx, fold1->type == fold2->type, goto error); 444 isl_assert(fold1->dim->ctx, isl_space_is_equal(fold1->dim, fold2->dim), 444 isl_assert(fold1->dim->ctx, isl_space_is_equal(fold1->dim, fold2->dim), 447 better = fold1->type == isl_fold_max ? -1 : 1; 449 if (isl_qpolynomial_fold_is_empty(fold1) || 451 isl_qpolynomial_fold_free(fold1); 456 isl_qpolynomial_fold_is_nan(fold1)) { 458 return fold1; 461 res = qpolynomial_fold_alloc(fold1->type, isl_space_copy(fold1->dim), 461 res = qpolynomial_fold_alloc(fold1->type, isl_space_copy(fold1->dim), 462 fold1->n + fold2->n); 466 for (i = 0; i < fold1->n; ++i) { 467 res->qp[res->n] = isl_qpolynomial_copy(fold1->qp[i]); 509 isl_qpolynomial_fold_free(fold1); 515 isl_qpolynomial_fold_free(fold1);