|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.opt.Inline
Inline class does inline expansion of small subprograms.
フィールドの概要 | |
protected int |
fDbgLevel
|
protected FlowImpl |
fFlowImpl
|
protected int |
fLimitOfExpansionDepth
|
protected java.util.Map |
fOptionMap
|
protected CoinsOptions |
fOptions
|
protected java.util.List |
fPragmaInlineList
|
protected int |
fUpperLimitOfNodeCount
|
protected boolean |
fWithHirOpt
|
protected HirRoot |
hirRoot
|
protected IoRoot |
io
|
protected java.util.Vector |
SubpBlackList
|
protected SymRoot |
symRoot
|
protected int |
VALUESUM
|
コンストラクタの概要 | |
Inline(HirRoot pHirRoot,
SymRoot pSymRoot,
IoRoot pIoRoot,
java.lang.String pOptionValue,
java.util.List pPragmaInlineList,
boolean pWithHirOpt,
java.lang.String pInlineDepth)
|
メソッドの概要 | |
boolean |
changeSubp(SubpDefinition pSubpDef)
|
protected boolean |
checkCallerSubp_B(SubpDefinition lSubpDef,
HirRoot hirRoot,
SymRoot symRoot,
IoRoot io)
|
(パッケージプライベート) Var |
getTempForStaticVar(Var pStaticVar,
Subp pSubp)
getTempForStaticVar get the temporal variable corresponding to the static variable lStaticVar. |
protected boolean |
inlineCond(HIR pxNode)
inlineCond decides whether the subprogram called at pxNode should be expanded or not. |
protected void |
inlineExpansion(HIR pCallNode)
Expand subprogram called at pCallNode |
protected boolean |
isLastStmtOfSubp(Stmt pStmt)
|
protected void |
replaceLocalStaticVariables(SubpDefinition pSubpDef)
replaceLocalStaticVariables replaces static variables declared locally in pSubpDef by temporal variable so that local static variables are trreated properly in both cases where the subprogram is expanded and not expanded. |
protected void |
replaceLocalStaticVariablesInSubtree(HIR pHir,
Subp pSubp)
|
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected final HirRoot hirRoot
protected final SymRoot symRoot
protected final IoRoot io
protected final int fDbgLevel
protected int fLimitOfExpansionDepth
protected int fUpperLimitOfNodeCount
protected int VALUESUM
protected final FlowImpl fFlowImpl
protected java.util.Map fOptionMap
protected CoinsOptions fOptions
protected java.util.Vector SubpBlackList
protected java.util.List fPragmaInlineList
protected boolean fWithHirOpt
コンストラクタの詳細 |
public Inline(HirRoot pHirRoot, SymRoot pSymRoot, IoRoot pIoRoot, java.lang.String pOptionValue, java.util.List pPragmaInlineList, boolean pWithHirOpt, java.lang.String pInlineDepth)
メソッドの詳細 |
public boolean changeSubp(SubpDefinition pSubpDef)
protected boolean checkCallerSubp_B(SubpDefinition lSubpDef, HirRoot hirRoot, SymRoot symRoot, IoRoot io)
protected boolean inlineCond(HIR pxNode)
pxNode
- node calling a subprogram.
protected void inlineExpansion(HIR pCallNode)
pCallNode
- call nodeVar getTempForStaticVar(Var pStaticVar, Subp pSubp)
pSubp
- subprogram to be expanded inline.
protected void replaceLocalStaticVariables(SubpDefinition pSubpDef)
pSubpDef
- definition of subprogram to be inline expanded.protected void replaceLocalStaticVariablesInSubtree(HIR pHir, Subp pSubp)
protected boolean isLastStmtOfSubp(Stmt pStmt)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |