|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
DefUseList interface DefUseList is used to map a def-node to corresponding DefUseChain. An instance of DefUseChain contains one def-node defining the value of a symbol and the list of use-nodes refering the symbol. An instance of DefUseList created by new DefUseListImpl(flowRoot, lSym) maps def-node defining lSym to corresponding DefUseChain, where lSym usually represents a variable. FlowAnalSym --> DefUSeList --> DefUseChain --> def-node defining the value of the symbol --> list of use-nodes refering the symbol --> DefUseChain ... An instance of DefUseList created by new DefUseListImpl(flowRoot) maps def-node to corresponding DefUseChain, where the def-node may not be restricted to define one paticular symbol, for example, the instance may map all def-nodes in a subprogram to corresponding DefUseChain irrespective of symbols.
メソッドの概要 | |
DefUseChain |
addDefUseChain(IR pDefNode)
addDefUseChain Add DefUseChain instance which will be created by pDefNode that defines some symbol. |
DefUseChain |
getDefUseChain(IR pDefNode)
getDefUseChain Get DefUseChain having pDefNode as its define node in this DefUseList. |
java.util.List |
getDefUseChainList()
getDefUseChain Get the list of DefUseChains in this DefUseList. |
java.util.List |
getDefUseChainListOfSym(FlowAnalSym pSym)
Get the list of DefUseChains having pSym as its define node symbol. |
void |
print()
print Print this DefUseList. |
メソッドの詳細 |
public DefUseChain addDefUseChain(IR pDefNode)
public DefUseChain getDefUseChain(IR pDefNode)
pDefNode
- definition node of a DefUseChain.
public java.util.List getDefUseChainList()
public java.util.List getDefUseChainListOfSym(FlowAnalSym pSym)
pSym
- definition node symbol of DefUseChain.
public void print()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |