|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.mdf.MacroTask
This class represents a macro task. Each macro tasks include some basic blocks as a list. And also, each macro tasks have their entry and exit basic blocks.
フィールドの概要 | |
Label |
label
The label of the current macro task |
java.util.LinkedList |
predList
The list of macro tasks which are the predecessor of the current macro task |
java.util.LinkedList |
succList
The list of macro tasks which are the successor of the current macro task |
static int |
THR
The threshold for debugging output |
コンストラクタの概要 | |
MacroTask(MdfEnvironment e,
int num,
BBlock blk,
Label lab)
Constructor: |
|
MacroTask(MdfEnvironment e,
int num,
Label lab)
Constructor: |
メソッドの概要 | |
(パッケージプライベート) BBlock |
addBasicBlk(BBlock blk)
Add the specified basic block into the current macro task. |
BBlock[] |
blks()
Get the basic blocks which the current macro task includes. |
(パッケージプライベート) MacroTask |
concat(MacroTask mt)
Concatenate macro tasks. |
BBlock |
entryBlk()
Get the entry basic block of the current macro task. |
java.util.LinkedList |
exitBlks()
Get the list of basic blocks in the current macro task, the basic blocks means the exit block from the current macro task. |
(パッケージプライベート) boolean |
hasCall()
check whether the current macro task has some function calls. |
(パッケージプライベート) boolean |
hasReturn()
Check whether the current macro task has some return statements. |
(パッケージプライベート) void |
printGraph(java.io.OutputStreamWriter output)
Print the node as graphviz format. |
int |
taskNumber()
Get the unique number of the current macro task. |
java.lang.String |
toString()
Get the string image of the current macro task. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
public static final int THR
public final java.util.LinkedList predList
public final java.util.LinkedList succList
public final Label label
コンストラクタの詳細 |
public MacroTask(MdfEnvironment e, int num, BBlock blk, Label lab)
e
- The environment of the MDF modulenum
- The unique number of the current macro taskblk
- The entry basic block of the current macro tasklab
- The label of the current macro taskpublic MacroTask(MdfEnvironment e, int num, Label lab)
e
- The environment of the MDF modulenum
- The unique number of the current macro tasklab
- The label of the current macro taskメソッドの詳細 |
public int taskNumber()
public BBlock entryBlk() throws PassException
PassException
- Any exceptions in itpublic java.util.LinkedList exitBlks()
boolean hasReturn()
boolean hasCall()
public BBlock[] blks() throws PassException
PassException
- Any exceptions in itBBlock addBasicBlk(BBlock blk)
blk
- The basic block which should be added
MacroTask concat(MacroTask mt) throws PassException
mt
- The macro task which should be concatenated with the current
macro task
PassException
- Any exceptions in itpublic java.lang.String toString()
java.lang.Object
内の toString
void printGraph(java.io.OutputStreamWriter output)
output
- The output stream
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |