| Modifier and Type | Class and Description |
|---|---|
| public static class | DomFront.
Dominance-frontier information for a single basic block. |
| Modifier and Type | Field and Description |
|---|---|
| private static boolean | DEBUG
local debug flag |
| private final DomFront. | |
| private final SsaMethod | meth
|
| private final ArrayList |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | buildDomTree()
The dominators algorithm leaves us knowing who the immediate dominator is for each node. |
| private void | |
| private void | |
| public DomFront. | Returns: non-null; an array of DomInfo structuresCalculates the dominance frontier information for the method. |
| DEBUG | back to summary |
|---|---|
| private static boolean DEBUG local debug flag | |
| domInfos | back to summary |
|---|---|
| private final DomFront. | |
| meth | back to summary |
|---|---|
| private final SsaMethod meth
| |
| nodes | back to summary |
|---|---|
| private final ArrayList<SsaBasicBlock> nodes | |
| DomFront | back to summary |
|---|---|
| public DomFront(SsaMethod meth) Constructs instance. Call
| |
| buildDomTree | back to summary |
|---|---|
| private void buildDomTree() The dominators algorithm leaves us knowing who the immediate dominator is for each node. This sweeps the node list and builds the proper dominance tree. | |
| calcDomFronts | back to summary |
|---|---|
| private void calcDomFronts() Calculates the dominance-frontier set. from "A Simple, Fast Dominance Algorithm" by Cooper, Harvey, and Kennedy; transliterated to Java. | |
| debugPrintDomChildren | back to summary |
|---|---|
| private void debugPrintDomChildren() | |
| run | back to summary |
|---|---|
| public DomFront. Calculates the dominance frontier information for the method. | |
| Modifier and Type | Field and Description |
|---|---|
| public IntSet | dominanceFrontiers
|
| public int | idom
|
| Access | Constructor and Description |
|---|---|
| public |
| dominanceFrontiers | back to summary |
|---|---|
| public IntSet dominanceFrontiers
| |
| idom | back to summary |
|---|---|
| public int idom
| |
| DomInfo | back to summary |
|---|---|
| public DomInfo() | |