Package jdk.graal.compiler.graphio
Interface GraphBlocks<G,B,N>
- Type Parameters:
G
- the type that represents the graphB
- the type that represents the blockN
- the type of the node
public interface GraphBlocks<G,B,N>
Special support for dealing with blocks.
-
Method Summary
Modifier and TypeMethodDescriptionint
Unique id of a block.Collection
<? extends N> blockNodes
(G info, B block) Collection
<? extends B> All blocks in the graph.Collection
<? extends B> blockSuccessors
(B block)
-
Method Details
-
blocks
All blocks in the graph.- Parameters:
graph
- the graph- Returns:
- collection of blocks in the graph
-
blockId
Unique id of a block.- Parameters:
block
- the block- Returns:
- the id of the block
-
blockNodes
-
blockSuccessors
-