reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3279 if (!qp) 3283 isl_die(qp->dim->ctx, isl_error_invalid, 3292 !isl_space_is_named_or_nested(qp->dim, src_type) && 3293 !isl_space_is_named_or_nested(qp->dim, dst_type)) 3294 return qp; 3296 qp = isl_qpolynomial_cow(qp); 3296 qp = isl_qpolynomial_cow(qp); 3297 if (!qp) 3300 isl_assert(qp->dim->ctx, src_pos + n <= isl_space_dim(qp->dim, src_type), 3300 isl_assert(qp->dim->ctx, src_pos + n <= isl_space_dim(qp->dim, src_type), 3303 g_dst_pos = pos(qp->dim, dst_type) + dst_pos; 3304 g_src_pos = pos(qp->dim, src_type) + src_pos; 3308 qp->div = isl_mat_move_cols(qp->div, 2 + g_dst_pos, 2 + g_src_pos, n); 3308 qp->div = isl_mat_move_cols(qp->div, 2 + g_dst_pos, 2 + g_src_pos, n); 3309 if (!qp->div) 3311 qp = sort_divs(qp); 3311 qp = sort_divs(qp); 3312 if (!qp) 3315 reordering = reordering_move(qp->dim->ctx, 3316 qp->div->n_col - 2, g_dst_pos, g_src_pos, n); 3320 qp->upoly = reorder(qp->upoly, reordering); 3320 qp->upoly = reorder(qp->upoly, reordering); 3322 if (!qp->upoly) 3325 qp->dim = isl_space_move_dims(qp->dim, dst_type, dst_pos, src_type, src_pos, n); 3325 qp->dim = isl_space_move_dims(qp->dim, dst_type, dst_pos, src_type, src_pos, n); 3326 if (!qp->dim) 3329 return qp; 3331 isl_qpolynomial_free(qp);