reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
2619 if (!aff) 2622 !isl_local_space_is_named_or_nested(aff->ls, src_type) && 2623 !isl_local_space_is_named_or_nested(aff->ls, dst_type)) 2624 return aff; 2627 isl_die(isl_aff_get_ctx(aff), isl_error_invalid, 2629 return isl_aff_free(aff)); 2631 isl_die(isl_aff_get_ctx(aff), isl_error_invalid, 2632 "cannot move divs", return isl_aff_free(aff)); 2638 if (src_pos + n > isl_local_space_dim(aff->ls, src_type)) 2639 isl_die(isl_aff_get_ctx(aff), isl_error_invalid, 2640 "range out of bounds", return isl_aff_free(aff)); 2642 isl_die(isl_aff_get_ctx(aff), isl_error_unsupported, 2644 return isl_aff_free(aff)); 2646 aff = isl_aff_cow(aff); 2646 aff = isl_aff_cow(aff); 2647 if (!aff) 2650 g_src_pos = 1 + isl_local_space_offset(aff->ls, src_type) + src_pos; 2651 g_dst_pos = 1 + isl_local_space_offset(aff->ls, dst_type) + dst_pos; 2655 aff->v = isl_vec_move_els(aff->v, g_dst_pos, g_src_pos, n); 2655 aff->v = isl_vec_move_els(aff->v, g_dst_pos, g_src_pos, n); 2656 aff->ls = isl_local_space_move_dims(aff->ls, dst_type, dst_pos, 2656 aff->ls = isl_local_space_move_dims(aff->ls, dst_type, dst_pos, 2658 if (!aff->v || !aff->ls) 2658 if (!aff->v || !aff->ls) 2659 return isl_aff_free(aff); 2661 aff = sort_divs(aff); 2661 aff = sort_divs(aff); 2663 return aff;