public interface Block
Modifier and Type | Interface and Description |
---|---|
static class |
Block.BlockType
The types of basic blocks.
|
Modifier and Type | Method and Description |
---|---|
long |
getId()
Returns the unique identifier of this block.
|
@Nullable Node |
getLastNode()
Returns the last node of this block, or null if none.
|
List<Node> |
getNodes()
Returns the nodes contained within this basic block.
|
Set<Block> |
getPredecessors()
Returns the predecessors of this basic block.
|
Set<Block> |
getSuccessors()
Returns the successors of this basic block.
|
Block.BlockType |
getType()
Returns the type of this basic block.
|
Block.BlockType getType()
long getId()
Set<Block> getPredecessors()
Set<Block> getSuccessors()
@Pure List<Node> getNodes()
The following invariant holds.
forall n in getNodes() :: n.getBlock() == this