pub struct Space {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_space.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl Space
impl Space
Sourcepub fn alloc(ctx: &Context, nparam: u32, n_in: u32, n_out: u32) -> Space
pub fn alloc(ctx: &Context, nparam: u32, n_in: u32, n_out: u32) -> Space
Wraps isl_space_alloc.
Sourcepub fn params_alloc(ctx: &Context, nparam: u32) -> Space
pub fn params_alloc(ctx: &Context, nparam: u32) -> Space
Wraps isl_space_params_alloc.
Sourcepub fn add_param_id(self, id: Id) -> Space
pub fn add_param_id(self, id: Id) -> Space
Wraps isl_space_add_param_id.
Sourcepub fn set_tuple_name(self, type_: DimType, s: &str) -> Space
pub fn set_tuple_name(self, type_: DimType, s: &str) -> Space
Wraps isl_space_set_tuple_name.
Sourcepub fn has_tuple_name(&self, type_: DimType) -> bool
pub fn has_tuple_name(&self, type_: DimType) -> bool
Wraps isl_space_has_tuple_name.
Sourcepub fn get_tuple_name(&self, type_: DimType) -> &str
pub fn get_tuple_name(&self, type_: DimType) -> &str
Wraps isl_space_get_tuple_name.
Sourcepub fn set_domain_tuple_id(self, id: Id) -> Space
pub fn set_domain_tuple_id(self, id: Id) -> Space
Wraps isl_space_set_domain_tuple_id.
Sourcepub fn set_range_tuple_id(self, id: Id) -> Space
pub fn set_range_tuple_id(self, id: Id) -> Space
Wraps isl_space_set_range_tuple_id.
Sourcepub fn set_tuple_id(self, type_: DimType, id: Id) -> Space
pub fn set_tuple_id(self, type_: DimType, id: Id) -> Space
Wraps isl_space_set_tuple_id.
Sourcepub fn reset_tuple_id(self, type_: DimType) -> Space
pub fn reset_tuple_id(self, type_: DimType) -> Space
Wraps isl_space_reset_tuple_id.
Sourcepub fn has_domain_tuple_id(&self) -> bool
pub fn has_domain_tuple_id(&self) -> bool
Wraps isl_space_has_domain_tuple_id.
Sourcepub fn has_range_tuple_id(&self) -> bool
pub fn has_range_tuple_id(&self) -> bool
Wraps isl_space_has_range_tuple_id.
Sourcepub fn has_tuple_id(&self, type_: DimType) -> bool
pub fn has_tuple_id(&self, type_: DimType) -> bool
Wraps isl_space_has_tuple_id.
Sourcepub fn get_domain_tuple_id(&self) -> Id
pub fn get_domain_tuple_id(&self) -> Id
Wraps isl_space_get_domain_tuple_id.
Sourcepub fn get_range_tuple_id(&self) -> Id
pub fn get_range_tuple_id(&self) -> Id
Wraps isl_space_get_range_tuple_id.
Sourcepub fn get_tuple_id(&self, type_: DimType) -> Id
pub fn get_tuple_id(&self, type_: DimType) -> Id
Wraps isl_space_get_tuple_id.
Sourcepub fn reset_user(self) -> Space
pub fn reset_user(self) -> Space
Wraps isl_space_reset_user.
Sourcepub fn has_dim_id(&self, type_: DimType, pos: u32) -> bool
pub fn has_dim_id(&self, type_: DimType, pos: u32) -> bool
Wraps isl_space_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_space_get_dim_id.
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_space_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_space_find_dim_by_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_space_has_dim_name.
Sourcepub fn set_dim_name(self, type_: DimType, pos: u32, name: &str) -> Space
pub fn set_dim_name(self, type_: DimType, pos: u32, name: &str) -> Space
Wraps isl_space_set_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_space_get_dim_name.
Sourcepub fn move_dims(
self,
dst_type: DimType,
dst_pos: u32,
src_type: DimType,
src_pos: u32,
n: u32,
) -> Space
pub fn move_dims( self, dst_type: DimType, dst_pos: u32, src_type: DimType, src_pos: u32, n: u32, ) -> Space
Wraps isl_space_move_dims.
Sourcepub fn insert_dims(self, type_: DimType, pos: u32, n: u32) -> Space
pub fn insert_dims(self, type_: DimType, pos: u32, n: u32) -> Space
Wraps isl_space_insert_dims.
Sourcepub fn domain_product(self, right: Space) -> Space
pub fn domain_product(self, right: Space) -> Space
Wraps isl_space_domain_product.
Sourcepub fn range_product(self, right: Space) -> Space
pub fn range_product(self, right: Space) -> Space
Wraps isl_space_range_product.
Sourcepub fn factor_domain(self) -> Space
pub fn factor_domain(self) -> Space
Wraps isl_space_factor_domain.
Sourcepub fn factor_range(self) -> Space
pub fn factor_range(self) -> Space
Wraps isl_space_factor_range.
Sourcepub fn domain_factor_domain(self) -> Space
pub fn domain_factor_domain(self) -> Space
Wraps isl_space_domain_factor_domain.
Sourcepub fn domain_factor_range(self) -> Space
pub fn domain_factor_range(self) -> Space
Wraps isl_space_domain_factor_range.
Sourcepub fn range_factor_domain(self) -> Space
pub fn range_factor_domain(self) -> Space
Wraps isl_space_range_factor_domain.
Sourcepub fn range_factor_range(self) -> Space
pub fn range_factor_range(self) -> Space
Wraps isl_space_range_factor_range.
Sourcepub fn domain_wrapped_domain(self) -> Space
pub fn domain_wrapped_domain(self) -> Space
Wraps isl_space_domain_wrapped_domain.
Sourcepub fn domain_wrapped_range(self) -> Space
pub fn domain_wrapped_range(self) -> Space
Wraps isl_space_domain_wrapped_range.
Sourcepub fn range_wrapped_domain(self) -> Space
pub fn range_wrapped_domain(self) -> Space
Wraps isl_space_range_wrapped_domain.
Sourcepub fn range_wrapped_range(self) -> Space
pub fn range_wrapped_range(self) -> Space
Wraps isl_space_range_wrapped_range.
Sourcepub fn map_from_set(self) -> Space
pub fn map_from_set(self) -> Space
Wraps isl_space_map_from_set.
Sourcepub fn map_from_domain_and_range(self, range: Space) -> Space
pub fn map_from_domain_and_range(self, range: Space) -> Space
Wraps isl_space_map_from_domain_and_range.
Sourcepub fn wrapped_reverse(self) -> Space
pub fn wrapped_reverse(self) -> Space
Wraps isl_space_wrapped_reverse.
Sourcepub fn domain_reverse(self) -> Space
pub fn domain_reverse(self) -> Space
Wraps isl_space_domain_reverse.
Sourcepub fn range_reverse(self) -> Space
pub fn range_reverse(self) -> Space
Wraps isl_space_range_reverse.
Sourcepub fn drop_dims(self, type_: DimType, first: u32, num: u32) -> Space
pub fn drop_dims(self, type_: DimType, first: u32, num: u32) -> Space
Wraps isl_space_drop_dims.
Sourcepub fn drop_inputs(self, first: u32, n: u32) -> Space
pub fn drop_inputs(self, first: u32, n: u32) -> Space
Wraps isl_space_drop_inputs.
Sourcepub fn drop_outputs(self, first: u32, n: u32) -> Space
pub fn drop_outputs(self, first: u32, n: u32) -> Space
Wraps isl_space_drop_outputs.
Sourcepub fn drop_all_params(self) -> Space
pub fn drop_all_params(self) -> Space
Wraps isl_space_drop_all_params.
Sourcepub fn from_domain(self) -> Space
pub fn from_domain(self) -> Space
Wraps isl_space_from_domain.
Sourcepub fn from_range(self) -> Space
pub fn from_range(self) -> Space
Wraps isl_space_from_range.
Sourcepub fn domain_map(self) -> Space
pub fn domain_map(self) -> Space
Wraps isl_space_domain_map.
Sourcepub fn add_unnamed_tuple_ui(self, dim: u32) -> Space
pub fn add_unnamed_tuple_ui(self, dim: u32) -> Space
Wraps isl_space_add_unnamed_tuple_ui.
Sourcepub fn add_named_tuple_id_ui(self, tuple_id: Id, dim: u32) -> Space
pub fn add_named_tuple_id_ui(self, tuple_id: Id, dim: u32) -> Space
Wraps isl_space_add_named_tuple_id_ui.
Sourcepub fn set_from_params(self) -> Space
pub fn set_from_params(self) -> Space
Wraps isl_space_set_from_params.
Sourcepub fn align_params(self, space2: Space) -> Space
pub fn align_params(self, space2: Space) -> Space
Wraps isl_space_align_params.
Sourcepub fn is_wrapping(&self) -> bool
pub fn is_wrapping(&self) -> bool
Wraps isl_space_is_wrapping.
Sourcepub fn domain_is_wrapping(&self) -> bool
pub fn domain_is_wrapping(&self) -> bool
Wraps isl_space_domain_is_wrapping.
Sourcepub fn range_is_wrapping(&self) -> bool
pub fn range_is_wrapping(&self) -> bool
Wraps isl_space_range_is_wrapping.
Sourcepub fn is_product(&self) -> bool
pub fn is_product(&self) -> bool
Wraps isl_space_is_product.
Sourcepub fn can_range_curry(&self) -> bool
pub fn can_range_curry(&self) -> bool
Wraps isl_space_can_range_curry.
Sourcepub fn range_curry(self) -> Space
pub fn range_curry(self) -> Space
Wraps isl_space_range_curry.
Sourcepub fn can_uncurry(&self) -> bool
pub fn can_uncurry(&self) -> bool
Wraps isl_space_can_uncurry.
Sourcepub fn has_equal_params(&self, space2: &Space) -> bool
pub fn has_equal_params(&self, space2: &Space) -> bool
Wraps isl_space_has_equal_params.
Sourcepub fn has_equal_tuples(&self, space2: &Space) -> bool
pub fn has_equal_tuples(&self, space2: &Space) -> bool
Wraps isl_space_has_equal_tuples.
Sourcepub fn tuple_is_equal(
&self,
type1: DimType,
space2: &Space,
type2: DimType,
) -> bool
pub fn tuple_is_equal( &self, type1: DimType, space2: &Space, type2: DimType, ) -> bool
Wraps isl_space_tuple_is_equal.
Sourcepub fn match_(&self, type1: DimType, space2: &Space, type2: DimType) -> bool
pub fn match_(&self, type1: DimType, space2: &Space, type2: DimType) -> bool
Wraps isl_space_match.
Sourcepub fn flatten_domain(self) -> Space
pub fn flatten_domain(self) -> Space
Wraps isl_space_flatten_domain.
Sourcepub fn flatten_range(self) -> Space
pub fn flatten_range(self) -> Space
Wraps isl_space_flatten_range.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> Space
pub fn read_from_str(ctx: &Context, str_: &str) -> Space
Wraps isl_space_read_from_str.
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.)