coins.backend.lir
クラス LirIconst

java.lang.Object
  |
  +--coins.backend.lir.LirNode
        |
        +--coins.backend.lir.LirIconst

public class LirIconst
extends LirNode

Represent integer constant


入れ子クラスの概要
 
クラス coins.backend.lir.LirNode から継承した入れ子クラス
LirNode.Scanner
 
フィールドの概要
 long value
          Value of this node
 
クラス coins.backend.lir.LirNode から継承したフィールド
id, opCode, opt, type
 
コンストラクタの概要
LirIconst(int id, int t, long v, ImList opt)
           
 
メソッドの概要
 void accept(LirVisitor v)
          Accept visitor v
 boolean equals(java.lang.Object x)
          Return true if this object equals to x
 int hashCode()
          Return hash value of LirNode.
 LirNode makeCopy(LirFactory fac)
          Return a deep copy of this node
 LirNode replaceOptions(LirFactory fac, ImList newOpt)
          Return a copy of this node without options.
 long signedValue()
          Return signed value of this node.
 java.lang.Object toSexp()
          Convert to external LIR format.
 java.lang.String toString()
          Visualize
 java.lang.String toStringExp()
          Convert integer or address constant to string.
 long unsignedValue()
          Return unsigned value of this node.
 
クラス coins.backend.lir.LirNode から継承したメソッド
getTargets, isBranch, isPhysicalRegister, isRegisterOperand, kid, makeShallowCopy, nKids, nSrcs, pickUpDefs, pickUpUses, replaceLabel, setKid, setSrc, src
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

value

public final long value
Value of this node

コンストラクタの詳細

LirIconst

public LirIconst(int id,
                 int t,
                 long v,
                 ImList opt)
メソッドの詳細

makeCopy

public LirNode makeCopy(LirFactory fac)
クラス LirNode の記述:
Return a deep copy of this node

定義:
クラス LirNode 内の makeCopy

replaceOptions

public LirNode replaceOptions(LirFactory fac,
                              ImList newOpt)
クラス LirNode の記述:
Return a copy of this node without options.

定義:
クラス LirNode 内の replaceOptions

signedValue

public long signedValue()
Return signed value of this node.


unsignedValue

public long unsignedValue()
Return unsigned value of this node.


hashCode

public int hashCode()
クラス LirNode の記述:
Return hash value of LirNode.

オーバーライド:
クラス LirNode 内の hashCode

toSexp

public java.lang.Object toSexp()
Convert to external LIR format.

オーバーライド:
クラス LirNode 内の toSexp

toString

public java.lang.String toString()
クラス LirNode の記述:
Visualize

オーバーライド:
クラス LirNode 内の toString

equals

public boolean equals(java.lang.Object x)
クラス LirNode の記述:
Return true if this object equals to x

オーバーライド:
クラス LirNode 内の equals

accept

public void accept(LirVisitor v)
クラス LirNode の記述:
Accept visitor v

定義:
クラス LirNode 内の accept

toStringExp

public java.lang.String toStringExp()
推奨されていません。  

クラス LirNode の記述:
Convert integer or address constant to string.

オーバーライド:
クラス LirNode 内の toStringExp