|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
DefUseCell interface Def-use list cell representaing a definition and list of its use points. This interface does not take aliases into consideration.
入れ子クラスの概要 | |
static class |
DefUseCell.DefNode
|
フィールドの概要 | |
static IR |
PARAM
Indicates the (imaginary?) |
static IR |
UNINITIALIZED
Indicates that the variable may not have been set LOCALLY, i.e., within the subprogram, before used. |
メソッドの概要 | |
void |
addUseNode(IR pUseNode)
Adds pUseNode to the list of use nodes (returned by getUseList() ). |
IR |
getDefNode()
Returns the node (def node of this DefUseCell) that sets the value for the symbol this DefUseCell is associated with. |
java.util.List |
getUseList()
Returns the list of nodes that may use the value set at the def node (returned by getDefNode() ). |
フィールドの詳細 |
public static final IR UNINITIALIZED
Indicates that the variable may not have been set LOCALLY, i.e., within the subprogram, before used. This may be returned by getDefNode
. The name "UNINITIALIZED" may be misleading, since external variables may have already been initialized outside of the scope of this analysis (SubpFlow).
Please note that this is not a full-featured "IR node", and call to most of the methods in IR
interface will fail (UnsupportedOperationException
thrown).
public static final IR PARAM
Indicates the (imaginary?) node that initializes the formal parameter. This may be returned by getDefNode()
.
Please note that this is not a full-featured "IR node", and call to most of the methods in IR
interface will fail (UnsupportedOperationException
thrown).
メソッドの詳細 |
public IR getDefNode()
public java.util.List getUseList()
getDefNode()
).
public void addUseNode(IR pUseNode)
pUseNode
to the list of use nodes (returned by getUseList()
).
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |