pub struct LocalSpace {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_local_space.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl LocalSpace
impl LocalSpace
Sourcepub fn add_dims(self, type_: DimType, n: u32) -> Result<LocalSpace, LibISLError>
pub fn add_dims(self, type_: DimType, n: u32) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_add_dims.
Sourcepub fn copy(&self) -> Result<LocalSpace, LibISLError>
pub fn copy(&self) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_copy.
Sourcepub fn domain(self) -> Result<LocalSpace, LibISLError>
pub fn domain(self) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_domain.
Sourcepub fn drop_dims(
self,
type_: DimType,
first: u32,
n: u32,
) -> Result<LocalSpace, LibISLError>
pub fn drop_dims( self, type_: DimType, first: u32, n: u32, ) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_drop_dims.
Sourcepub fn dump(&self) -> Result<(), LibISLError>
pub fn dump(&self) -> Result<(), LibISLError>
Wraps isl_local_space_dump.
Sourcepub fn find_dim_by_name(
&self,
type_: DimType,
name: &str,
) -> Result<i32, LibISLError>
pub fn find_dim_by_name( &self, type_: DimType, name: &str, ) -> Result<i32, LibISLError>
Wraps isl_local_space_find_dim_by_name.
Sourcepub fn flatten_domain(self) -> Result<LocalSpace, LibISLError>
pub fn flatten_domain(self) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_flatten_domain.
Sourcepub fn flatten_range(self) -> Result<LocalSpace, LibISLError>
pub fn flatten_range(self) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_flatten_range.
Sourcepub fn free(self) -> Result<LocalSpace, LibISLError>
pub fn free(self) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_free.
Sourcepub fn from_domain(self) -> Result<LocalSpace, LibISLError>
pub fn from_domain(self) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_from_domain.
Sourcepub fn from_space(space: Space) -> Result<LocalSpace, LibISLError>
pub fn from_space(space: Space) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_from_space.
Sourcepub fn get_dim_id(&self, type_: DimType, pos: u32) -> Result<Id, LibISLError>
pub fn get_dim_id(&self, type_: DimType, pos: u32) -> Result<Id, LibISLError>
Wraps isl_local_space_get_dim_id.
Sourcepub fn get_dim_name(
&self,
type_: DimType,
pos: u32,
) -> Result<&str, LibISLError>
pub fn get_dim_name( &self, type_: DimType, pos: u32, ) -> Result<&str, LibISLError>
Wraps isl_local_space_get_dim_name.
Sourcepub fn get_space(&self) -> Result<Space, LibISLError>
pub fn get_space(&self) -> Result<Space, LibISLError>
Wraps isl_local_space_get_space.
Sourcepub fn has_dim_id(&self, type_: DimType, pos: u32) -> Result<bool, LibISLError>
pub fn has_dim_id(&self, type_: DimType, pos: u32) -> Result<bool, LibISLError>
Wraps isl_local_space_has_dim_id.
Sourcepub fn has_dim_name(
&self,
type_: DimType,
pos: u32,
) -> Result<bool, LibISLError>
pub fn has_dim_name( &self, type_: DimType, pos: u32, ) -> Result<bool, LibISLError>
Wraps isl_local_space_has_dim_name.
Sourcepub fn insert_dims(
self,
type_: DimType,
first: u32,
n: u32,
) -> Result<LocalSpace, LibISLError>
pub fn insert_dims( self, type_: DimType, first: u32, n: u32, ) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_insert_dims.
Sourcepub fn intersect(self, ls2: LocalSpace) -> Result<LocalSpace, LibISLError>
pub fn intersect(self, ls2: LocalSpace) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_intersect.
Sourcepub fn is_equal(&self, ls2: &LocalSpace) -> Result<bool, LibISLError>
pub fn is_equal(&self, ls2: &LocalSpace) -> Result<bool, LibISLError>
Wraps isl_local_space_is_equal.
Sourcepub fn is_params(&self) -> Result<bool, LibISLError>
pub fn is_params(&self) -> Result<bool, LibISLError>
Wraps isl_local_space_is_params.
Sourcepub fn is_set(&self) -> Result<bool, LibISLError>
pub fn is_set(&self) -> Result<bool, LibISLError>
Wraps isl_local_space_is_set.
Sourcepub fn lifting(self) -> Result<BasicMap, LibISLError>
pub fn lifting(self) -> Result<BasicMap, LibISLError>
Wraps isl_local_space_lifting.
Sourcepub fn range(self) -> Result<LocalSpace, LibISLError>
pub fn range(self) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_range.
Sourcepub fn set_dim_id(
self,
type_: DimType,
pos: u32,
id: Id,
) -> Result<LocalSpace, LibISLError>
pub fn set_dim_id( self, type_: DimType, pos: u32, id: Id, ) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_set_dim_id.
Sourcepub fn set_dim_name(
self,
type_: DimType,
pos: u32,
s: &str,
) -> Result<LocalSpace, LibISLError>
pub fn set_dim_name( self, type_: DimType, pos: u32, s: &str, ) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_set_dim_name.
Sourcepub fn set_from_params(self) -> Result<LocalSpace, LibISLError>
pub fn set_from_params(self) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_set_from_params.
Sourcepub fn set_tuple_id(
self,
type_: DimType,
id: Id,
) -> Result<LocalSpace, LibISLError>
pub fn set_tuple_id( self, type_: DimType, id: Id, ) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_set_tuple_id.
Sourcepub fn wrap(self) -> Result<LocalSpace, LibISLError>
pub fn wrap(self) -> Result<LocalSpace, LibISLError>
Wraps isl_local_space_wrap.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_local_space_free() on being dropped. (For internal use only.)