#[non_exhaustive]pub enum DataflowKind {
Statement(Node),
Phi(Vec<u32>),
Barrier,
}Expand description
Kind of a graph node.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Statement(Node)
A statement-IR node executed as-is.
Phi(Vec<u32>)
A synthetic “phi” introduced by later dataflow-analysis passes. Carries the set of graph-node ids that feed it.
Barrier
An explicit no-op barrier for scheduling passes that want to pin ordering without executing anything.
Trait Implementations§
Source§impl Clone for DataflowKind
impl Clone for DataflowKind
Source§fn clone(&self) -> DataflowKind
fn clone(&self) -> DataflowKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DataflowKind
impl !RefUnwindSafe for DataflowKind
impl Send for DataflowKind
impl Sync for DataflowKind
impl Unpin for DataflowKind
impl UnsafeUnpin for DataflowKind
impl !UnwindSafe for DataflowKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more