|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.backend.cfg.BasicBlk
Represent basic block, a sequence of LIR instructions without intervening JUMPs.
フィールドの概要 | |
(パッケージプライベート) int |
dfn
DFST Reverse postorder number |
(パッケージプライベート) int |
dfnPre
DFST Preorder number |
FlowGraph |
flowGraph
FlowGraph owning this block. |
int |
id
Identifier of this block. |
(パッケージプライベート) BasicBlk |
parent
Parent node in the DFST. |
コンストラクタの概要 | |
(パッケージプライベート) |
BasicBlk(FlowGraph g,
int idnum,
BiList instr)
Create basic block with the fragment of instruction list. |
メソッドの概要 | |
void |
addDummyEdge(BasicBlk toBlk)
Add an dummy edge from this block to toBlk |
void |
addEdge(BasicBlk toBlk)
Add an edge from this block to toBlk |
void |
clearDummyEdges()
Remove all dummy edges from this block |
void |
clearEdges()
Remove all edges from this block |
(パッケージプライベート) void |
depthFirstSearch(DfstHook h,
BasicBlk from,
int[] cpre,
int[] crpost)
Depth First Search |
int |
dfn()
推奨されていません。 use DFST class instead. |
int |
dfnPre()
推奨されていません。 use DFST class instead. |
BiList |
dummyPredList()
Return list of dummy predecessors. |
BiList |
dummySuccList()
Return list of dummy successors. |
BiList |
instrList()
Return instruction list |
boolean |
isAncestorOf(BasicBlk x)
推奨されていません。 use DFST class instead. |
boolean |
isDescendantOf(BasicBlk x)
推奨されていません。 use DFST class instead. |
Label |
label()
Return label of this block |
void |
maintEdges()
Maintain edges from this block. |
BasicBlk |
parent()
推奨されていません。 use DFST class instead. |
BiList |
predList()
Return list of predecessors |
void |
printIt(java.io.PrintWriter output)
Print this block |
void |
printIt(java.io.PrintWriter output,
LocalAnalysis[] anals)
Print this block with callback |
void |
printStandardForm(java.io.PrintWriter output,
java.lang.String indent)
Print this block in standard form |
void |
removeDummyEdge(BasicBlk toBlk)
Remove the dummy edge from this block to toBlk |
void |
removeEdge(BasicBlk toBlk)
Remove the edge from this block to toBlk |
void |
replaceSucc(BasicBlk x,
BasicBlk y)
Change successor x to y. |
void |
setInstrList(BiList list)
Replace instruction list |
void |
setLabel(Label l)
Replace label |
BiList |
succList()
Return list of successors |
java.lang.Object |
toSexp()
Convert to external LIR format. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
public final FlowGraph flowGraph
public final int id
int dfn
int dfnPre
BasicBlk parent
コンストラクタの詳細 |
BasicBlk(FlowGraph g, int idnum, BiList instr)
メソッドの詳細 |
public BiList instrList()
public void setInstrList(BiList list)
public Label label()
public void setLabel(Label l)
public BiList succList()
public BiList predList()
public BiList dummySuccList()
public BiList dummyPredList()
public int dfn()
public int dfnPre()
public BasicBlk parent()
public boolean isAncestorOf(BasicBlk x)
public boolean isDescendantOf(BasicBlk x)
public void addEdge(BasicBlk toBlk)
public void removeEdge(BasicBlk toBlk)
public void addDummyEdge(BasicBlk toBlk)
public void removeDummyEdge(BasicBlk toBlk)
public void clearEdges()
public void clearDummyEdges()
public void maintEdges()
public void replaceSucc(BasicBlk x, BasicBlk y)
void depthFirstSearch(DfstHook h, BasicBlk from, int[] cpre, int[] crpost)
public java.lang.Object toSexp()
public void printStandardForm(java.io.PrintWriter output, java.lang.String indent)
public void printIt(java.io.PrintWriter output)
public void printIt(java.io.PrintWriter output, LocalAnalysis[] anals)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |