reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
241 lp = isl_basic_set_alloc(set->ctx, 0, dim * set->n, 0, n_eq, n_ineq); 242 lp = isl_basic_set_set_rational(lp); 242 lp = isl_basic_set_set_rational(lp); 243 if (!lp) 245 lp_dim = isl_basic_set_n_dim(lp); 246 k = isl_basic_set_alloc_equality(lp); 247 isl_int_set_si(lp->eq[k][0], -1); 249 isl_int_set_si(lp->eq[k][1+dim*i], 0); 250 isl_int_set_si(lp->eq[k][1+dim*i+1], 1); 251 isl_seq_clr(lp->eq[k]+1+dim*i+2, dim-2); 254 k = isl_basic_set_alloc_inequality(lp); 255 isl_seq_clr(lp->ineq[k], 1+lp_dim); 256 isl_int_set_si(lp->ineq[k][1+dim*i], 1); 259 k = isl_basic_set_alloc_equality(lp); 260 isl_seq_clr(lp->eq[k], 1+dim*i); 261 isl_seq_cpy(lp->eq[k]+1+dim*i, set->p[i]->eq[j], dim); 262 isl_seq_clr(lp->eq[k]+1+dim*(i+1), dim*(set->n-i-1)); 266 k = isl_basic_set_alloc_inequality(lp); 267 isl_seq_clr(lp->ineq[k], 1+dim*i); 268 isl_seq_cpy(lp->ineq[k]+1+dim*i, set->p[i]->ineq[j], dim); 269 isl_seq_clr(lp->ineq[k]+1+dim*(i+1), dim*(set->n-i-1)); 272 return lp;