[][src]Struct libfirm_rs::nodes::Switch

pub struct Switch(_);

Change control flow. The destination is chosen based on an integer input value which is looked up in a table.

Backends can implement this efficiently using a jump table.

Methods

impl Switch
[src]

Gets input selector.

Sets input selector.

Gets number of outputs (including pn_Switch_default).

Sets number of outputs (including pn_Switch_default).

Gets table describing mapping from input values to Proj numbers.

Sets table describing mapping from input values to Proj numbers.

control flow if no other case matches.

control flow if no other case matches.

Trait Implementations

impl NodeTrait for Switch
[src]

Important traits for OutNodeIterator

Important traits for OutNodeExIterator

Important traits for InNodeIterator

libifrm irg_walk wrapper Read more

Perform a DFS over all nodes within block starting at self. As soon as a Phi node is reached, that branch of the DFS is canceled. There is no callback for a Phi node. The primary use case for this API is in codegen. Read more

impl NodeDebug for Switch
[src]

impl PartialEq<Switch> for Switch
[src]

impl From<Switch> for Node
[src]

impl Clone for Switch
[src]

Performs copy-assignment from source. Read more

impl Copy for Switch
[src]

impl Eq for Switch
[src]

impl Debug for Switch
[src]

impl Hash for Switch
[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl !Send for Switch

impl !Sync for Switch

Blanket Implementations

impl<T> From for T
[src]

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

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, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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