Struct falcon::il::Block [] [src]

pub struct Block { /* fields omitted */ }

A basic block in Falcon IL.

Methods

impl Block
[src]

[src]

Get the address of the first instruction in this block

[src]

Appends the contents of another Block to this Block.

Instruction indices are updated accordingly.

[src]

Returns the index of this Block

[src]

Returns instructions for this Block

[src]

Returns a mutable reference to the instructions for this Block.

[src]

Returns try if this Block is empty, meaning it has no Instruction

[src]

Returns an Instruction by index, or None if the instruction does not exist.

[src]

Returns a mutable reference to an Instruction by index, or None if the Instruction does not exist.

[src]

Deletes an Instruction by its index.

[src]

Generates a temporary scalar unique to this block.

[src]

Adds an assign operation to the end of this block.

[src]

Adds a store operation to the end of this block.

[src]

Adds a load operation to the end of this block.

[src]

Adds a conditional branch operation to the end of this block.

[src]

Adds a raise operation to the end of this block.

[src]

Trait Implementations

impl Clone for Block
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Block
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Block
[src]

impl Hash for Block
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

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

impl Ord for Block
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl PartialEq for Block
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl PartialOrd for Block
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Vertex for Block
[src]

[src]

[src]

impl Display for Block
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Block

impl Sync for Block