Struct llhd::seq_body::SeqBody [] [src]

pub struct SeqBody { /* fields omitted */ }

A sequential body of blocks and instructions. Represents a control flow graph as describe by a process or function, i.e. a sequential arrangement of instructions. This in contrast to the dataflow body of an entity.

Methods

impl SeqBody
[src]

[src]

Create a new sequential body.

[src]

Add a block to the body.

[src]

Move a block around within the body.

[src]

Remove a block from the body.

[src]

Add an instruction to the body.

[src]

Move an instruction around within the body.

[src]

Remove an instruction from the body.

[src]

Obtain an iterator over the blocks in this body.

[src]

Get a reference to a block in the body. Panics if the block does not exist.

[src]

Get a mutable reference to a block in the body. Panics if the block does not exist.

[src]

Get a reference to an instruction in the body. Panics if the instruction does not exist.

[src]

Get a mutable reference to an instruction in the body. Panics if the instruction does not exist.