[][src]Enum llhd::ir::ValueData

pub enum ValueData {
    Inst {
        ty: Type,
        inst: Inst,
    },
    Arg {
        ty: Type,
        arg: Arg,
    },
    Placeholder {
        ty: Type,
    },
}

Internal table storage for values.

Variants

Inst

The value is the result of an instruction.

Fields of Inst

ty: Typeinst: Inst
Arg

The value is an argument of the Function, Process, or Entity.

Fields of Arg

ty: Typearg: Arg
Placeholder

The value is a placeholder. Used during PHI node construction.

Fields of Placeholder

ty: Type

Methods

impl ValueData[src]

pub fn is_placeholder(&self) -> bool[src]

Check if the value is a placeholder.

Trait Implementations

impl Debug for ValueData[src]

Auto Trait Implementations

impl Send for ValueData

impl Sync for ValueData

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

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

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

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