Lines Matching refs:simplex
1389 isl_stat (*fn)(__isl_take isl_cell *simplex, void *user), void *user) in call_on_simplex() argument
1393 struct isl_cell *simplex; in call_on_simplex() local
1397 simplex = isl_calloc_type(ctx, struct isl_cell); in call_on_simplex()
1398 if (!simplex) in call_on_simplex()
1400 simplex->vertices = isl_vertices_copy(cell->vertices); in call_on_simplex()
1401 if (!simplex->vertices) in call_on_simplex()
1403 simplex->dom = isl_basic_set_copy(cell->dom); in call_on_simplex()
1404 if (!simplex->dom) in call_on_simplex()
1406 simplex->n_vertices = n_simplex + n_other; in call_on_simplex()
1407 simplex->ids = isl_alloc_array(ctx, int, simplex->n_vertices); in call_on_simplex()
1408 if (!simplex->ids) in call_on_simplex()
1412 simplex->ids[i] = simplex_ids[i]; in call_on_simplex()
1414 simplex->ids[n_simplex + i] = other_ids[i]; in call_on_simplex()
1416 return fn(simplex, user); in call_on_simplex()
1418 isl_cell_free(simplex); in call_on_simplex()
1464 isl_stat (*fn)(__isl_take isl_cell *simplex, void *user), void *user) in triangulate() argument
1521 isl_stat (*fn)(__isl_take isl_cell *simplex, void *user), void *user) in isl_cell_foreach_simplex() argument