coins.backend.lir
クラス LirNaryOp

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

public class LirNaryOp
extends LirNode

Represents N-ary operators


入れ子クラスの概要
 
クラス coins.backend.lir.LirNode から継承した入れ子クラス
LirNode.Scanner
 
フィールドの概要
(パッケージプライベート)  LirNode[] kid
           
 
クラス coins.backend.lir.LirNode から継承したフィールド
id, opCode, opt, type
 
コンストラクタの概要
LirNaryOp(int id, int op, int t, LirNode[] operands, ImList opt)
           
 
メソッドの概要
 void accept(LirVisitor v)
          Accept visitor v
 boolean equals(java.lang.Object x)
          Return true if this object equals to x
 LirNode kid(int n)
          Return nth operand; Subclass responsibility
 LirNode makeCopy(LirFactory fac)
          Return a deep copy of this node
 LirNode makeShallowCopy(LirFactory fac)
          Return a shallow copy of this node.
 int nKids()
          Return number of operands
 LirNode replaceOptions(LirFactory fac, ImList newOpt)
          Return a copy of this node without options.
 void setKid(int n, LirNode x)
          Set nth operand; Subclass responsibility
 
クラス coins.backend.lir.LirNode から継承したメソッド
getTargets, hashCode, isBranch, isPhysicalRegister, isRegisterOperand, nSrcs, pickUpDefs, pickUpUses, replaceLabel, setSrc, src, toSexp, toString, toStringExp
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

フィールドの詳細

kid

LirNode[] kid
コンストラクタの詳細

LirNaryOp

public LirNaryOp(int id,
                 int op,
                 int t,
                 LirNode[] operands,
                 ImList opt)
メソッドの詳細

makeCopy

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

定義:
クラス LirNode 内の makeCopy

makeShallowCopy

public LirNode makeShallowCopy(LirFactory fac)
クラス LirNode の記述:
Return a shallow copy of this node. Default action is same as makeCopy.

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

replaceOptions

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

定義:
クラス LirNode 内の replaceOptions

nKids

public int nKids()
クラス LirNode の記述:
Return number of operands

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

kid

public LirNode kid(int n)
クラス LirNode の記述:
Return nth operand; Subclass responsibility

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

setKid

public void setKid(int n,
                   LirNode x)
クラス LirNode の記述:
Set nth operand; Subclass responsibility

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

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