reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
92 if (!vec) 95 isl_die(isl_vec_get_ctx(vec), isl_error_invalid, 96 "not an expansion", return isl_vec_free(vec)); 98 return vec; 99 if (pos < 0 || n < 0 || pos + n > vec->size) 100 isl_die(isl_vec_get_ctx(vec), isl_error_invalid, 101 "position out of bounds", return isl_vec_free(vec)); 103 old_size = vec->size; 105 vec = isl_vec_extend(vec, old_size + extra); 105 vec = isl_vec_extend(vec, old_size + extra); 106 vec = isl_vec_cow(vec); 106 vec = isl_vec_cow(vec); 107 if (!vec) 111 isl_int_set(vec->el[i + extra], vec->el[i]); 111 isl_int_set(vec->el[i + extra], vec->el[i]); 117 isl_int_swap(vec->el[pos + i], 118 vec->el[pos + j]); 121 isl_int_set_si(vec->el[pos + i], 0); 125 return vec;