coins.opt
クラス ConstFoldingHir

java.lang.Object
  |
  +--coins.opt.ConstFolding
        |
        +--coins.opt.ConstFoldingHir

public class ConstFoldingHir
extends ConstFolding

This class performs constant folding operations that are specific to HIR.


フィールドの概要
 HIR hir
           
 Opt opt
           
 
クラス coins.opt.ConstFolding から継承したフィールド
flowRoot, fResults, fSubpFlow, JAVA_BYTE_SIZE, JAVA_CHAR_SIZE, JAVA_INT_SIZE, JAVA_LONG_SIZE, JAVA_SHORT_SIZE
 
コンストラクタの概要
ConstFoldingHir(FlowResults pResults)
          ConstFoldingHir Creates new ConstFoldingHir
 
メソッドの概要
static HIR foldBinary(HIR pParent, FlowRoot pFlowRoot)
          foldBinary
static HIR foldUnary(HIR pParent, FlowRoot pFlowRoot)
          foldUnary
(パッケージプライベート)  IR getChild1(IR pIR)
          getChild1
(パッケージプライベート)  IR getChild2(IR pIR)
          getChild2
(パッケージプライベート)  boolean isConstNode(IR pIR)
          isConstNode
 
クラス coins.opt.ConstFolding から継承したメソッド
doBBlock, doSubp
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

hir

public final HIR hir

opt

public final Opt opt
コンストラクタの詳細

ConstFoldingHir

public ConstFoldingHir(FlowResults pResults)
ConstFoldingHir Creates new ConstFoldingHir

メソッドの詳細

isConstNode

boolean isConstNode(IR pIR)
isConstNode


getChild1

IR getChild1(IR pIR)
getChild1


getChild2

IR getChild2(IR pIR)
getChild2


foldUnary

public static HIR foldUnary(HIR pParent,
                            FlowRoot pFlowRoot)
foldUnary


foldBinary

public static HIR foldBinary(HIR pParent,
                             FlowRoot pFlowRoot)
foldBinary