|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--coins.ir.hir.HIR_Impl
|
+--coins.ir.hir.LabelDefImpl
Label definition
| フィールドの概要 | |
protected BBlock |
fBBlock
fBBlock Basic block containing this node. |
protected LabeledStmt |
fLabeledStmt
fLabeledStmt Labeled statement to which this node is attached. |
| クラス coins.ir.hir.HIR_Impl から継承したフィールド |
fAdditionalChild, fChildCount, fChildNode1, fChildNode2, fDbgLevel, fHirAnnex, fOperator, fParentNode, fType, hirRoot, inversionTable, machineParam, sourceLanguage |
| インタフェース coins.ir.hir.HIR から継承したフィールド |
OP_CODE_NAME, OP_CODE_NAME_DENSE |
| インタフェース coins.ir.IR から継承したフィールド |
OP_INF, OP_LIST, OP_PROG, OP_SUBP_DEF |
| コンストラクタの概要 | |
LabelDefImpl(HirRoot pHirRoot,
Label pLabelSym)
|
|
| メソッドの概要 | |
void |
accept(HirVisitor pVisitor)
accept Acceptor used in HIR visitor. |
java.lang.Object |
clone()
clone Override Object.clone in HIR. |
HIR |
copyWithOperandsChangingLabels(IrList pLabelCorrespondence)
copyWithOperandsChangingLabels Make a new subtree that is the same to this subtree. |
Label |
getLabel()
|
LabeledStmt |
getLabeledStmt()
|
void |
setBBlock(BBlock pBBlock)
|
void |
setLabel(Label pLabel)
setLabel Set pLabel as the label of this node. |
void |
setLabeledStmt(LabeledStmt pLabeledStmt)
|
java.lang.String |
toString()
toString Get text representation of this node without traversing children. |
| クラス java.lang.Object から継承したメソッド |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| インタフェース coins.ir.IR から継承したメソッド |
addInf, getChild1, getChild2, getInf, getInfList, getParent, getSym, print, print, removeInf |
| インタフェース coins.ir.IR0 から継承したメソッド |
getChild, getChildCount, getIndex, getOperator, setChild |
| インタフェース coins.ir.hir.HIR0 から継承したメソッド |
assignStmt, blockStmt, callStmt, constNode, contentsExp, convExp, copyWithOperands, decayExp, elemNode, exp, exp, expStmt, falseNode, finishHir, forStmt, functionExp, getChildNumber, getFlag, getFlagBox, getNextStmt, getStmtContainingThisNode, getType, hirClone, hirIterator, hirList, hirSeq, ifStmt, intConstNode, irList, isSameAs, jumpStmt, labelDef, labeledStmt, labelNode, pointedExp, print, program, qualifiedExp, repeatStmt, replaceThisNode, returnStmt, setFlag, setIndexNumberToAllNodes, sizeofExp, sizeofExp, subpDefinition, subpNode, subscriptedExp, switchStmt, symNode, trueNode, undecayExp, varNode, whileStmt |
| フィールドの詳細 |
protected BBlock fBBlock
protected LabeledStmt fLabeledStmt
| コンストラクタの詳細 |
public LabelDefImpl(HirRoot pHirRoot,
Label pLabelSym)
| メソッドの詳細 |
public Label getLabel()
LabelDef 内の getLabelpublic void setLabel(Label pLabel)
LabelDef の記述:
LabelDef 内の setLabelpublic void setBBlock(BBlock pBBlock)
LabelDef 内の setBBlockpublic LabeledStmt getLabeledStmt()
LabelDef 内の getLabeledStmtpublic void setLabeledStmt(LabeledStmt pLabeledStmt)
LabelDef 内の setLabeledStmtpublic java.lang.Object clone()
HIR_Impl の記述:
HIR_Impl 内の clonepublic HIR copyWithOperandsChangingLabels(IrList pLabelCorrespondence)
HIR0 の記述:
HIR0 内の copyWithOperandsChangingLabelsHIR_Impl 内の copyWithOperandsChangingLabelspLabelCorrespondence - label correspondence list;
It is usually null; If label correspondence is to be
specified, it should be of the form
(IrList (IrList of original labels) (IrList of new labels) )
"this" subtree should not contain labels listed
in (IrList of new labels) so as escape from infinite
replacement loop; This restriction is satisfied when
pLabelCorrespondence is null;
If this parameter is null, it is computed in this method
and passed to HirModify subclass after calling copyWithOperands
(without changing label).
public java.lang.String toString()
HIR の記述:
HIR 内の toStringHIR_Impl 内の toStringpublic void accept(HirVisitor pVisitor)
HIR0 の記述:
HIR0 内の acceptHIR_Impl 内の acceptpVisitor - HirVisitor
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||