coins.opt
Class ConstPropagationAndFoldingHir
java.lang.Object
coins.opt.ConstPropagationAndFolding
coins.opt.ConstPropagationAndFoldingHir
- public class ConstPropagationAndFoldingHir
- extends ConstPropagationAndFolding
This class performs constant propagation and folding operations that are specific to HIR.
| Fields inherited from class coins.opt.ConstPropagationAndFolding |
fDataFlow, fDbgLevel, flowRoot, fResults, fSubpFlow, fUDList, JAVA_BYTE_SIZE, JAVA_CHAR_SIZE, JAVA_INT_SIZE, JAVA_LONG_SIZE, JAVA_SHORT_SIZE, opt, sym, symRoot |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
hir
public final HIR hir
fSubpFlowImpl
protected SubpFlowImpl fSubpFlowImpl
ConstPropagationAndFoldingHir
public ConstPropagationAndFoldingHir(FlowResults pResults)
checkRHSAndRegister
IR checkRHSAndRegister(SetRefRepr pSetRefRepr,
java.util.Map pDefs)
constRHS
java.lang.Object constRHS(IR pDefNode)
createConstNodeFromConst
IR createConstNodeFromConst(java.lang.Object pConst)
addressUsed
boolean addressUsed(IR pIR)
foldBinary
IR foldBinary(IR pParent,
IR pChild,
IR pChild0)