reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1130 if (!bset) 1133 ctx = bset->ctx; 1134 if (isl_basic_set_plain_is_empty(bset)) 1135 return empty_sample(bset); 1137 dim = isl_basic_set_n_dim(bset); 1138 isl_assert(ctx, isl_basic_set_n_param(bset) == 0, goto error); 1139 isl_assert(ctx, bset->n_div == 0, goto error); 1141 if (bset->sample && bset->sample->size == 1 + dim) { 1141 if (bset->sample && bset->sample->size == 1 + dim) { 1142 int contains = isl_basic_set_contains(bset, bset->sample); 1142 int contains = isl_basic_set_contains(bset, bset->sample); 1146 struct isl_vec *sample = isl_vec_copy(bset->sample); 1147 isl_basic_set_free(bset); 1151 isl_vec_free(bset->sample); 1152 bset->sample = NULL; 1154 if (bset->n_eq > 0) 1155 return sample_eq(bset, bounded ? isl_basic_set_sample_bounded 1158 return zero_sample(bset); 1160 return interval_sample(bset); 1162 return bounded ? sample_bounded(bset) : gbr_sample(bset); 1162 return bounded ? sample_bounded(bset) : gbr_sample(bset); 1164 isl_basic_set_free(bset);