reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1110 space = isl_space_reset(space, src_type); 1110 space = isl_space_reset(space, src_type); 1111 space = isl_space_reset(space, dst_type); 1111 space = isl_space_reset(space, dst_type); 1112 if (!space) 1115 return space; 1117 isl_assert(space->ctx, src_pos + n <= isl_space_dim(space, src_type), 1117 isl_assert(space->ctx, src_pos + n <= isl_space_dim(space, src_type), 1121 return space; 1123 isl_assert(space->ctx, dst_type != src_type, goto error); 1125 space = isl_space_cow(space); 1125 space = isl_space_cow(space); 1126 if (!space) 1129 if (space->ids) { 1134 ids = isl_calloc_array(space->ctx, isl_id *, 1135 space->nparam + space->n_in + space->n_out); 1135 space->nparam + space->n_in + space->n_out); 1135 space->nparam + space->n_in + space->n_out); 1139 s[isl_dim_param - o] = space->nparam; 1140 s[isl_dim_in - o] = space->n_in; 1141 s[isl_dim_out - o] = space->n_out; 1144 get_ids(space, t, 0, dst_pos, ids + off); 1146 get_ids(space, src_type, src_pos, n, ids + off); 1148 get_ids(space, t, dst_pos, s[t - o] - dst_pos, 1152 get_ids(space, t, 0, src_pos, ids + off); 1154 get_ids(space, t, src_pos + n, 1158 get_ids(space, t, 0, s[t - o], ids + off); 1162 free(space->ids); 1163 space->ids = ids; 1164 space->n_id = space->nparam + space->n_in + space->n_out; 1164 space->n_id = space->nparam + space->n_in + space->n_out; 1164 space->n_id = space->nparam + space->n_in + space->n_out; 1164 space->n_id = space->nparam + space->n_in + space->n_out; 1168 case isl_dim_param: space->nparam += n; break; 1169 case isl_dim_in: space->n_in += n; break; 1170 case isl_dim_out: space->n_out += n; break; 1175 case isl_dim_param: space->nparam -= n; break; 1176 case isl_dim_in: space->n_in -= n; break; 1177 case isl_dim_out: space->n_out -= n; break; 1182 return space; 1185 if (!space->nested[i]) 1187 space->nested[i] = isl_space_replace_params(space->nested[i], 1187 space->nested[i] = isl_space_replace_params(space->nested[i], 1188 space); 1189 if (!space->nested[i]) 1193 return space; 1195 isl_space_free(space);