|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object
|
+--coins.ir.hir.HirVisitorModel2
|
+--coins.alias.MyExpIdAssigner
Assigns MyExpIds to relevant nodes in a subprogram.
Nodes MyExpIds are assigned to are
VarNodesSubscriptedExp nodesQualifiedExp (both structure and
union member qualifications) nodesPointedExp nodesFunctionExpnodesPhiExp (not implemented, as far as I know)
nodesExp nodes
(including conversion)ADDRESS nodes (HIR nodes whose operator code
(specified by HIR.getOperator()) is
HIR.OP_ADDRESS)CONTENTS nodes
DECAY nodes
UNDECAY nodes
AssignStmt nodes
AssignStmt nodes) are
the nodes that can be considered to have values.
(Nodes with aggregate type are considered to have
arrays of values.) Operands of the ADDRESS
nodes are also included, although their values are irrelevant.
| フィールドの概要 | |
(パッケージプライベート) AliasFactory |
fFactory
Factory object used to create objects. |
(パッケージプライベート) MyExpId[] |
fMyExpIdTable
Table of MyExpId objects whose index is
the HIR node index. |
(パッケージプライベート) SubpDefinition |
fSubpDef
SubpDefinition instance nodes contained
in which to assign MyExpIds. |
| クラス coins.ir.hir.HirVisitorModel2 から継承したフィールド |
fDbgLevel, hirRoot, ioRoot, symRoot |
| コンストラクタの概要 | |
(パッケージプライベート) |
MyExpIdAssigner(SubpDefinition pSubpDef,
HirRoot pHirRoot)
Creates a new instance of MyExpIdAssigner |
| メソッドの概要 | |
(パッケージプライベート) MyExpId[] |
assign()
Performs the assignment for all the nodes contained in fSubpDef. |
void |
atAssignStmt(AssignStmt pStmt)
Assigns MyExpId to the specified
AssignStmt. |
void |
atExp(Exp pExp)
Assigns MyExpId to the specified Exp. |
void |
atFunctionExp(FunctionExp pExp)
Assigns MyExpId to the specified
FunctionExp. |
void |
atPhiExp(PhiExp pExp)
Assigns MyExpId to the specified
PhiExp. |
void |
atPointedExp(PointedExp pExp)
Assigns MyExpId to the specified
PointedExp. |
void |
atQualifiedExp(QualifiedExp pExp)
Assigns MyExpId to the specified
QualifiedExp. |
void |
atSubscriptedExp(SubscriptedExp pExp)
Assigns MyExpId to the specified
SubscriptedExp. |
void |
atVarNode(VarNode pVarNode)
Assigns MyExpId to the specified VarNode. |
| クラス coins.ir.hir.HirVisitorModel2 から継承したメソッド |
atAsmStmt, atBlockStmt, atConstNode, atElemNode, atExpStmt, atForStmt, atHirList, atHirSeq, atIfStmt, atIndexedLoopStmt, atInfNode, atInfStmt, atIrList, atJumpStmt, atLabelDef, atLabeledStmt, atLabelNode, atLoopStmt, atNullNode, atProgram, atRepeatStmt, atReturnStmt, atSubpDefinition, atSubpNode, atSwitchStmt, atSymNode, atTypeNode, atUntilStmt, atWhileStmt, visit, visitChildren |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
MyExpId[] fMyExpIdTable
MyExpId objects whose index is
the HIR node index.
final AliasFactory fFactory
SubpDefinition fSubpDef
SubpDefinition instance nodes contained
in which to assign MyExpIds.
| コンストラクタの詳細 |
MyExpIdAssigner(SubpDefinition pSubpDef,
HirRoot pHirRoot)
pSubpDef - SubpDefinition instance
nodes contained in which to assign MyExpIds.pHirRoot - HirRoot object shared by every
module in the program.| メソッドの詳細 |
MyExpId[] assign()
fSubpDef.
fMyExpIdTable, the table of assigned
MyExpIds where indexes are HIR node indexes.public void atVarNode(VarNode pVarNode)
MyExpId to the specified VarNode.
HirVisitor 内の atVarNodeHirVisitorModel2 内の atVarNodepVarNode - VarNode to assign
MyExpId to.public void atExp(Exp pExp)
MyExpId to the specified Exp.
HirVisitor 内の atExpHirVisitorModel2 内の atExppExp - Exp to assign MyExpId to.public void atSubscriptedExp(SubscriptedExp pExp)
MyExpId to the specified
SubscriptedExp.
HirVisitor 内の atSubscriptedExpHirVisitorModel2 内の atSubscriptedExppExp - SubscriptedExp to assign
MyExpId to.public void atQualifiedExp(QualifiedExp pExp)
MyExpId to the specified
QualifiedExp.
HirVisitor 内の atQualifiedExpHirVisitorModel2 内の atQualifiedExppExp - QualifiedExp to assign
MyExpId to.public void atPointedExp(PointedExp pExp)
MyExpId to the specified
PointedExp.
HirVisitor 内の atPointedExpHirVisitorModel2 内の atPointedExppExp - PointedExp to assign
MyExpId to.public void atFunctionExp(FunctionExp pExp)
MyExpId to the specified
FunctionExp.
HirVisitor 内の atFunctionExpHirVisitorModel2 内の atFunctionExppExp - FunctionExp to assign
MyExpId to.public void atAssignStmt(AssignStmt pStmt)
MyExpId to the specified
AssignStmt.
HirVisitor 内の atAssignStmtHirVisitorModel2 内の atAssignStmtpStmt - AssignStmt to assign
MyExpId to.public void atPhiExp(PhiExp pExp)
MyExpId to the specified
PhiExp.
HirVisitor 内の atPhiExpHirVisitorModel2 内の atPhiExppExp - PhiExp to assign
MyExpId to.
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||