Struct llhd::block::Block [] [src]

pub struct Block { /* fields omitted */ }

A basic block.

Methods

impl Block
[src]

[src]

Create a new empty basic block with an optional name (aka label).

[src]

Obtain a reference to this block.

[src]

Obtain an iterator over the instructions in this block.

[src]

Obtain an iterator over references to the instructions in this block.

[src]

Insert an instruction into this block as dictated by the requested position. Begin and End are treated as synonyms to BlockBegin and BlockEnd. Panics if the referred instruction is not part of this block.

[src]

Detach an instruction from this block. Panics if the instruction is not part of this block.

Trait Implementations

impl Value for Block
[src]

[src]

Get the unique ID of the value.

[src]

Get the type of the value.

[src]

Get the optional name of the value.

[src]

Whether this value is global or not. Global values are considered during linking, and are visible in a module's symbol table. Local values are not, and are only visible within the surrounding context (module or unit). Read more