reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
142 lp = isl_calloc_type(tab->mat->ctx, struct tab_lp); 143 if (!lp) 146 isl_int_init(lp->opt); 147 isl_int_init(lp->opt_denom); 148 isl_int_init(lp->tmp); 149 isl_int_init(lp->tmp2); 151 lp->dim = tab->n_var; 153 lp->ctx = tab->mat->ctx; 154 isl_ctx_ref(lp->ctx); 156 lp->stack = isl_alloc_array(lp->ctx, struct isl_tab_undo *, lp->dim); 156 lp->stack = isl_alloc_array(lp->ctx, struct isl_tab_undo *, lp->dim); 156 lp->stack = isl_alloc_array(lp->ctx, struct isl_tab_undo *, lp->dim); 158 lp->row = isl_vec_alloc(lp->ctx, 1 + 2 * lp->dim); 158 lp->row = isl_vec_alloc(lp->ctx, 1 + 2 * lp->dim); 158 lp->row = isl_vec_alloc(lp->ctx, 1 + 2 * lp->dim); 159 if (!lp->row) 161 lp->tab = gbr_tab(tab, lp->row); 161 lp->tab = gbr_tab(tab, lp->row); 162 if (!lp->tab) 164 lp->con_offset = lp->tab->n_con; 164 lp->con_offset = lp->tab->n_con; 165 lp->obj = NULL; 166 lp->neq = 0; 168 return lp; 170 delete_lp(lp);