[][src]Enum llir::values::Instruction

pub enum Instruction<'ctx> {
    Alloca(AllocaInstruction<'ctx>),
    Binary(BinaryInstruction<'ctx>),
    Branch(BranchInstruction<'ctx>),
    Call(CallInstruction<'ctx>),
    CallBr(CallBrInstruction<'ctx>),
    ExtractValue(ExtractValueInstruction<'ctx>),
    FCmp(FCmpInstruction<'ctx>),
    GetElementPtr(GetElementPtrInstruction<'ctx>),
    ICmp(ICmpInstruction<'ctx>),
    IndirectBranch(IndirectBranchInstruction<'ctx>),
    InsertValue(InsertValueInstruction<'ctx>),
    Load(LoadInstruction<'ctx>),
    Phi(PhiInstruction<'ctx>),
    Return(ReturnInstruction<'ctx>),
    Select(SelectInstruction<'ctx>),
    Store(StoreInstruction<'ctx>),
    Switch(SwitchInstruction<'ctx>),
    Unary(UnaryInstruction<'ctx>),
    Unreachable(UnreachableInstruction<'ctx>),
    Other(GenericValue<'ctx>),
}

Variants

Alloca(AllocaInstruction<'ctx>)
Binary(BinaryInstruction<'ctx>)
Branch(BranchInstruction<'ctx>)
Call(CallInstruction<'ctx>)
CallBr(CallBrInstruction<'ctx>)
ExtractValue(ExtractValueInstruction<'ctx>)
FCmp(FCmpInstruction<'ctx>)
GetElementPtr(GetElementPtrInstruction<'ctx>)
ICmp(ICmpInstruction<'ctx>)
IndirectBranch(IndirectBranchInstruction<'ctx>)
InsertValue(InsertValueInstruction<'ctx>)
Load(LoadInstruction<'ctx>)
Phi(PhiInstruction<'ctx>)
Return(ReturnInstruction<'ctx>)
Select(SelectInstruction<'ctx>)
Store(StoreInstruction<'ctx>)
Switch(SwitchInstruction<'ctx>)
Unary(UnaryInstruction<'ctx>)
Unreachable(UnreachableInstruction<'ctx>)
Other(GenericValue<'ctx>)

Trait Implementations

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Auto Trait Implementations

impl<'ctx> RefUnwindSafe for Instruction<'ctx>

impl<'ctx> Send for Instruction<'ctx>

impl<'ctx> Sync for Instruction<'ctx>

impl<'ctx> Unpin for Instruction<'ctx>

impl<'ctx> UnwindSafe for Instruction<'ctx>

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.