reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
199 vertices = isl_calloc_type(bset->ctx, isl_vertices); 200 if (!vertices) 202 vertices->ref = 1; 203 vertices->bset = isl_basic_set_copy(bset); 205 vertices->v = isl_calloc_array(bset->ctx, struct isl_vertex, 1); 206 if (!vertices->v) 208 vertices->n_vertices = 1; 209 vertices->v[0].vertex = isl_basic_set_copy(bset); 210 vertices->v[0].dom = isl_basic_set_params(isl_basic_set_copy(bset)); 211 if (!vertices->v[0].vertex || !vertices->v[0].dom) 211 if (!vertices->v[0].vertex || !vertices->v[0].dom) 214 vertices->c = isl_calloc_array(bset->ctx, struct isl_chamber, 1); 215 if (!vertices->c) 217 vertices->n_chambers = 1; 218 vertices->c[0].n_vertices = 1; 219 vertices->c[0].vertices = isl_calloc_array(bset->ctx, int, 1); 220 if (!vertices->c[0].vertices) 222 vertices->c[0].dom = isl_basic_set_copy(vertices->v[0].dom); 222 vertices->c[0].dom = isl_basic_set_copy(vertices->v[0].dom); 223 if (!vertices->c[0].dom) 226 return vertices; 228 isl_vertices_free(vertices);