pub struct Set {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}
Expand description
Wraps isl_set
.
Fields§
§ptr: uintptr_t
§should_free_on_drop: bool
Implementations§
Source§impl Set
impl Set
Sourcepub fn reset_space(self, space: Space) -> Set
pub fn reset_space(self, space: Space) -> Set
Wraps isl_set_reset_space
.
Sourcepub fn has_tuple_name(&self) -> bool
pub fn has_tuple_name(&self) -> bool
Wraps isl_set_has_tuple_name
.
Sourcepub fn get_tuple_name(&self) -> &str
pub fn get_tuple_name(&self) -> &str
Wraps isl_set_get_tuple_name
.
Sourcepub fn set_tuple_name(self, s: &str) -> Set
pub fn set_tuple_name(self, s: &str) -> Set
Wraps isl_set_set_tuple_name
.
Sourcepub fn has_dim_name(&self, type_: DimType, pos: u32) -> bool
pub fn has_dim_name(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_has_dim_name
.
Sourcepub fn get_dim_name(&self, type_: DimType, pos: u32) -> &str
pub fn get_dim_name(&self, type_: DimType, pos: u32) -> &str
Wraps isl_set_get_dim_name
.
Sourcepub fn set_dim_name(self, type_: DimType, pos: u32, s: &str) -> Set
pub fn set_dim_name(self, type_: DimType, pos: u32, s: &str) -> Set
Wraps isl_set_set_dim_name
.
Sourcepub fn has_dim_id(&self, type_: DimType, pos: u32) -> bool
pub fn has_dim_id(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_has_dim_id
.
Sourcepub fn get_dim_id(&self, type_: DimType, pos: u32) -> Id
pub fn get_dim_id(&self, type_: DimType, pos: u32) -> Id
Wraps isl_set_get_dim_id
.
Sourcepub fn set_tuple_id(self, id: Id) -> Set
pub fn set_tuple_id(self, id: Id) -> Set
Wraps isl_set_set_tuple_id
.
Sourcepub fn reset_tuple_id(self) -> Set
pub fn reset_tuple_id(self) -> Set
Wraps isl_set_reset_tuple_id
.
Sourcepub fn has_tuple_id(&self) -> bool
pub fn has_tuple_id(&self) -> bool
Wraps isl_set_has_tuple_id
.
Sourcepub fn get_tuple_id(&self) -> Id
pub fn get_tuple_id(&self) -> Id
Wraps isl_set_get_tuple_id
.
Sourcepub fn reset_user(self) -> Set
pub fn reset_user(self) -> Set
Wraps isl_set_reset_user
.
Sourcepub fn find_dim_by_id(&self, type_: DimType, id: &Id) -> i32
pub fn find_dim_by_id(&self, type_: DimType, id: &Id) -> i32
Wraps isl_set_find_dim_by_id
.
Sourcepub fn find_dim_by_name(&self, type_: DimType, name: &str) -> i32
pub fn find_dim_by_name(&self, type_: DimType, name: &str) -> i32
Wraps isl_set_find_dim_by_name
.
Sourcepub fn remove_redundancies(self) -> Set
pub fn remove_redundancies(self) -> Set
Wraps isl_set_remove_redundancies
.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> Set
pub fn read_from_str(ctx: &Context, str_: &str) -> Set
Wraps isl_set_read_from_str
.
Sourcepub fn lower_bound_si(self, type_: DimType, pos: u32, value: i32) -> Set
pub fn lower_bound_si(self, type_: DimType, pos: u32, value: i32) -> Set
Wraps isl_set_lower_bound_si
.
Sourcepub fn lower_bound_val(self, type_: DimType, pos: u32, value: Val) -> Set
pub fn lower_bound_val(self, type_: DimType, pos: u32, value: Val) -> Set
Wraps isl_set_lower_bound_val
.
Sourcepub fn upper_bound_si(self, type_: DimType, pos: u32, value: i32) -> Set
pub fn upper_bound_si(self, type_: DimType, pos: u32, value: i32) -> Set
Wraps isl_set_upper_bound_si
.
Sourcepub fn upper_bound_val(self, type_: DimType, pos: u32, value: Val) -> Set
pub fn upper_bound_val(self, type_: DimType, pos: u32, value: Val) -> Set
Wraps isl_set_upper_bound_val
.
Sourcepub fn equate(self, type1: DimType, pos1: i32, type2: DimType, pos2: i32) -> Set
pub fn equate(self, type1: DimType, pos1: i32, type2: DimType, pos2: i32) -> Set
Wraps isl_set_equate
.
Sourcepub fn follows_at(&self, set2: &Set, pos: i32) -> i32
pub fn follows_at(&self, set2: &Set, pos: i32) -> i32
Wraps isl_set_follows_at
.
Sourcepub fn from_params(self) -> Set
pub fn from_params(self) -> Set
Wraps isl_set_from_params
.
Sourcepub fn nat_universe(space: Space) -> Set
pub fn nat_universe(space: Space) -> Set
Wraps isl_set_nat_universe
.
Sourcepub fn from_basic_set(bset: BasicSet) -> Set
pub fn from_basic_set(bset: BasicSet) -> Set
Wraps isl_set_from_basic_set
.
Sourcepub fn sample_point(self) -> Point
pub fn sample_point(self) -> Point
Wraps isl_set_sample_point
.
Sourcepub fn detect_equalities(self) -> Set
pub fn detect_equalities(self) -> Set
Wraps isl_set_detect_equalities
.
Sourcepub fn affine_hull(self) -> BasicSet
pub fn affine_hull(self) -> BasicSet
Wraps isl_set_affine_hull
.
Sourcepub fn convex_hull(self) -> BasicSet
pub fn convex_hull(self) -> BasicSet
Wraps isl_set_convex_hull
.
Sourcepub fn polyhedral_hull(self) -> BasicSet
pub fn polyhedral_hull(self) -> BasicSet
Wraps isl_set_polyhedral_hull
.
Sourcepub fn simple_hull(self) -> BasicSet
pub fn simple_hull(self) -> BasicSet
Wraps isl_set_simple_hull
.
Sourcepub fn unshifted_simple_hull(self) -> BasicSet
pub fn unshifted_simple_hull(self) -> BasicSet
Wraps isl_set_unshifted_simple_hull
.
Sourcepub fn plain_unshifted_simple_hull(self) -> BasicSet
pub fn plain_unshifted_simple_hull(self) -> BasicSet
Wraps isl_set_plain_unshifted_simple_hull
.
Sourcepub fn bounded_simple_hull(self) -> BasicSet
pub fn bounded_simple_hull(self) -> BasicSet
Wraps isl_set_bounded_simple_hull
.
Sourcepub fn wrapped_reverse(self) -> Set
pub fn wrapped_reverse(self) -> Set
Wraps isl_set_wrapped_reverse
.
Sourcepub fn union_disjoint(self, set2: Set) -> Set
pub fn union_disjoint(self, set2: Set) -> Set
Wraps isl_set_union_disjoint
.
Sourcepub fn flat_product(self, set2: Set) -> Set
pub fn flat_product(self, set2: Set) -> Set
Wraps isl_set_flat_product
.
Sourcepub fn intersect_params(self, params: Set) -> Set
pub fn intersect_params(self, params: Set) -> Set
Wraps isl_set_intersect_params
.
Sourcepub fn intersect_factor_domain(self, domain: Set) -> Set
pub fn intersect_factor_domain(self, domain: Set) -> Set
Wraps isl_set_intersect_factor_domain
.
Sourcepub fn intersect_factor_range(self, range: Set) -> Set
pub fn intersect_factor_range(self, range: Set) -> Set
Wraps isl_set_intersect_factor_range
.
Sourcepub fn complement(self) -> Set
pub fn complement(self) -> Set
Wraps isl_set_complement
.
Sourcepub fn fix_dim_si(self, dim: u32, value: i32) -> Set
pub fn fix_dim_si(self, dim: u32, value: i32) -> Set
Wraps isl_set_fix_dim_si
.
Sourcepub fn move_dims(
self,
dst_type: DimType,
dst_pos: u32,
src_type: DimType,
src_pos: u32,
n: u32,
) -> Set
pub fn move_dims( self, dst_type: DimType, dst_pos: u32, src_type: DimType, src_pos: u32, n: u32, ) -> Set
Wraps isl_set_move_dims
.
Sourcepub fn project_out_param_id(self, id: Id) -> Set
pub fn project_out_param_id(self, id: Id) -> Set
Wraps isl_set_project_out_param_id
.
Sourcepub fn project_out_all_params(self) -> Set
pub fn project_out_all_params(self) -> Set
Wraps isl_set_project_out_all_params
.
Sourcepub fn project_onto_map(self, type_: DimType, first: u32, n: u32) -> Map
pub fn project_onto_map(self, type_: DimType, first: u32, n: u32) -> Map
Wraps isl_set_project_onto_map
.
Sourcepub fn eliminate_dims(self, first: u32, n: u32) -> Set
pub fn eliminate_dims(self, first: u32, n: u32) -> Set
Wraps isl_set_eliminate_dims
.
Sourcepub fn remove_divs_involving_dims(
self,
type_: DimType,
first: u32,
n: u32,
) -> Set
pub fn remove_divs_involving_dims( self, type_: DimType, first: u32, n: u32, ) -> Set
Wraps isl_set_remove_divs_involving_dims
.
Sourcepub fn remove_unknown_divs(self) -> Set
pub fn remove_unknown_divs(self) -> Set
Wraps isl_set_remove_unknown_divs
.
Sourcepub fn remove_divs(self) -> Set
pub fn remove_divs(self) -> Set
Wraps isl_set_remove_divs
.
Sourcepub fn drop_constraints_involving_dims(
self,
type_: DimType,
first: u32,
n: u32,
) -> Set
pub fn drop_constraints_involving_dims( self, type_: DimType, first: u32, n: u32, ) -> Set
Wraps isl_set_drop_constraints_involving_dims
.
Sourcepub fn drop_constraints_not_involving_dims(
self,
type_: DimType,
first: u32,
n: u32,
) -> Set
pub fn drop_constraints_not_involving_dims( self, type_: DimType, first: u32, n: u32, ) -> Set
Wraps isl_set_drop_constraints_not_involving_dims
.
Sourcepub fn involves_locals(&self) -> bool
pub fn involves_locals(&self) -> bool
Wraps isl_set_involves_locals
.
Sourcepub fn involves_dims(&self, type_: DimType, first: u32, n: u32) -> bool
pub fn involves_dims(&self, type_: DimType, first: u32, n: u32) -> bool
Wraps isl_set_involves_dims
.
Sourcepub fn plain_is_empty(&self) -> bool
pub fn plain_is_empty(&self) -> bool
Wraps isl_set_plain_is_empty
.
Sourcepub fn plain_is_universe(&self) -> bool
pub fn plain_is_universe(&self) -> bool
Wraps isl_set_plain_is_universe
.
Sourcepub fn is_bounded(&self) -> bool
pub fn is_bounded(&self) -> bool
Wraps isl_set_is_bounded
.
Sourcepub fn is_strict_subset(&self, set2: &Set) -> bool
pub fn is_strict_subset(&self, set2: &Set) -> bool
Wraps isl_set_is_strict_subset
.
Sourcepub fn is_disjoint(&self, set2: &Set) -> bool
pub fn is_disjoint(&self, set2: &Set) -> bool
Wraps isl_set_is_disjoint
.
Sourcepub fn is_singleton(&self) -> bool
pub fn is_singleton(&self) -> bool
Wraps isl_set_is_singleton
.
Sourcepub fn has_equal_space(&self, set2: &Set) -> bool
pub fn has_equal_space(&self, set2: &Set) -> bool
Wraps isl_set_has_equal_space
.
Sourcepub fn make_disjoint(self) -> Set
pub fn make_disjoint(self) -> Set
Wraps isl_set_make_disjoint
.
Sourcepub fn compute_divs(self) -> Set
pub fn compute_divs(self) -> Set
Wraps isl_set_compute_divs
.
Sourcepub fn align_divs(self) -> Set
pub fn align_divs(self) -> Set
Wraps isl_set_align_divs
.
Sourcepub fn plain_get_val_if_fixed(&self, type_: DimType, pos: u32) -> Val
pub fn plain_get_val_if_fixed(&self, type_: DimType, pos: u32) -> Val
Wraps isl_set_plain_get_val_if_fixed
.
Sourcepub fn dim_is_bounded(&self, type_: DimType, pos: u32) -> bool
pub fn dim_is_bounded(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_is_bounded
.
Sourcepub fn dim_has_lower_bound(&self, type_: DimType, pos: u32) -> bool
pub fn dim_has_lower_bound(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_has_lower_bound
.
Sourcepub fn dim_has_upper_bound(&self, type_: DimType, pos: u32) -> bool
pub fn dim_has_upper_bound(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_has_upper_bound
.
Sourcepub fn dim_has_any_lower_bound(&self, type_: DimType, pos: u32) -> bool
pub fn dim_has_any_lower_bound(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_has_any_lower_bound
.
Sourcepub fn dim_has_any_upper_bound(&self, type_: DimType, pos: u32) -> bool
pub fn dim_has_any_upper_bound(&self, type_: DimType, pos: u32) -> bool
Wraps isl_set_dim_has_any_upper_bound
.
Sourcepub fn gist_basic_set(self, context: BasicSet) -> Set
pub fn gist_basic_set(self, context: BasicSet) -> Set
Wraps isl_set_gist_basic_set
.
Sourcepub fn gist_params(self, context: Set) -> Set
pub fn gist_params(self, context: Set) -> Set
Wraps isl_set_gist_params
.
Sourcepub fn get_stride_info(&self, pos: i32) -> StrideInfo
pub fn get_stride_info(&self, pos: i32) -> StrideInfo
Wraps isl_set_get_stride_info
.
Sourcepub fn get_stride(&self, pos: i32) -> Val
pub fn get_stride(&self, pos: i32) -> Val
Wraps isl_set_get_stride
.
Sourcepub fn get_lattice_tile(&self) -> FixedBox
pub fn get_lattice_tile(&self) -> FixedBox
Wraps isl_set_get_lattice_tile
.
Sourcepub fn get_simple_fixed_box_hull(&self) -> FixedBox
pub fn get_simple_fixed_box_hull(&self) -> FixedBox
Wraps isl_set_get_simple_fixed_box_hull
.
Sourcepub fn plain_is_equal(&self, set2: &Set) -> bool
pub fn plain_is_equal(&self, set2: &Set) -> bool
Wraps isl_set_plain_is_equal
.
Sourcepub fn plain_is_disjoint(&self, set2: &Set) -> bool
pub fn plain_is_disjoint(&self, set2: &Set) -> bool
Wraps isl_set_plain_is_disjoint
.
Sourcepub fn n_basic_set(&self) -> i32
pub fn n_basic_set(&self) -> i32
Wraps isl_set_n_basic_set
.
Sourcepub fn from_point(pnt: Point) -> Set
pub fn from_point(pnt: Point) -> Set
Wraps isl_set_from_point
.
Sourcepub fn box_from_points(pnt1: Point, pnt2: Point) -> Set
pub fn box_from_points(pnt1: Point, pnt2: Point) -> Set
Wraps isl_set_box_from_points
.
Sourcepub fn lex_le_set(self, set2: Set) -> Map
pub fn lex_le_set(self, set2: Set) -> Map
Wraps isl_set_lex_le_set
.
Sourcepub fn lex_lt_set(self, set2: Set) -> Map
pub fn lex_lt_set(self, set2: Set) -> Map
Wraps isl_set_lex_lt_set
.
Sourcepub fn lex_ge_set(self, set2: Set) -> Map
pub fn lex_ge_set(self, set2: Set) -> Map
Wraps isl_set_lex_ge_set
.
Sourcepub fn lex_gt_set(self, set2: Set) -> Map
pub fn lex_gt_set(self, set2: Set) -> Map
Wraps isl_set_lex_gt_set
.
Sourcepub fn align_params(self, model: Space) -> Set
pub fn align_params(self, model: Space) -> Set
Wraps isl_set_align_params
.
Sourcepub fn drop_unused_params(self) -> Set
pub fn drop_unused_params(self) -> Set
Wraps isl_set_drop_unused_params
.
Sourcepub fn coefficients(self) -> BasicSet
pub fn coefficients(self) -> BasicSet
Wraps isl_set_coefficients
.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_xxx_free() on being dropped. (For internal use only.)