pub struct MultiAff {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}
Expand description
Wraps isl_multi_aff
.
Fields§
§ptr: uintptr_t
§should_free_on_drop: bool
Implementations§
Source§impl MultiAff
impl MultiAff
Sourcepub fn lex_lt_set(self, ma2: MultiAff) -> Set
pub fn lex_lt_set(self, ma2: MultiAff) -> Set
Wraps isl_multi_aff_lex_lt_set
.
Sourcepub fn to_multi_union_pw_aff(self) -> MultiUnionPwAff
pub fn to_multi_union_pw_aff(self) -> MultiUnionPwAff
Wraps isl_multi_aff_to_multi_union_pw_aff
.
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_multi_aff_find_dim_by_id
.
Sourcepub fn align_params(self, model: Space) -> MultiAff
pub fn align_params(self, model: Space) -> MultiAff
Wraps isl_multi_aff_align_params
.
Sourcepub fn splice(self, in_pos: u32, out_pos: u32, multi2: MultiAff) -> MultiAff
pub fn splice(self, in_pos: u32, out_pos: u32, multi2: MultiAff) -> MultiAff
Wraps isl_multi_aff_splice
.
Sourcepub fn get_dim_id(&self, type_: DimType, pos: u32) -> Id
pub fn get_dim_id(&self, type_: DimType, pos: u32) -> Id
Wraps isl_multi_aff_get_dim_id
.
Sourcepub fn range_product(self, multi2: MultiAff) -> MultiAff
pub fn range_product(self, multi2: MultiAff) -> MultiAff
Wraps isl_multi_aff_range_product
.
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_multi_aff_involves_dims
.
Sourcepub fn flatten_range(self) -> MultiAff
pub fn flatten_range(self) -> MultiAff
Wraps isl_multi_aff_flatten_range
.
Sourcepub fn plain_is_equal(&self, multi2: &MultiAff) -> bool
pub fn plain_is_equal(&self, multi2: &MultiAff) -> bool
Wraps isl_multi_aff_plain_is_equal
.
Sourcepub fn bind_domain(self, tuple: MultiId) -> MultiAff
pub fn bind_domain(self, tuple: MultiId) -> MultiAff
Wraps isl_multi_aff_bind_domain
.
Sourcepub fn range_splice(self, pos: u32, multi2: MultiAff) -> MultiAff
pub fn range_splice(self, pos: u32, multi2: MultiAff) -> MultiAff
Wraps isl_multi_aff_range_splice
.
Sourcepub fn lex_gt_set(self, ma2: MultiAff) -> Set
pub fn lex_gt_set(self, ma2: MultiAff) -> Set
Wraps isl_multi_aff_lex_gt_set
.
Sourcepub fn to_multi_pw_aff(self) -> MultiPwAff
pub fn to_multi_pw_aff(self) -> MultiPwAff
Wraps isl_multi_aff_to_multi_pw_aff
.
Sourcepub fn range_is_wrapping(&self) -> bool
pub fn range_is_wrapping(&self) -> bool
Wraps isl_multi_aff_range_is_wrapping
.
Sourcepub fn has_tuple_id(&self, type_: DimType) -> bool
pub fn has_tuple_id(&self, type_: DimType) -> bool
Wraps isl_multi_aff_has_tuple_id
.
Sourcepub fn project_out_map(
space: Space,
type_: DimType,
first: u32,
n: u32,
) -> MultiAff
pub fn project_out_map( space: Space, type_: DimType, first: u32, n: u32, ) -> MultiAff
Wraps isl_multi_aff_project_out_map
.
Sourcepub fn insert_dims(self, type_: DimType, first: u32, n: u32) -> MultiAff
pub fn insert_dims(self, type_: DimType, first: u32, n: u32) -> MultiAff
Wraps isl_multi_aff_insert_dims
.
Sourcepub fn from_range(self) -> MultiAff
pub fn from_range(self) -> MultiAff
Wraps isl_multi_aff_from_range
.
Sourcepub fn scale_down_val(self, v: Val) -> MultiAff
pub fn scale_down_val(self, v: Val) -> MultiAff
Wraps isl_multi_aff_scale_down_val
.
Sourcepub fn flat_range_product(self, multi2: MultiAff) -> MultiAff
pub fn flat_range_product(self, multi2: MultiAff) -> MultiAff
Wraps isl_multi_aff_flat_range_product
.
Sourcepub fn domain_map(space: Space) -> MultiAff
pub fn domain_map(space: Space) -> MultiAff
Wraps isl_multi_aff_domain_map
.
Sourcepub fn involves_nan(&self) -> bool
pub fn involves_nan(&self) -> bool
Wraps isl_multi_aff_involves_nan
.
Sourcepub fn identity_multi_aff(self) -> MultiAff
pub fn identity_multi_aff(self) -> MultiAff
Wraps isl_multi_aff_identity_multi_aff
.
Sourcepub fn from_aff_list(space: Space, list: AffList) -> MultiAff
pub fn from_aff_list(space: Space, list: AffList) -> MultiAff
Wraps isl_multi_aff_from_aff_list
.
Sourcepub fn insert_domain(self, domain: Space) -> MultiAff
pub fn insert_domain(self, domain: Space) -> MultiAff
Wraps isl_multi_aff_insert_domain
.
Sourcepub fn get_domain_space(&self) -> Space
pub fn get_domain_space(&self) -> Space
Wraps isl_multi_aff_get_domain_space
.
Sourcepub fn multi_val_on_space(space: Space, mv: MultiVal) -> MultiAff
pub fn multi_val_on_space(space: Space, mv: MultiVal) -> MultiAff
Wraps isl_multi_aff_multi_val_on_space
.
Sourcepub fn gist_params(self, context: Set) -> MultiAff
pub fn gist_params(self, context: Set) -> MultiAff
Wraps isl_multi_aff_gist_params
.
Sourcepub fn scale_down_multi_val(self, mv: MultiVal) -> MultiAff
pub fn scale_down_multi_val(self, mv: MultiVal) -> MultiAff
Wraps isl_multi_aff_scale_down_multi_val
.
Sourcepub fn set_range_tuple_id(self, id: Id) -> MultiAff
pub fn set_range_tuple_id(self, id: Id) -> MultiAff
Wraps isl_multi_aff_set_range_tuple_id
.
Sourcepub fn has_range_tuple_id(&self) -> bool
pub fn has_range_tuple_id(&self) -> bool
Wraps isl_multi_aff_has_range_tuple_id
.
Sourcepub fn factor_range(self) -> MultiAff
pub fn factor_range(self) -> MultiAff
Wraps isl_multi_aff_factor_range
.
Sourcepub fn reset_tuple_id(self, type_: DimType) -> MultiAff
pub fn reset_tuple_id(self, type_: DimType) -> MultiAff
Wraps isl_multi_aff_reset_tuple_id
.
Sourcepub fn flatten_domain(self) -> MultiAff
pub fn flatten_domain(self) -> MultiAff
Wraps isl_multi_aff_flatten_domain
.
Sourcepub fn get_tuple_name(&self, type_: DimType) -> &str
pub fn get_tuple_name(&self, type_: DimType) -> &str
Wraps isl_multi_aff_get_tuple_name
.
Sourcepub fn get_constant_multi_val(&self) -> MultiVal
pub fn get_constant_multi_val(&self) -> MultiVal
Wraps isl_multi_aff_get_constant_multi_val
.
Sourcepub fn unbind_params_insert_domain(self, domain: MultiId) -> MultiAff
pub fn unbind_params_insert_domain(self, domain: MultiId) -> MultiAff
Wraps isl_multi_aff_unbind_params_insert_domain
.
Sourcepub fn reset_user(self) -> MultiAff
pub fn reset_user(self) -> MultiAff
Wraps isl_multi_aff_reset_user
.
Sourcepub fn get_tuple_id(&self, type_: DimType) -> Id
pub fn get_tuple_id(&self, type_: DimType) -> Id
Wraps isl_multi_aff_get_tuple_id
.
Sourcepub fn bind_domain_wrapped_domain(self, tuple: MultiId) -> MultiAff
pub fn bind_domain_wrapped_domain(self, tuple: MultiId) -> MultiAff
Wraps isl_multi_aff_bind_domain_wrapped_domain
.
Sourcepub fn mod_multi_val(self, mv: MultiVal) -> MultiAff
pub fn mod_multi_val(self, mv: MultiVal) -> MultiAff
Wraps isl_multi_aff_mod_multi_val
.
Sourcepub fn scale_multi_val(self, mv: MultiVal) -> MultiAff
pub fn scale_multi_val(self, mv: MultiVal) -> MultiAff
Wraps isl_multi_aff_scale_multi_val
.
Sourcepub fn add_constant_multi_val(self, mv: MultiVal) -> MultiAff
pub fn add_constant_multi_val(self, mv: MultiVal) -> MultiAff
Wraps isl_multi_aff_add_constant_multi_val
.
Sourcepub fn add_constant_val(self, v: Val) -> MultiAff
pub fn add_constant_val(self, v: Val) -> MultiAff
Wraps isl_multi_aff_add_constant_val
.
Sourcepub fn identity_on_domain_space(space: Space) -> MultiAff
pub fn identity_on_domain_space(space: Space) -> MultiAff
Wraps isl_multi_aff_identity_on_domain_space
.
Sourcepub fn set_tuple_name(self, type_: DimType, s: &str) -> MultiAff
pub fn set_tuple_name(self, type_: DimType, s: &str) -> MultiAff
Wraps isl_multi_aff_set_tuple_name
.
Sourcepub fn to_pw_multi_aff(self) -> PwMultiAff
pub fn to_pw_multi_aff(self) -> PwMultiAff
Wraps isl_multi_aff_to_pw_multi_aff
.
Sourcepub fn range_factor_domain(self) -> MultiAff
pub fn range_factor_domain(self) -> MultiAff
Wraps isl_multi_aff_range_factor_domain
.
Sourcepub fn pullback_multi_aff(self, ma2: MultiAff) -> MultiAff
pub fn pullback_multi_aff(self, ma2: MultiAff) -> MultiAff
Wraps isl_multi_aff_pullback_multi_aff
.
Sourcepub fn domain_reverse(self) -> MultiAff
pub fn domain_reverse(self) -> MultiAff
Wraps isl_multi_aff_domain_reverse
.
Sourcepub fn lex_le_set(self, ma2: MultiAff) -> Set
pub fn lex_le_set(self, ma2: MultiAff) -> Set
Wraps isl_multi_aff_lex_le_set
.
Sourcepub fn get_range_tuple_id(&self) -> Id
pub fn get_range_tuple_id(&self) -> Id
Wraps isl_multi_aff_get_range_tuple_id
.
Sourcepub fn range_factor_range(self) -> MultiAff
pub fn range_factor_range(self) -> MultiAff
Wraps isl_multi_aff_range_factor_range
.
Sourcepub fn drop_dims(self, type_: DimType, first: u32, n: u32) -> MultiAff
pub fn drop_dims(self, type_: DimType, first: u32, n: u32) -> MultiAff
Wraps isl_multi_aff_drop_dims
.
Sourcepub fn multi_val_on_domain_space(space: Space, mv: MultiVal) -> MultiAff
pub fn multi_val_on_domain_space(space: Space, mv: MultiVal) -> MultiAff
Wraps isl_multi_aff_multi_val_on_domain_space
.
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_multi_aff_find_dim_by_name
.
Sourcepub fn set_tuple_id(self, type_: DimType, id: Id) -> MultiAff
pub fn set_tuple_id(self, type_: DimType, id: Id) -> MultiAff
Wraps isl_multi_aff_set_tuple_id
.
Sourcepub fn involves_locals(&self) -> bool
pub fn involves_locals(&self) -> bool
Wraps isl_multi_aff_involves_locals
.
Sourcepub fn reset_range_tuple_id(self) -> MultiAff
pub fn reset_range_tuple_id(self) -> MultiAff
Wraps isl_multi_aff_reset_range_tuple_id
.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> MultiAff
pub fn read_from_str(ctx: &Context, str_: &str) -> MultiAff
Wraps isl_multi_aff_read_from_str
.
Sourcepub fn move_dims(
self,
dst_type: DimType,
dst_pos: u32,
src_type: DimType,
src_pos: u32,
n: u32,
) -> MultiAff
pub fn move_dims( self, dst_type: DimType, dst_pos: u32, src_type: DimType, src_pos: u32, n: u32, ) -> MultiAff
Wraps isl_multi_aff_move_dims
.
Sourcepub fn lex_ge_set(self, ma2: MultiAff) -> Set
pub fn lex_ge_set(self, ma2: MultiAff) -> Set
Wraps isl_multi_aff_lex_ge_set
.
Sourcepub fn set_dim_id(self, type_: DimType, pos: u32, id: Id) -> MultiAff
pub fn set_dim_id(self, type_: DimType, pos: u32, id: Id) -> MultiAff
Wraps isl_multi_aff_set_dim_id
.
Sourcepub fn project_domain_on_params(self) -> MultiAff
pub fn project_domain_on_params(self) -> MultiAff
Wraps isl_multi_aff_project_domain_on_params
.
Sourcepub fn set_dim_name(self, type_: DimType, pos: u32, s: &str) -> MultiAff
pub fn set_dim_name(self, type_: DimType, pos: u32, s: &str) -> MultiAff
Wraps isl_multi_aff_set_dim_name
.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_multi_aff_free() on being dropped. (For internal use only.)