|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Object | +--coins.casttohir.ToHirVisit | +--coins.casttohir.ToHirCOpt | +--coins.casttohir.ToHirCOpt2
Do HIR-C optimization for arithmetic expression and conditional expression. Optimization level is controlled by compile option. ToHirCOpt2 does kind 4 through kind 8 optimizations described in ToHirCOpt.
フィールドの概要 | |
protected SideEffectCutter |
cutter
|
protected ToHirCOpt2 |
toOpt
|
クラス coins.casttohir.ToHirCOpt から継承したフィールド |
buffer, fDbgLevel, hir, inverter, nowBlock, sym, toCast, toHir |
コンストラクタの概要 | |
ToHirCOpt2(ToHir tohir)
Constructor. |
メソッドの概要 | |
protected Exp |
atAdd(Exp e)
At add expression node. |
protected Exp |
atAnd(Exp e)
At and expression node. |
protected Exp |
atARShift(Exp e)
At arithmetic R-shift expression node. |
protected Exp |
atCmpEq(Exp e)
At EQ expression node. |
protected Exp |
atCmpGe(Exp e)
At GE expression node. |
protected Exp |
atCmpGt(Exp e)
At GT expression node. |
protected Exp |
atCmpLe(Exp e)
At LE expression node. |
protected Exp |
atCmpLt(Exp e)
At LT expression node. |
protected Exp |
atCmpNe(Exp e)
At NE expression node. |
protected Exp |
atDiv(Exp e)
At mul expression node. |
protected Exp |
atLgAnd(Exp e)
At logical-and expression node. |
protected Exp |
atLgOr(Exp e)
At logical-or expression node. |
protected Exp |
atLShift(Exp e)
At L-shift expression node. |
protected Exp |
atMod(Exp e)
At mod expression node. |
protected Exp |
atMul(Exp e)
At mul expression node. |
protected Exp |
atOffset(Exp e)
At offset(difference of address) expression node. |
protected Exp |
atOr(Exp e)
At and expression node. |
protected Exp |
atRShift(Exp e)
At logical R-shift expression node. |
protected Exp |
atSelect(Exp e)
At selection expression node. |
protected Exp |
atSub(Exp e)
At sub expression node. |
protected Exp |
atXor(Exp e)
At xor expression node. |
protected void |
message(int level,
java.lang.String mes)
Output debug message. |
protected ToHirCOpt2 |
sureChild()
Make sure child of this object. |
クラス coins.casttohir.ToHirCOpt から継承したメソッド |
atAddAssign, atAddr, atAndAssign, atArrow, atAssign, atAssignStmt, atBlock, atCall, atComma, atConst, atContents, atConv, atDecay, atDivAssign, atElem, atEqZero, atExpList, atExpRepeat, atExpStmt, atFor, atIf, atIndex, atInfStmt, atJump, atLabeledStmt, atLShiftAssign, atModAssign, atMulAssign, atNeg, atNot, atOrAssign, atPost, atPre, atQual, atReturn, atRShiftAssign, atSetDataStmt, atSubAssign, atSubp, atSubpDefinition, atSubs, atSwitch, atUndecay, atUntil, atVar, atWhile, atXorAssign, inInitBlock, processPragmaItem, visitExp, visitProgram, visitProgram, visitStmt |
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
フィールドの詳細 |
protected ToHirCOpt2 toOpt
protected final SideEffectCutter cutter
コンストラクタの詳細 |
public ToHirCOpt2(ToHir tohir)
tohir
- Offers cooperation with the object of other packages.メソッドの詳細 |
protected ToHirCOpt2 sureChild()
protected void message(int level, java.lang.String mes)
ToHirCOpt
内の message
level
- Debug level.mes
- Debug message.protected Exp atAdd(Exp e)
ToHirVisit
内の atAdd
e
- Exp
protected Exp atSub(Exp e)
ToHirVisit
内の atSub
e
- Exp
protected Exp atMul(Exp e)
ToHirVisit
内の atMul
e
- Exp
protected Exp atDiv(Exp e)
ToHirVisit
内の atDiv
e
- Exp
protected Exp atMod(Exp e)
ToHirVisit
内の atMod
e
- Exp
protected Exp atAnd(Exp e)
ToHirVisit
内の atAnd
e
- Exp
protected Exp atOr(Exp e)
ToHirVisit
内の atOr
e
- Exp
protected Exp atXor(Exp e)
ToHirVisit
内の atXor
e
- Exp
protected Exp atCmpEq(Exp e)
ToHirVisit
内の atCmpEq
e
- Exp
protected Exp atCmpNe(Exp e)
ToHirVisit
内の atCmpNe
e
- Exp
protected Exp atCmpGt(Exp e)
ToHirVisit
内の atCmpGt
e
- Exp
protected Exp atCmpGe(Exp e)
ToHirVisit
内の atCmpGe
e
- Exp
protected Exp atCmpLt(Exp e)
ToHirVisit
内の atCmpLt
e
- Exp
protected Exp atCmpLe(Exp e)
ToHirVisit
内の atCmpLe
e
- Exp
protected Exp atLShift(Exp e)
ToHirVisit
内の atLShift
e
- Exp
protected Exp atARShift(Exp e)
ToHirVisit
内の atARShift
e
- Exp
protected Exp atRShift(Exp e)
ToHirVisit
内の atRShift
e
- Exp
protected Exp atOffset(Exp e)
ToHirVisit
内の atOffset
e
- Exp
protected Exp atLgAnd(Exp e)
ToHirVisit
内の atLgAnd
e
- Exp
protected Exp atLgOr(Exp e)
ToHirVisit
内の atLgOr
e
- Exp
protected Exp atSelect(Exp e)
ToHirVisit
内の atSelect
e
- Exp
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |