[][src]Struct libfirm_rs::nodes::Block

pub struct Block(_);

A basic block

Methods

impl Block
[src]

Important traits for CfgPredsIterator

Access the phis of a block using get_Block_phis and get_Phi_next. Note that this list is not updated automatically. Fill the list manually or use phis instead.

impl Block
[src]

Gets entity representing this block.

Sets entity representing this block.

impl Block
[src]

Creates a new Add-node.

  • irn_left left
  • irn_right right

Creates a new Alloc-node.

  • irn_mem mem
  • irn_size size
  • alignment alignment of the memory block (must be a power of 2)

Creates a new And-node.

  • irn_left left
  • irn_right right

Creates a new Bitcast-node.

  • irn_op op
  • mode mode of the operations result

Creates a new Builtin-node.

  • irn_mem mem
  • in_ additional inputs
  • kind kind of builtin
  • ty method type for the builtin call

Creates a new Call-node.

  • irn_mem mem
  • irn_ptr ptr
  • in_ additional inputs
  • ty type of the call (usually type of the called procedure)

Creates a new Cmp-node.

  • irn_left left
  • irn_right right
  • relation Comparison relation

Creates a new Cond-node.

  • irn_selector selector

Creates a new Confirm-node.

  • irn_value value
  • irn_bound bound
  • relation relation of value to bound

Creates a new Conv-node.

  • irn_op op
  • mode mode of the operations result

Creates a new CopyB-node.

  • irn_mem mem
  • irn_dst dst
  • irn_src src
  • ty type of copied data
  • flags specifies volatility

Creates a new Div-node.

  • irn_mem mem
  • irn_left left
  • irn_right right
  • pinned pinned state

Creates a new Eor-node.

  • irn_left left
  • irn_right right

Creates a new Free-node.

  • irn_mem mem
  • irn_ptr ptr

Creates a new IJmp-node.

  • irn_target target

Creates a new Jmp-node.

Creates a new Load-node.

  • irn_mem mem
  • irn_ptr ptr
  • mode mode of the value to be loaded
  • ty The type of the object which is stored at ptr (need not match with mode)
  • flags specifies alignment, volatility and pin state

Creates a new Member-node.

  • irn_ptr ptr
  • entity entity which is selected

Creates a new Minus-node.

  • irn_op op

Creates a new Mod-node.

  • irn_mem mem
  • irn_left left
  • irn_right right
  • pinned pinned state

Creates a new Mul-node.

  • irn_left left
  • irn_right right

Creates a new Mulh-node.

  • irn_left left
  • irn_right right

Creates a new Mux-node.

  • irn_sel sel
  • irn_false false
  • irn_true true

Creates a new Not-node.

  • irn_op op

Creates a new Or-node.

  • irn_left left
  • irn_right right

Creates a new Phi-node.

  • in_ additional inputs
  • mode mode of the operations result

Creates a new Pin-node.

  • irn_op op

Creates a new Raise-node.

  • irn_mem mem
  • irn_exo_ptr exo_ptr

Creates a new Return-node.

  • irn_mem mem
  • in_ additional inputs

Creates a new Sel-node.

  • irn_ptr ptr
  • irn_index index
  • ty array type

Creates a new Shl-node.

  • irn_left left
  • irn_right right

Creates a new Shr-node.

  • irn_left left
  • irn_right right

Creates a new Shrs-node.

  • irn_left left
  • irn_right right

Creates a new Store-node.

  • irn_mem mem
  • irn_ptr ptr
  • irn_value value
  • ty The type of the object which is stored at ptr (need not match with value's type)
  • flags specifies alignment, volatility and pin state

Creates a new Sub-node.

  • irn_left left
  • irn_right right

Creates a new Switch-node.

  • irn_selector selector
  • n_outs number of outputs (including pn_Switch_default)
  • table table describing mapping from input values to Proj numbers

Creates a new Sync-node.

  • in_ additional inputs

Creates a new Tuple-node.

  • in_ additional inputs

Trait Implementations

impl NodeTrait for Block
[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 Block
[src]

impl PartialEq<Block> for Block
[src]

impl From<Block> for Node
[src]

impl Clone for Block
[src]

Performs copy-assignment from source. Read more

impl Copy for Block
[src]

impl Eq for Block
[src]

impl Debug for Block
[src]

impl Hash for Block
[src]

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

Auto Trait Implementations

impl !Send for Block

impl !Sync for Block

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]