coins.ir.hir
クラス TestHir
java.lang.Object
|
+--coins.ir.hir.TestHir
- public class TestHir
- extends java.lang.Object
TestHir class
Test HIR
User may tentatively add a method call in order to test some HIR
expression or nullify (by changing to comment) some method calls in
the TestHir constructor.
addStatements: add some statements to the tail of main().
testAdjustableDim: test adjustable dimension.
testBlockStmt: test getBlockStmt().
testVisitor: test HirVisitorModel1 and HirVisitorModel2.
testSymTable: test symbol table.
You may tentatively add some other statements.
testBBlockIterator: testBBlockSubtreeIterator and test BBlockNodeIterator.
testClone: test copyWithOperands.
testHirComponents: get some information for each kind of HIR expressions
by using HirIterator. You may tentatively add other statements.
testHirModify: make a copy of block and add it at the tail of subprogram.
testInf: test to add information to InfStmt.
testNodeIterator: test HIR iterator by using next(), getNextStmt(),
getNexeExecutableNode().
testReplace: test to replace assignment statement to generated
assignment statement.
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ioRoot
public final IoRoot ioRoot
symRoot
public final SymRoot symRoot
hirRoot
public final HirRoot hirRoot
flowRoot
public final FlowRoot flowRoot
hir
protected HIR hir
sym
protected Sym sym
TestHir
public TestHir(HirRoot pHirRoot,
FlowRoot pFlowRoot)
- TestHir
Test HIR and HIR related methods.
Invoked when testHir option is given.
testSymTable
void testSymTable()
testAdjustableDim
void testAdjustableDim()
testgetBlockStmt
void testgetBlockStmt(SubpDefinition pSubpDef)
testVisitor
void testVisitor(SubpDefinition pSubpDef)
addStatements
void addStatements(SubpDefinition pSubpDef)
reorderOperands
Exp reorderOperands(Exp pExp)
isCommutative
boolean isCommutative(Exp pExp)