coins.ssa
クラス SsaGraphNode

java.lang.Object
  |
  +--coins.ssa.SsaGraphNode

class SsaGraphNode
extends java.lang.Object

The node of the SSA graph


フィールドの概要
 BasicBlk belong
          The basic block which the LIR node of this node is in
 LirNode node
          The LIR node of this node
 int opCode
          The operator code of this node
 SsaGraphNode[] parents
          The parents of this node
 
コンストラクタの概要
SsaGraphNode(SsaEnvironment e, LirNode n, BasicBlk blk, int numOfParents)
          Constructor
 
メソッドの概要
(パッケージプライベート)  LirNode apply(BiList nodeList)
          Translate this node into LIR node.
(パッケージプライベート)  void printGraph(java.io.OutputStreamWriter output, BiList list)
          Print the node as graphviz format.
(パッケージプライベート)  void setSymbol(Symbol s)
          Set the symbol of this node.
(パッケージプライベート)  Symbol symbol()
          Return the symbol of this node.
 java.lang.String toString()
          The String representation of this node.
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

belong

public final BasicBlk belong
The basic block which the LIR node of this node is in


opCode

public final int opCode
The operator code of this node


node

public final LirNode node
The LIR node of this node


parents

public final SsaGraphNode[] parents
The parents of this node

コンストラクタの詳細

SsaGraphNode

public SsaGraphNode(SsaEnvironment e,
                    LirNode n,
                    BasicBlk blk,
                    int numOfParents)
Constructor

パラメータ:
e - The environment of the SSA module
n - The LIR node of this node
blk - The basic block which the LIR node of this node is in
numOfParents - The number of parents of this node
メソッドの詳細

symbol

Symbol symbol()
Return the symbol of this node.

戻り値:
The symbol of this node

setSymbol

void setSymbol(Symbol s)
Set the symbol of this node.

パラメータ:
s - The symbol of this node

toString

public java.lang.String toString()
The String representation of this node.

オーバーライド:
クラス java.lang.Object 内の toString

apply

LirNode apply(BiList nodeList)
Translate this node into LIR node.

戻り値:
LIR node from this SSA graph's node

printGraph

void printGraph(java.io.OutputStreamWriter output,
                BiList list)
Print the node as graphviz format.

パラメータ:
output - The output stream
list - The list of the node of the SSA graph