reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1591 if (!space) 1593 ctx = isl_space_get_ctx(space); 1594 if (!isl_space_is_set(space)) 1596 space = isl_space_cow(space); 1596 space = isl_space_cow(space); 1597 if (!space) 1599 n_id = space->nparam + space->n_out + space->n_out; 1599 n_id = space->nparam + space->n_out + space->n_out; 1599 n_id = space->nparam + space->n_out + space->n_out; 1600 if (n_id > 0 && space->ids) { 1601 ids = isl_calloc_array(space->ctx, isl_id *, n_id); 1604 get_ids(space, isl_dim_param, 0, space->nparam, ids); 1604 get_ids(space, isl_dim_param, 0, space->nparam, ids); 1605 get_ids(space, isl_dim_out, 0, space->n_out, 1605 get_ids(space, isl_dim_out, 0, space->n_out, 1606 ids + space->nparam); 1608 space->n_in = space->n_out; 1608 space->n_in = space->n_out; 1610 free(space->ids); 1611 space->ids = ids; 1612 space->n_id = n_id; 1613 space = copy_ids(space, isl_dim_out, 0, space, isl_dim_in); 1613 space = copy_ids(space, isl_dim_out, 0, space, isl_dim_in); 1613 space = copy_ids(space, isl_dim_out, 0, space, isl_dim_in); 1615 isl_id_free(space->tuple_id[0]); 1616 space->tuple_id[0] = isl_id_copy(space->tuple_id[1]); 1616 space->tuple_id[0] = isl_id_copy(space->tuple_id[1]); 1617 isl_space_free(space->nested[0]); 1618 space->nested[0] = isl_space_copy(space->nested[1]); 1618 space->nested[0] = isl_space_copy(space->nested[1]); 1619 return space; 1621 isl_space_free(space);