reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
494 unsigned total = isl_basic_map_total_dim(info[i].bmap); 500 return fuse(j, i, info, extra, detect_equalities, check_number); 502 n_eq = info[i].bmap->n_eq + info[j].bmap->n_eq; 502 n_eq = info[i].bmap->n_eq + info[j].bmap->n_eq; 503 n_ineq = info[i].bmap->n_ineq + info[j].bmap->n_ineq; 503 n_ineq = info[i].bmap->n_ineq + info[j].bmap->n_ineq; 504 fused = isl_basic_map_alloc_space(isl_space_copy(info[i].bmap->dim), 505 info[i].bmap->n_div, n_eq, n_eq + n_ineq + extra_rows); 506 fused = add_valid_constraints(fused, &info[i], 1 + total); 507 fused = add_valid_constraints(fused, &info[j], 1 + total); 510 if (ISL_F_ISSET(info[i].bmap, ISL_BASIC_MAP_RATIONAL) && 511 ISL_F_ISSET(info[j].bmap, ISL_BASIC_MAP_RATIONAL)) 514 for (k = 0; k < info[i].bmap->n_div; ++k) { 518 if (isl_seq_eq(info[i].bmap->div[k], info[j].bmap->div[k], 518 if (isl_seq_eq(info[i].bmap->div[k], info[j].bmap->div[k], 520 isl_seq_cpy(fused->div[l], info[i].bmap->div[k], 538 if (simplify || info[j].simplify) { 540 info[i].simplify = 0; 549 number_of_constraints_increases(i, j, info, fused, fused_tab)) { 555 isl_basic_map_free(info[i].bmap); 556 info[i].bmap = fused; 557 isl_tab_free(info[i].tab); 558 info[i].tab = fused_tab; 559 drop(&info[j]);