pub struct PwAffList {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_pw_aff_list.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl PwAffList
impl PwAffList
Sourcepub fn alloc(ctx: &Context, n: i32) -> Result<PwAffList, LibISLError>
pub fn alloc(ctx: &Context, n: i32) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_alloc.
Sourcepub fn clear(self) -> Result<PwAffList, LibISLError>
pub fn clear(self) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_clear.
Sourcepub fn concat(self, list2: PwAffList) -> Result<PwAffList, LibISLError>
pub fn concat(self, list2: PwAffList) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_concat.
Sourcepub fn copy(&self) -> Result<PwAffList, LibISLError>
pub fn copy(&self) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_copy.
Sourcepub fn drop(self, first: u32, n: u32) -> Result<PwAffList, LibISLError>
pub fn drop(self, first: u32, n: u32) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_drop.
Sourcepub fn dump(&self) -> Result<(), LibISLError>
pub fn dump(&self) -> Result<(), LibISLError>
Wraps isl_pw_aff_list_dump.
Sourcepub fn eq_set(self, list2: PwAffList) -> Result<Set, LibISLError>
pub fn eq_set(self, list2: PwAffList) -> Result<Set, LibISLError>
Wraps isl_pw_aff_list_eq_set.
Sourcepub fn free(self) -> Result<PwAffList, LibISLError>
pub fn free(self) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_free.
Sourcepub fn from_pw_aff(el: PwAff) -> Result<PwAffList, LibISLError>
pub fn from_pw_aff(el: PwAff) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_from_pw_aff.
Sourcepub fn ge_set(self, list2: PwAffList) -> Result<Set, LibISLError>
pub fn ge_set(self, list2: PwAffList) -> Result<Set, LibISLError>
Wraps isl_pw_aff_list_ge_set.
Sourcepub fn get_pw_aff(&self, index: i32) -> Result<PwAff, LibISLError>
pub fn get_pw_aff(&self, index: i32) -> Result<PwAff, LibISLError>
Wraps isl_pw_aff_list_get_pw_aff.
Sourcepub fn gt_set(self, list2: PwAffList) -> Result<Set, LibISLError>
pub fn gt_set(self, list2: PwAffList) -> Result<Set, LibISLError>
Wraps isl_pw_aff_list_gt_set.
Sourcepub fn insert(self, pos: u32, el: PwAff) -> Result<PwAffList, LibISLError>
pub fn insert(self, pos: u32, el: PwAff) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_insert.
Sourcepub fn le_set(self, list2: PwAffList) -> Result<Set, LibISLError>
pub fn le_set(self, list2: PwAffList) -> Result<Set, LibISLError>
Wraps isl_pw_aff_list_le_set.
Sourcepub fn lt_set(self, list2: PwAffList) -> Result<Set, LibISLError>
pub fn lt_set(self, list2: PwAffList) -> Result<Set, LibISLError>
Wraps isl_pw_aff_list_lt_set.
Sourcepub fn max(self) -> Result<PwAff, LibISLError>
pub fn max(self) -> Result<PwAff, LibISLError>
Wraps isl_pw_aff_list_max.
Sourcepub fn min(self) -> Result<PwAff, LibISLError>
pub fn min(self) -> Result<PwAff, LibISLError>
Wraps isl_pw_aff_list_min.
Sourcepub fn n_pw_aff(&self) -> Result<i32, LibISLError>
pub fn n_pw_aff(&self) -> Result<i32, LibISLError>
Wraps isl_pw_aff_list_n_pw_aff.
Sourcepub fn ne_set(self, list2: PwAffList) -> Result<Set, LibISLError>
pub fn ne_set(self, list2: PwAffList) -> Result<Set, LibISLError>
Wraps isl_pw_aff_list_ne_set.
Sourcepub fn read_from_str(
ctx: &Context,
str_: &str,
) -> Result<PwAffList, LibISLError>
pub fn read_from_str( ctx: &Context, str_: &str, ) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_read_from_str.
Sourcepub fn reverse(self) -> Result<PwAffList, LibISLError>
pub fn reverse(self) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_reverse.
Sourcepub fn set_at(self, index: i32, el: PwAff) -> Result<PwAffList, LibISLError>
pub fn set_at(self, index: i32, el: PwAff) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_set_at.
Sourcepub fn set_pw_aff(self, index: i32, el: PwAff) -> Result<PwAffList, LibISLError>
pub fn set_pw_aff(self, index: i32, el: PwAff) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_set_pw_aff.
Sourcepub fn size(&self) -> Result<i32, LibISLError>
pub fn size(&self) -> Result<i32, LibISLError>
Wraps isl_pw_aff_list_size.
Sourcepub fn swap(self, pos1: u32, pos2: u32) -> Result<PwAffList, LibISLError>
pub fn swap(self, pos1: u32, pos2: u32) -> Result<PwAffList, LibISLError>
Wraps isl_pw_aff_list_swap.
Sourcepub fn to_str(&self) -> Result<&str, LibISLError>
pub fn to_str(&self) -> Result<&str, LibISLError>
Wraps isl_pw_aff_list_to_str.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_pw_aff_list_free() on being dropped. (For internal use only.)