reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
410 if (!pw1 || !pw2) 415 if (pw1->type != pw2->type) 419 isl_assert(ctx, isl_space_is_equal(pw1->dim, pw2->dim), goto error); 423 return pw2; 426 if (FN(PW,IS_ZERO)(pw2)) { 427 FN(PW,free)(pw2); 431 n = (pw1->n + 1) * (pw2->n + 1); 440 for (j = 0; j < pw2->n; ++j) { 444 isl_set_copy(pw2->p[j].set)); 450 isl_set_copy(pw2->p[j].set)); 454 FN(EL,copy)(pw2->p[j].FIELD)); 461 for (j = 0; j < pw2->n; ++j) { 462 set = isl_set_copy(pw2->p[j].set); 466 res = FN(PW,add_piece)(res, set, FN(EL,copy)(pw2->p[j].FIELD)); 470 FN(PW,free)(pw2); 475 FN(PW,free)(pw2);