|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Object | +--coins.ir.hir.SubsPtrTransformation
SubsPtrTransformation Array subscript (Subs) expression to pointer expression transformation and vice versa.
| フィールドの概要 | |
protected int |
fDbgLevel
|
(パッケージプライベート) HirRoot |
hirRoot
|
(パッケージプライベート) IoRoot |
ioRoot
|
(パッケージプライベート) SymRoot |
symRoot
|
| コンストラクタの概要 | |
SubsPtrTransformation(HirRoot pHirRoot)
Constructor to prepare for transformation |
|
| メソッドの概要 | |
java.util.ArrayList |
listUpPtrNodes(HIR pHir)
listUpPtrNodes Make an array-list of pointer expressions taking the form (contents (add (decay ) (exp ) ) ) in pHir in the order of pre-visiting depth-first order. |
java.util.ArrayList |
listUpSubsNodes(HIR pHir)
listUpSubsNodes Make an array-list of Subs nodes in pHir in the order of pre-visiting depth-first order. |
boolean |
ptrToSubsTransformation(HIR pHir,
java.util.Map pPtrSubsCorrespondence)
ptrToSubsTrasnsformation Transform pointer expression in pHir to subscript expression if the pointer expression is recorded in pPtrSubsCorrespondence or it is an expression representing simple subscripted expression. |
boolean |
subsToPtrTrasnsformation(HIR pHir,
java.util.Map pPtrSubsCorrespondence)
subsToPtrTrasnsformation Transform subscripted expression in pHir to pointer expression and record its correspondence to pPtrSubsCorrespondence. |
| クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
IoRoot ioRoot
HirRoot hirRoot
SymRoot symRoot
protected final int fDbgLevel
| コンストラクタの詳細 |
public SubsPtrTransformation(HirRoot pHirRoot)
pHirRoot - HirRoot instance to be recorded.| メソッドの詳細 |
public java.util.ArrayList listUpSubsNodes(HIR pHir)
pHir - the subtree to be searched (usually HIR-body
of subprogram).
public boolean subsToPtrTrasnsformation(HIR pHir,
java.util.Map pPtrSubsCorrespondence)
pHir - HIR subtree to be transformed.pPtrSubsCorrespondence - record the Subs-Ptr correspondence.
public boolean ptrToSubsTransformation(HIR pHir,
java.util.Map pPtrSubsCorrespondence)
pHir - HIR subtree to be transformed.pPtrSubsCorrespondence - show the Subs-Ptr correspondence.
public java.util.ArrayList listUpPtrNodes(HIR pHir)
Make an array-list of pointer expressions taking the form
(contents
(add
(decay
)
(exp ) ) )
in pHir in the order of
pre-visiting depth-first order.
pHir - the subtree to be searched (usually HIR-body
of subprogram).
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||