reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
757 bmap = isl_basic_map_order_divs(bmap); 757 bmap = isl_basic_map_order_divs(bmap); 758 if (!bmap || bmap->n_div <= 1) 758 if (!bmap || bmap->n_div <= 1) 759 return bmap; 761 total_var = isl_space_dim(bmap->dim, isl_dim_all); 762 total = total_var + bmap->n_div; 764 ctx = bmap->ctx; 765 for (k = bmap->n_div - 1; k >= 0; --k) 766 if (!isl_int_is_zero(bmap->div[k][0])) 769 return bmap; 771 size = round_up(4 * bmap->n_div / 3 - 1); 773 return bmap; 774 elim_for = isl_calloc_array(ctx, int, bmap->n_div); 784 index[isl_seq_get_hash_bits(bmap->div[k], 2+total, bits)] = k + 1; 788 if (isl_int_is_zero(bmap->div[k][0])) 791 hash = isl_seq_get_hash_bits(bmap->div[k], 2+total, bits); 793 if (isl_seq_eq(bmap->div[k], 794 bmap->div[index[h]-1], 2+total)) 803 for (l = bmap->n_div - 1; l >= 0; --l) { 809 bmap = eliminate_div(bmap, eq.data, l, 1); 809 bmap = eliminate_div(bmap, eq.data, l, 1); 810 if (!bmap) 820 return bmap;