reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4246 bmap = isl_basic_map_cow(bmap); 4246 bmap = isl_basic_map_cow(bmap); 4247 if (!bmap) 4250 row_size = 1 + isl_space_dim(bmap->dim, isl_dim_all) + bmap->extra; 4250 row_size = 1 + isl_space_dim(bmap->dim, isl_dim_all) + bmap->extra; 4251 old = bmap->block2.data; 4252 bmap->block2 = isl_blk_extend(bmap->ctx, bmap->block2, 4252 bmap->block2 = isl_blk_extend(bmap->ctx, bmap->block2, 4252 bmap->block2 = isl_blk_extend(bmap->ctx, bmap->block2, 4253 (bmap->extra + n) * (1 + row_size)); 4254 if (!bmap->block2.data) 4255 return isl_basic_map_free(bmap); 4256 new_div = isl_alloc_array(bmap->ctx, isl_int *, bmap->extra + n); 4256 new_div = isl_alloc_array(bmap->ctx, isl_int *, bmap->extra + n); 4258 return isl_basic_map_free(bmap); 4260 new_div[i] = bmap->block2.data + 4261 (bmap->extra + i) * (1 + row_size); 4264 for (i = 0; i < bmap->extra; ++i) 4265 new_div[n + i] = bmap->block2.data + (bmap->div[i] - old); 4265 new_div[n + i] = bmap->block2.data + (bmap->div[i] - old); 4266 free(bmap->div); 4267 bmap->div = new_div; 4268 bmap->n_div += n; 4269 bmap->extra += n; 4271 return bmap;