reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
233 dup = isl_calloc_type(tab->mat->ctx, struct isl_tab); 234 if (!dup) 236 dup->mat = isl_mat_dup(tab->mat); 237 if (!dup->mat) 239 dup->var = isl_alloc_array(tab->mat->ctx, struct isl_tab_var, tab->max_var); 240 if (tab->max_var && !dup->var) 243 dup->var[i] = tab->var[i]; 244 dup->con = isl_alloc_array(tab->mat->ctx, struct isl_tab_var, tab->max_con); 245 if (tab->max_con && !dup->con) 248 dup->con[i] = tab->con[i]; 249 dup->col_var = isl_alloc_array(tab->mat->ctx, int, tab->mat->n_col - off); 250 if ((tab->mat->n_col - off) && !dup->col_var) 253 dup->col_var[i] = tab->col_var[i]; 254 dup->row_var = isl_alloc_array(tab->mat->ctx, int, tab->mat->n_row); 255 if (tab->mat->n_row && !dup->row_var) 258 dup->row_var[i] = tab->row_var[i]; 260 dup->row_sign = isl_alloc_array(tab->mat->ctx, enum isl_tab_row_sign, 262 if (tab->mat->n_row && !dup->row_sign) 265 dup->row_sign[i] = tab->row_sign[i]; 268 dup->samples = isl_mat_dup(tab->samples); 269 if (!dup->samples) 271 dup->sample_index = isl_alloc_array(tab->mat->ctx, int, 273 if (tab->samples->n_row && !dup->sample_index) 275 dup->n_sample = tab->n_sample; 276 dup->n_outside = tab->n_outside; 278 dup->n_row = tab->n_row; 279 dup->n_con = tab->n_con; 280 dup->n_eq = tab->n_eq; 281 dup->max_con = tab->max_con; 282 dup->n_col = tab->n_col; 283 dup->n_var = tab->n_var; 284 dup->max_var = tab->max_var; 285 dup->n_param = tab->n_param; 286 dup->n_div = tab->n_div; 287 dup->n_dead = tab->n_dead; 288 dup->n_redundant = tab->n_redundant; 289 dup->rational = tab->rational; 290 dup->empty = tab->empty; 291 dup->strict_redundant = 0; 292 dup->need_undo = 0; 293 dup->in_undo = 0; 294 dup->M = tab->M; 296 dup->bottom.type = isl_tab_undo_bottom; 297 dup->bottom.next = NULL; 298 dup->top = &dup->bottom; 298 dup->top = &dup->bottom; 300 dup->n_zero = tab->n_zero; 301 dup->n_unbounded = tab->n_unbounded; 302 dup->basis = isl_mat_dup(tab->basis); 304 return dup; 306 isl_tab_free(dup);