pub struct Space {
pub ptr: uintptr_t,
}Expand description
Wraps isl_space.
Fields
ptr: uintptr_tImplementations
sourceimpl 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 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.