|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.opt.LoopExpansion
title: LoopExpansion class.
description: Abstract class for Loop Expansion implement class.
フィールドの概要 | |
protected int |
fDbgLevel
|
protected FlowRoot |
flowRoot
|
protected int |
fMaxAllowableNodesInLoopBody
|
protected int |
fNumberOfGeneralRegisters
|
protected java.util.Map |
fOptionMap
|
protected CoinsOptions |
fOptions
|
protected HirRoot |
hirRoot
|
protected IoRoot |
ioRoot
|
protected SymRoot |
symRoot
|
コンストラクタの概要 | |
protected |
LoopExpansion(HirRoot phirRoot)
Construct this object |
メソッドの概要 | |
protected int |
calcStatementCount(Stmt pStmt)
Calculate Stmt count in pStmt. |
abstract boolean |
doSubprogram(SubpDefinition pSubpDef)
Do Optimize in subprogram. |
protected Var |
getArrayVar(SubscriptedExp Subs)
Get array Var SubscriptedExp has. |
protected Debug |
getDebug()
Get Debug this object refer. |
int |
getMaxAllowableStmtsInLoopBody()
Get max statement count in loopbody of which allow expand. |
protected Exp |
getSimpleExp(Exp pExp)
Get simple Exp for Conv'ed, or Undecay'ed Exp. |
protected java.util.Set |
getSubscriptVar(SubscriptedExp Subs)
Get subscript Vars SubscriptedExp has. |
protected boolean |
hasBadElement(Stmt pStmt)
Check whether Stmt contains bad element. |
protected boolean |
isBadElement(HIR hirElement)
Check whether hir element is bad for loop optimizations, is follows at least. |
void |
setMaxAllowableStmtsInLoopBody(int pMaxAllowableStmtCount)
Set max statement count in loopbody of which allow expand. |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected HirRoot hirRoot
protected FlowRoot flowRoot
protected SymRoot symRoot
protected IoRoot ioRoot
protected java.util.Map fOptionMap
protected CoinsOptions fOptions
protected int fNumberOfGeneralRegisters
protected int fMaxAllowableNodesInLoopBody
protected int fDbgLevel
コンストラクタの詳細 |
protected LoopExpansion(HirRoot phirRoot)
phirRoot
- HIR root object.メソッドの詳細 |
public int getMaxAllowableStmtsInLoopBody()
public void setMaxAllowableStmtsInLoopBody(int pMaxAllowableStmtCount)
pMaxAllowableStmtCount
- max statement count in loopbody of which allow expand.public abstract boolean doSubprogram(SubpDefinition pSubpDef)
pSubpDef
- SubpDefinition to do optimization.
protected Debug getDebug()
protected Exp getSimpleExp(Exp pExp)
pExp
- Exp object.
protected boolean isBadElement(HIR hirElement)
protected boolean hasBadElement(Stmt pStmt)
pStmt
- Stmt object.
protected int calcStatementCount(Stmt pStmt)
pStmt
- Stmt object.
protected Var getArrayVar(SubscriptedExp Subs)
Subs
- SubscriptedExp object
protected java.util.Set getSubscriptVar(SubscriptedExp Subs)
Subs
- SubscriptedExp object
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |