reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1466 if (!ls) 1469 !isl_local_space_is_named_or_nested(ls, src_type) && 1470 !isl_local_space_is_named_or_nested(ls, dst_type)) 1471 return ls; 1473 if (src_pos + n > isl_local_space_dim(ls, src_type)) 1474 isl_die(isl_local_space_get_ctx(ls), isl_error_invalid, 1475 "range out of bounds", return isl_local_space_free(ls)); 1476 if (dst_pos > isl_local_space_dim(ls, dst_type)) 1477 isl_die(isl_local_space_get_ctx(ls), isl_error_invalid, 1479 return isl_local_space_free(ls)); 1481 isl_die(isl_local_space_get_ctx(ls), isl_error_invalid, 1482 "cannot move divs", return isl_local_space_free(ls)); 1484 isl_die(isl_local_space_get_ctx(ls), isl_error_invalid, 1485 "cannot move to divs", return isl_local_space_free(ls)); 1487 return ls; 1489 isl_die(isl_local_space_get_ctx(ls), isl_error_unsupported, 1491 return isl_local_space_free(ls)); 1493 ls = isl_local_space_cow(ls); 1493 ls = isl_local_space_cow(ls); 1494 if (!ls) 1497 g_src_pos = 1 + isl_local_space_offset(ls, src_type) + src_pos; 1498 g_dst_pos = 1 + isl_local_space_offset(ls, dst_type) + dst_pos; 1501 ls->div = isl_mat_move_cols(ls->div, g_dst_pos, g_src_pos, n); 1501 ls->div = isl_mat_move_cols(ls->div, g_dst_pos, g_src_pos, n); 1502 if (!ls->div) 1503 return isl_local_space_free(ls); 1504 ls->dim = isl_space_move_dims(ls->dim, dst_type, dst_pos, 1504 ls->dim = isl_space_move_dims(ls->dim, dst_type, dst_pos, 1506 if (!ls->dim) 1507 return isl_local_space_free(ls); 1509 return ls;