Enum solana_rbpf::static_analysis::DfgNode
source · pub enum DfgNode {
InstructionNode(usize),
PhiNode(usize),
}
Expand description
An instruction or Φ node of the data-flow graph
Variants§
InstructionNode(usize)
Points to a single instruction
PhiNode(usize)
Points to a basic block which starts with a Φ node (because it has multiple CFG sources)
Trait Implementations§
source§impl Ord for DfgNode
impl Ord for DfgNode
source§impl PartialEq for DfgNode
impl PartialEq for DfgNode
source§impl PartialOrd for DfgNode
impl PartialOrd for DfgNode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DfgNode
impl StructuralEq for DfgNode
impl StructuralPartialEq for DfgNode
Auto Trait Implementations§
impl RefUnwindSafe for DfgNode
impl Send for DfgNode
impl Sync for DfgNode
impl Unpin for DfgNode
impl UnwindSafe for DfgNode
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