|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
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 内の messagelevel - Debug level.mes - Debug message.protected Exp atAdd(Exp e)
ToHirVisit 内の atAdde - Exp
protected Exp atSub(Exp e)
ToHirVisit 内の atSube - Exp
protected Exp atMul(Exp e)
ToHirVisit 内の atMule - Exp
protected Exp atDiv(Exp e)
ToHirVisit 内の atDive - Exp
protected Exp atMod(Exp e)
ToHirVisit 内の atMode - Exp
protected Exp atAnd(Exp e)
ToHirVisit 内の atAnde - Exp
protected Exp atOr(Exp e)
ToHirVisit 内の atOre - Exp
protected Exp atXor(Exp e)
ToHirVisit 内の atXore - Exp
protected Exp atCmpEq(Exp e)
ToHirVisit 内の atCmpEqe - Exp
protected Exp atCmpNe(Exp e)
ToHirVisit 内の atCmpNee - Exp
protected Exp atCmpGt(Exp e)
ToHirVisit 内の atCmpGte - Exp
protected Exp atCmpGe(Exp e)
ToHirVisit 内の atCmpGee - Exp
protected Exp atCmpLt(Exp e)
ToHirVisit 内の atCmpLte - Exp
protected Exp atCmpLe(Exp e)
ToHirVisit 内の atCmpLee - Exp
protected Exp atLShift(Exp e)
ToHirVisit 内の atLShifte - Exp
protected Exp atARShift(Exp e)
ToHirVisit 内の atARShifte - Exp
protected Exp atRShift(Exp e)
ToHirVisit 内の atRShifte - Exp
protected Exp atOffset(Exp e)
ToHirVisit 内の atOffsete - Exp
protected Exp atLgAnd(Exp e)
ToHirVisit 内の atLgAnde - Exp
protected Exp atLgOr(Exp e)
ToHirVisit 内の atLgOre - Exp
protected Exp atSelect(Exp e)
ToHirVisit 内の atSelecte - Exp
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||