[][src]Struct llir::values::ConditionalBranchInstruction

pub struct ConditionalBranchInstruction<'ctx>(_, _);

Conditional Branch Instruction

Implementations

impl<'ctx> ConditionalBranchInstruction<'ctx>[src]

pub fn condition(&self) -> Operand<'ctx>[src]

Get the condition operand used to determine which branch to take

pub fn then_block(&self) -> Block<'ctx>[src]

Get the block taken when condition is satisfied (then block)

pub fn else_block(&self) -> Block<'ctx>[src]

Get the block taken when condition is unsatisfied (else block)

Trait Implementations

impl<'ctx> AsInstruction<'ctx> for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> AsOperand<'ctx> for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> Clone for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> Copy for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> Debug for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> Eq for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> GetDebugMetadata<'ctx> for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> Hash for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> InstructionDebugLoc for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> InstructionTrait<'ctx> for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> PartialEq<ConditionalBranchInstruction<'ctx>> for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> Send for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> StructuralEq for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> StructuralPartialEq for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> Sync for ConditionalBranchInstruction<'ctx>[src]

impl<'ctx> ValueOpcode for ConditionalBranchInstruction<'ctx>[src]

Auto Trait Implementations

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.