|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
Interface of live variable analysis.
メソッドの概要 | |
void |
addLiveInSet(NumberSet x,
BasicBlk blk)
Add set of live variable numbers at entry to NumberSet x. |
void |
addLiveOutSet(NumberSet x,
BasicBlk blk)
Add set of live variable numbers at exit of block blk to NumberSet x. |
void |
getLiveInSet(NumberSet x,
BasicBlk blk)
Copy set of live variable numbers at entry to NumberSet x. |
void |
getLiveOutSet(NumberSet x,
BasicBlk blk)
Copy set of live variable numbers at exit of block blk to NumberSet x. |
boolean |
isLiveAtEntry(int regvar,
BasicBlk blk)
Return true if variable regvar is live at entry of blk. |
boolean |
isLiveAtEntry(Symbol regvar,
BasicBlk blk)
Return true if variable regvar is live at entry of blk. |
boolean |
isLiveAtExit(int regvar,
BasicBlk blk)
Return true if variable regvar is live at exit of blk. |
boolean |
isLiveAtExit(Symbol regvar,
BasicBlk blk)
Return true if variable regvar is live at exit of blk. |
BiList |
liveIn(BasicBlk blk)
Return the list of live variables at entry of basic block blk. |
NumberSet |
liveInSet(BasicBlk blk)
Return set of live variable numbers at entry of basic block. |
BiList |
liveOut(BasicBlk blk)
Return the list of live variables at exit of basic block blk. |
NumberSet |
liveOutSet(BasicBlk blk)
Return set of live variable numbers at exit of basic block. |
インタフェース coins.backend.LocalAnalysis から継承したメソッド |
isUpToDate, printAfterBlock, printAfterFunction, printAfterStmt, printBeforeBlock, printBeforeFunction, printBeforeStmt |
メソッドの詳細 |
public boolean isLiveAtEntry(Symbol regvar, BasicBlk blk)
public boolean isLiveAtEntry(int regvar, BasicBlk blk)
public boolean isLiveAtExit(Symbol regvar, BasicBlk blk)
public boolean isLiveAtExit(int regvar, BasicBlk blk)
public BiList liveOut(BasicBlk blk)
public BiList liveIn(BasicBlk blk)
public NumberSet liveInSet(BasicBlk blk)
public NumberSet liveOutSet(BasicBlk blk)
public void getLiveOutSet(NumberSet x, BasicBlk blk)
public void addLiveOutSet(NumberSet x, BasicBlk blk)
public void getLiveInSet(NumberSet x, BasicBlk blk)
public void addLiveInSet(NumberSet x, BasicBlk blk)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |