reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/polly/lib/External/isl/isl_map.c
 5422 	bmap = bset_to_bmap(bset);
 5423 	isl_space_free(bmap->dim);
 5424 	bmap->dim = isl_space_copy(like->dim);
 5425 	if (!bmap->dim)
 5427 	bmap->n_div = like->n_div;
 5428 	bmap->extra += like->n_div;
 5429 	if (bmap->extra) {
 5432 		ltotal = total - bmap->extra + like->extra;
 5435 		bmap->block2 = isl_blk_extend(ctx, bmap->block2,
 5435 		bmap->block2 = isl_blk_extend(ctx, bmap->block2,
 5436 					bmap->extra * (1 + 1 + total));
 5437 		if (isl_blk_is_error(bmap->block2))
 5439 		div = isl_realloc_array(ctx, bmap->div, isl_int *, bmap->extra);
 5439 		div = isl_realloc_array(ctx, bmap->div, isl_int *, bmap->extra);
 5442 		bmap->div = div;
 5443 		for (i = 0; i < bmap->extra; ++i)
 5444 			bmap->div[i] = bmap->block2.data + i * (1 + 1 + total);
 5444 			bmap->div[i] = bmap->block2.data + i * (1 + 1 + total);
 5446 			isl_seq_cpy(bmap->div[i], like->div[i], 1 + 1 + ltotal);
 5447 			isl_seq_clr(bmap->div[i]+1+1+ltotal, total - ltotal);
 5449 		bmap = isl_basic_map_add_known_div_constraints(bmap);
 5449 		bmap = isl_basic_map_add_known_div_constraints(bmap);
 5452 	bmap = isl_basic_map_simplify(bmap);
 5452 	bmap = isl_basic_map_simplify(bmap);
 5453 	bmap = isl_basic_map_finalize(bmap);
 5453 	bmap = isl_basic_map_finalize(bmap);
 5454 	return bmap;