|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.ir.hir.HirVisitorModel2 | +--coins.alias.MyExpIdAssigner
Assigns MyExpIds to relevant nodes in a subprogram.
Nodes MyExpId
s are assigned to are
VarNode
sSubscriptedExp
nodesQualifiedExp
(both structure and
union member qualifications) nodesPointedExp
nodesFunctionExp
nodesPhiExp
(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 MyExpId s. |
クラス 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 MyExpId
s.
コンストラクタの詳細 |
MyExpIdAssigner(SubpDefinition pSubpDef, HirRoot pHirRoot)
pSubpDef
- SubpDefinition
instance
nodes contained in which to assign MyExpId
s.pHirRoot
- HirRoot
object shared by every
module in the program.メソッドの詳細 |
MyExpId[] assign()
fSubpDef
.
fMyExpIdTable
, the table of assigned
MyExpId
s where indexes are HIR node indexes.public void atVarNode(VarNode pVarNode)
MyExpId
to the specified VarNode
.
HirVisitor
内の atVarNode
HirVisitorModel2
内の atVarNode
pVarNode
- VarNode
to assign
MyExpId
to.public void atExp(Exp pExp)
MyExpId
to the specified Exp
.
HirVisitor
内の atExp
HirVisitorModel2
内の atExp
pExp
- Exp
to assign MyExpId
to.public void atSubscriptedExp(SubscriptedExp pExp)
MyExpId
to the specified
SubscriptedExp
.
HirVisitor
内の atSubscriptedExp
HirVisitorModel2
内の atSubscriptedExp
pExp
- SubscriptedExp
to assign
MyExpId
to.public void atQualifiedExp(QualifiedExp pExp)
MyExpId
to the specified
QualifiedExp
.
HirVisitor
内の atQualifiedExp
HirVisitorModel2
内の atQualifiedExp
pExp
- QualifiedExp
to assign
MyExpId
to.public void atPointedExp(PointedExp pExp)
MyExpId
to the specified
PointedExp
.
HirVisitor
内の atPointedExp
HirVisitorModel2
内の atPointedExp
pExp
- PointedExp
to assign
MyExpId
to.public void atFunctionExp(FunctionExp pExp)
MyExpId
to the specified
FunctionExp
.
HirVisitor
内の atFunctionExp
HirVisitorModel2
内の atFunctionExp
pExp
- FunctionExp
to assign
MyExpId
to.public void atAssignStmt(AssignStmt pStmt)
MyExpId
to the specified
AssignStmt
.
HirVisitor
内の atAssignStmt
HirVisitorModel2
内の atAssignStmt
pStmt
- AssignStmt
to assign
MyExpId
to.public void atPhiExp(PhiExp pExp)
MyExpId
to the specified
PhiExp
.
HirVisitor
内の atPhiExp
HirVisitorModel2
内の atPhiExp
pExp
- PhiExp
to assign
MyExpId
to.
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |