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

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

Internal table storage for values.

Variants

Invalid

The invalid value placeholder.

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 Clone for ValueData[src]

impl Debug for ValueData[src]

impl Default for ValueData[src]

impl<'de> Deserialize<'de> for ValueData[src]

impl Serialize for ValueData[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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.