Struct calyx_opt::analysis::ScheduleConflicts
source · [−]pub struct ScheduleConflicts { /* private fields */ }
Expand description
A conflict graph that describes which nodes (i.e. groups/invokes) are being run in parallel to each other.
Implementations
sourceimpl ScheduleConflicts
impl ScheduleConflicts
sourcepub fn conflicts_with(&self, node: &Id) -> HashSet<Id>
pub fn conflicts_with(&self, node: &Id) -> HashSet<Id>
Return a vector of all nodes that conflict with this nodes.
sourcepub fn all_conflicts(&self) -> impl Iterator<Item = (Id, Id)> + '_
pub fn all_conflicts(&self) -> impl Iterator<Item = (Id, Id)> + '_
Returns an iterator containing all conflict edges,
(src node: ir::Id, dst node: ir::Id)
, in this graph.
Trait Implementations
sourceimpl Default for ScheduleConflicts
impl Default for ScheduleConflicts
sourcefn default() -> ScheduleConflicts
fn default() -> ScheduleConflicts
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for ScheduleConflicts
impl Send for ScheduleConflicts
impl Sync for ScheduleConflicts
impl Unpin for ScheduleConflicts
impl UnwindSafe for ScheduleConflicts
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more