reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
40 tab = isl_calloc_type(ctx, struct isl_tab); 41 if (!tab) 43 tab->mat = isl_mat_alloc(ctx, n_row, off + n_var); 44 if (!tab->mat) 46 tab->var = isl_alloc_array(ctx, struct isl_tab_var, n_var); 47 if (n_var && !tab->var) 49 tab->con = isl_alloc_array(ctx, struct isl_tab_var, n_row); 50 if (n_row && !tab->con) 52 tab->col_var = isl_alloc_array(ctx, int, n_var); 53 if (n_var && !tab->col_var) 55 tab->row_var = isl_alloc_array(ctx, int, n_row); 56 if (n_row && !tab->row_var) 59 tab->var[i].index = i; 60 tab->var[i].is_row = 0; 61 tab->var[i].is_nonneg = 0; 62 tab->var[i].is_zero = 0; 63 tab->var[i].is_redundant = 0; 64 tab->var[i].frozen = 0; 65 tab->var[i].negated = 0; 66 tab->col_var[i] = i; 68 tab->n_row = 0; 69 tab->n_con = 0; 70 tab->n_eq = 0; 71 tab->max_con = n_row; 72 tab->n_col = n_var; 73 tab->n_var = n_var; 74 tab->max_var = n_var; 75 tab->n_param = 0; 76 tab->n_div = 0; 77 tab->n_dead = 0; 78 tab->n_redundant = 0; 79 tab->strict_redundant = 0; 80 tab->need_undo = 0; 81 tab->rational = 0; 82 tab->empty = 0; 83 tab->in_undo = 0; 84 tab->M = M; 85 tab->cone = 0; 86 tab->bottom.type = isl_tab_undo_bottom; 87 tab->bottom.next = NULL; 88 tab->top = &tab->bottom; 88 tab->top = &tab->bottom; 90 tab->n_zero = 0; 91 tab->n_unbounded = 0; 92 tab->basis = NULL; 94 return tab; 96 isl_tab_free(tab);