|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.mdf.MacroFlowGraph
This class represents a macro flow graph. Divide a input program into macro tasks and make their predecessors and successors.
入れ子クラスの概要 | |
(パッケージプライベート) class |
MacroFlowGraph.ControlBranch
This class individuate each conditional branches. |
フィールドの概要 | |
(パッケージプライベート) MacroFlowGraph.ControlBranch |
controlBranch
The conditional branches in the current function |
HirRoot |
hirRoot
The current HirRoot |
(パッケージプライベート) Sym |
idSym
This symbol represents the ID on threads |
SubpDefinition |
subpDef
The current sub program |
(パッケージプライベート) SubpFlow |
subpFlow
The current SubpFlow |
(パッケージプライベート) SymRoot |
symRoot
The current SymRoot |
(パッケージプライベート) SymTable |
symTab
The current symbol table |
(パッケージプライベート) Sym |
taskSym
This symbol represents the macro task number |
コンストラクタの概要 | |
MacroFlowGraph(MdfEnvironment e,
HirRoot hRoot,
SubpDefinition subpDefinition)
Constructor: |
メソッドの概要 | |
(パッケージプライベート) int |
bound()
Return the boundary of the list of the macro tasks. |
(パッケージプライベート) MacroTask |
entryBlk()
Get the entry macro task of the current macro flow graph. |
(パッケージプライベート) java.util.List |
exitBlks()
Get the list of the exit macro tasks of the current macro flow graph. |
java.util.ListIterator |
listIterator()
Get the list iterator of the macro flow graph. |
(パッケージプライベート) MacroTask |
macroTask(BBlock blk)
Search the macro task which includes the specified basic block. |
(パッケージプライベート) MacroTask |
macroTask(Label label)
Search the macro task which includes the specified label. |
(パッケージプライベート) int |
numberOfMacroTasks()
Return the number of the macro tasks. |
(パッケージプライベート) void |
print()
Debug print |
(パッケージプライベート) void |
printGraph(java.lang.String filename)
Print the node as graphviz format. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public final SubpDefinition subpDef
final SymRoot symRoot
public final HirRoot hirRoot
final SubpFlow subpFlow
final SymTable symTab
final Sym idSym
final Sym taskSym
final MacroFlowGraph.ControlBranch controlBranch
コンストラクタの詳細 |
public MacroFlowGraph(MdfEnvironment e, HirRoot hRoot, SubpDefinition subpDefinition) throws PassException
e
- The environment of the MDF modulehRoot
- The current HirRootsubpDefinition
- The current sub programメソッドの詳細 |
int bound()
int numberOfMacroTasks()
MacroTask macroTask(BBlock blk)
blk
- The basic block
MacroTask macroTask(Label label)
label
- The label
public java.util.ListIterator listIterator()
MacroTask entryBlk()
java.util.List exitBlks()
void print()
void printGraph(java.lang.String filename) throws PassException
filename
- The file name for output
PassException
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |