pub struct PhiOperand {
pub branch_idx: usize,
pub vn: ValueNumber,
}Expand description
A single phi-node operand: a (predecessor-label, value-number) pair.
Fields§
§branch_idx: usizeBranch index (0 = first alt, 1 = second alt, etc.).
vn: ValueNumberValue number in that branch.
Trait Implementations§
Source§impl Clone for PhiOperand
impl Clone for PhiOperand
Source§fn clone(&self) -> PhiOperand
fn clone(&self) -> PhiOperand
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 moreSource§impl Debug for PhiOperand
impl Debug for PhiOperand
Source§impl PartialEq for PhiOperand
impl PartialEq for PhiOperand
impl Eq for PhiOperand
impl StructuralPartialEq for PhiOperand
Auto Trait Implementations§
impl Freeze for PhiOperand
impl RefUnwindSafe for PhiOperand
impl Send for PhiOperand
impl Sync for PhiOperand
impl Unpin for PhiOperand
impl UnsafeUnpin for PhiOperand
impl UnwindSafe for PhiOperand
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