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: bool
Implementations§
Source§impl ScheduleConstraints
impl ScheduleConstraints
Sourcepub fn get_conditional_validity(&self) -> UnionMap
pub fn get_conditional_validity(&self) -> UnionMap
Wraps isl_schedule_constraints_get_conditional_validity
.
Sourcepub fn get_proximity(&self) -> UnionMap
pub fn get_proximity(&self) -> UnionMap
Wraps isl_schedule_constraints_get_proximity
.
Sourcepub fn get_context(&self) -> Set
pub fn get_context(&self) -> Set
Wraps isl_schedule_constraints_get_context
.
Sourcepub fn set_conditional_validity(
self,
condition: UnionMap,
validity: UnionMap,
) -> ScheduleConstraints
pub fn set_conditional_validity( self, condition: UnionMap, validity: UnionMap, ) -> ScheduleConstraints
Wraps isl_schedule_constraints_set_conditional_validity
.
Sourcepub fn free(self) -> ScheduleConstraints
pub fn free(self) -> ScheduleConstraints
Wraps isl_schedule_constraints_free
.
Sourcepub fn compute_schedule(self) -> Schedule
pub fn compute_schedule(self) -> Schedule
Wraps isl_schedule_constraints_compute_schedule
.
Sourcepub fn set_coincidence(self, coincidence: UnionMap) -> ScheduleConstraints
pub fn set_coincidence(self, coincidence: UnionMap) -> ScheduleConstraints
Wraps isl_schedule_constraints_set_coincidence
.
Sourcepub fn get_coincidence(&self) -> UnionMap
pub fn get_coincidence(&self) -> UnionMap
Wraps isl_schedule_constraints_get_coincidence
.
Sourcepub fn set_validity(self, validity: UnionMap) -> ScheduleConstraints
pub fn set_validity(self, validity: UnionMap) -> ScheduleConstraints
Wraps isl_schedule_constraints_set_validity
.
Sourcepub fn set_context(self, context: Set) -> ScheduleConstraints
pub fn set_context(self, context: Set) -> ScheduleConstraints
Wraps isl_schedule_constraints_set_context
.
Sourcepub fn get_domain(&self) -> UnionSet
pub fn get_domain(&self) -> UnionSet
Wraps isl_schedule_constraints_get_domain
.
Sourcepub fn set_proximity(self, proximity: UnionMap) -> ScheduleConstraints
pub fn set_proximity(self, proximity: UnionMap) -> ScheduleConstraints
Wraps isl_schedule_constraints_set_proximity
.
Sourcepub fn get_validity(&self) -> UnionMap
pub fn get_validity(&self) -> UnionMap
Wraps isl_schedule_constraints_get_validity
.
Sourcepub fn on_domain(domain: UnionSet) -> ScheduleConstraints
pub fn on_domain(domain: UnionSet) -> ScheduleConstraints
Wraps isl_schedule_constraints_on_domain
.
Sourcepub fn apply(self, umap: UnionMap) -> ScheduleConstraints
pub fn apply(self, umap: UnionMap) -> ScheduleConstraints
Wraps isl_schedule_constraints_apply
.
Sourcepub fn get_conditional_validity_condition(&self) -> UnionMap
pub fn get_conditional_validity_condition(&self) -> UnionMap
Wraps isl_schedule_constraints_get_conditional_validity_condition
.
Sourcepub fn read_from_str(ctx: &Context, str_: &str) -> ScheduleConstraints
pub fn read_from_str(ctx: &Context, str_: &str) -> ScheduleConstraints
Wraps isl_schedule_constraints_read_from_str
.
Sourcepub fn copy(&self) -> ScheduleConstraints
pub fn copy(&self) -> ScheduleConstraints
Wraps isl_schedule_constraints_copy
.
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.)