pub struct ScheduleConstraints {
pub ptr: uintptr_t,
pub should_free_on_drop: bool,
}Expand description
Wraps isl_schedule_constraints.
Fields§
§ptr: uintptr_t§should_free_on_drop: boolImplementations§
Source§impl ScheduleConstraints
impl ScheduleConstraints
Sourcepub fn apply(self, umap: UnionMap) -> Result<ScheduleConstraints, LibISLError>
pub fn apply(self, umap: UnionMap) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_apply.
Sourcepub fn compute_schedule(self) -> Result<Schedule, LibISLError>
pub fn compute_schedule(self) -> Result<Schedule, LibISLError>
Wraps isl_schedule_constraints_compute_schedule.
Sourcepub fn copy(&self) -> Result<ScheduleConstraints, LibISLError>
pub fn copy(&self) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_copy.
Sourcepub fn dump(&self) -> Result<(), LibISLError>
pub fn dump(&self) -> Result<(), LibISLError>
Wraps isl_schedule_constraints_dump.
Sourcepub fn free(self) -> Result<ScheduleConstraints, LibISLError>
pub fn free(self) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_free.
Sourcepub fn get_coincidence(&self) -> Result<UnionMap, LibISLError>
pub fn get_coincidence(&self) -> Result<UnionMap, LibISLError>
Wraps isl_schedule_constraints_get_coincidence.
Sourcepub fn get_conditional_validity(&self) -> Result<UnionMap, LibISLError>
pub fn get_conditional_validity(&self) -> Result<UnionMap, LibISLError>
Wraps isl_schedule_constraints_get_conditional_validity.
Sourcepub fn get_conditional_validity_condition(
&self,
) -> Result<UnionMap, LibISLError>
pub fn get_conditional_validity_condition( &self, ) -> Result<UnionMap, LibISLError>
Wraps isl_schedule_constraints_get_conditional_validity_condition.
Sourcepub fn get_context(&self) -> Result<Set, LibISLError>
pub fn get_context(&self) -> Result<Set, LibISLError>
Wraps isl_schedule_constraints_get_context.
Sourcepub fn get_domain(&self) -> Result<UnionSet, LibISLError>
pub fn get_domain(&self) -> Result<UnionSet, LibISLError>
Wraps isl_schedule_constraints_get_domain.
Sourcepub fn get_proximity(&self) -> Result<UnionMap, LibISLError>
pub fn get_proximity(&self) -> Result<UnionMap, LibISLError>
Wraps isl_schedule_constraints_get_proximity.
Sourcepub fn get_validity(&self) -> Result<UnionMap, LibISLError>
pub fn get_validity(&self) -> Result<UnionMap, LibISLError>
Wraps isl_schedule_constraints_get_validity.
Sourcepub fn on_domain(domain: UnionSet) -> Result<ScheduleConstraints, LibISLError>
pub fn on_domain(domain: UnionSet) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_on_domain.
Sourcepub fn read_from_str(
ctx: &Context,
str_: &str,
) -> Result<ScheduleConstraints, LibISLError>
pub fn read_from_str( ctx: &Context, str_: &str, ) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_read_from_str.
Sourcepub fn set_coincidence(
self,
coincidence: UnionMap,
) -> Result<ScheduleConstraints, LibISLError>
pub fn set_coincidence( self, coincidence: UnionMap, ) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_set_coincidence.
Sourcepub fn set_conditional_validity(
self,
condition: UnionMap,
validity: UnionMap,
) -> Result<ScheduleConstraints, LibISLError>
pub fn set_conditional_validity( self, condition: UnionMap, validity: UnionMap, ) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_set_conditional_validity.
Sourcepub fn set_context(
self,
context: Set,
) -> Result<ScheduleConstraints, LibISLError>
pub fn set_context( self, context: Set, ) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_set_context.
Sourcepub fn set_proximity(
self,
proximity: UnionMap,
) -> Result<ScheduleConstraints, LibISLError>
pub fn set_proximity( self, proximity: UnionMap, ) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_set_proximity.
Sourcepub fn set_validity(
self,
validity: UnionMap,
) -> Result<ScheduleConstraints, LibISLError>
pub fn set_validity( self, validity: UnionMap, ) -> Result<ScheduleConstraints, LibISLError>
Wraps isl_schedule_constraints_set_validity.
Sourcepub fn to_str(&self) -> Result<&str, LibISLError>
pub fn to_str(&self) -> Result<&str, LibISLError>
Wraps isl_schedule_constraints_to_str.
Sourcepub fn do_not_free_on_drop(&mut self)
pub fn do_not_free_on_drop(&mut self)
Does not call isl_schedule_constraints_free() on being dropped. (For internal use only.)