reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
8148 if (!isl_space_tuple_is_equal(bmap->dim, isl_dim_in, 8149 bmap->dim, isl_dim_out)) 8150 isl_die(bmap->ctx, isl_error_invalid, 8153 nparam = isl_basic_map_dim(bmap, isl_dim_param); 8154 n = isl_basic_map_dim(bmap, isl_dim_in); 8156 dim = isl_space_from_range(isl_space_domain(isl_basic_map_get_space(bmap))); 8159 bmap = isl_basic_map_from_domain(isl_basic_map_wrap(bmap)); 8159 bmap = isl_basic_map_from_domain(isl_basic_map_wrap(bmap)); 8160 bmap = isl_basic_map_apply_range(bmap, domain); 8160 bmap = isl_basic_map_apply_range(bmap, domain); 8161 bmap = isl_basic_map_extend_constraints(bmap, n, 0); 8161 bmap = isl_basic_map_extend_constraints(bmap, n, 0); 8163 total = isl_basic_map_total_dim(bmap); 8166 k = isl_basic_map_alloc_equality(bmap); 8169 isl_seq_clr(bmap->eq[k], 1 + total); 8170 isl_int_set_si(bmap->eq[k][1 + nparam + i], 1); 8171 isl_int_set_si(bmap->eq[k][1 + nparam + n + i], -1); 8172 isl_int_set_si(bmap->eq[k][1 + nparam + n + n + i], 1); 8175 bmap = isl_basic_map_gauss(bmap, NULL); 8175 bmap = isl_basic_map_gauss(bmap, NULL); 8176 return isl_basic_map_finalize(bmap); 8178 isl_basic_map_free(bmap);