reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
4581 if (!bmap1 || !bmap2) 4584 isl_assert(bmap1->ctx, isl_space_is_equal(bmap1->dim, bmap2->dim), 4584 isl_assert(bmap1->ctx, isl_space_is_equal(bmap1->dim, bmap2->dim), 4587 nparam = isl_basic_map_dim(bmap1, isl_dim_param); 4588 n_in = isl_basic_map_dim(bmap1, isl_dim_in); 4589 n_out = isl_basic_map_dim(bmap1, isl_dim_out); 4591 total = nparam + n_in + n_out + bmap1->n_div + bmap2->n_div + 2 * n_out; 4592 dim_map1 = isl_dim_map_alloc(bmap1->ctx, total); 4594 isl_dim_map_dim(dim_map1, bmap1->dim, isl_dim_param, pos = 0); 4596 isl_dim_map_dim(dim_map1, bmap1->dim, isl_dim_in, pos += nparam); 4598 isl_dim_map_div(dim_map1, bmap1, pos += n_in + n_out); 4599 isl_dim_map_div(dim_map2, bmap2, pos += bmap1->n_div); 4600 isl_dim_map_dim(dim_map1, bmap1->dim, isl_dim_out, pos += bmap2->n_div); 4603 bmap = isl_basic_map_alloc_space(isl_space_copy(bmap1->dim), 4604 bmap1->n_div + bmap2->n_div + 2 * n_out, 4605 bmap1->n_eq + bmap2->n_eq + n_out, 4606 bmap1->n_ineq + bmap2->n_ineq); 4616 bmap = isl_basic_map_add_constraints_dim_map(bmap, bmap1, dim_map1); 4624 isl_basic_map_free(bmap1);