reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1710 if (!dim) 1714 return isl_space_reset(dim, type); 1717 isl_die(dim->ctx, isl_error_invalid, 1720 if (first + num > n(dim, type) || first + num < first) 1721 isl_die(isl_space_get_ctx(dim), isl_error_invalid, 1722 "index out of bounds", return isl_space_free(dim)); 1723 dim = isl_space_cow(dim); 1723 dim = isl_space_cow(dim); 1724 if (!dim) 1726 if (dim->ids) { 1727 dim = extend_ids(dim); 1727 dim = extend_ids(dim); 1728 if (!dim) 1731 isl_id_free(get_id(dim, type, first + i)); 1732 for (i = first+num; i < n(dim, type); ++i) 1733 set_id(dim, type, i - num, get_id(dim, type, i)); 1733 set_id(dim, type, i - num, get_id(dim, type, i)); 1736 get_ids(dim, isl_dim_in, 0, dim->n_in, 1736 get_ids(dim, isl_dim_in, 0, dim->n_in, 1737 dim->ids + offset(dim, isl_dim_in) - num); 1737 dim->ids + offset(dim, isl_dim_in) - num); 1739 get_ids(dim, isl_dim_out, 0, dim->n_out, 1739 get_ids(dim, isl_dim_out, 0, dim->n_out, 1740 dim->ids + offset(dim, isl_dim_out) - num); 1740 dim->ids + offset(dim, isl_dim_out) - num); 1744 dim->n_id -= num; 1747 case isl_dim_param: dim->nparam -= num; break; 1748 case isl_dim_in: dim->n_in -= num; break; 1749 case isl_dim_out: dim->n_out -= num; break; 1752 dim = isl_space_reset(dim, type); 1752 dim = isl_space_reset(dim, type); 1754 if (dim && dim->nested[0] && 1754 if (dim && dim->nested[0] && 1755 !(dim->nested[0] = isl_space_drop_dims(dim->nested[0], 1755 !(dim->nested[0] = isl_space_drop_dims(dim->nested[0], 1758 if (dim && dim->nested[1] && 1758 if (dim && dim->nested[1] && 1759 !(dim->nested[1] = isl_space_drop_dims(dim->nested[1], 1759 !(dim->nested[1] = isl_space_drop_dims(dim->nested[1], 1763 return dim; 1765 isl_space_free(dim);