[][src]Struct souper_ir::ast::BlockPc

pub struct BlockPc {
    pub block: BlockId,
    pub predecessor: u32,
    pub x: Operand,
    pub y: Operand,
}

A block path condition.

Expresses that x is equal to y on an incoming predecessor to block in the control-flow graph.

Fields

block: BlockId

The basic block in question.

predecessor: u32

The ith control-flow predecessor of block.

Zero-indexed: must be less than block's total number of predecessors.

x: Operand

Must be equal to y if control-flow entered block via predecessor.

y: Operand

Must be equal to x if control-flow entered block via predecessor.

Trait Implementations

impl Clone for BlockPc[src]

impl Debug for BlockPc[src]

impl From<BlockPc> for Statement[src]

impl Parse for BlockPc[src]

impl Peek for BlockPc[src]

Auto Trait Implementations

impl RefUnwindSafe for BlockPc

impl Send for BlockPc

impl Sync for BlockPc

impl Unpin for BlockPc

impl UnwindSafe for BlockPc

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.