org.jikesrvm.compilers.opt.lir2mir
Class BURS_IntConstantTreeNode

java.lang.Object
  extended by org.jikesrvm.compilers.opt.lir2mir.ia32.BURS_TreeNode
      extended by org.jikesrvm.ArchitectureSpecificOpt.BURS_TreeNode
          extended by org.jikesrvm.compilers.opt.lir2mir.BURS_IntConstantTreeNode
All Implemented Interfaces:
BURS_Definitions

final class BURS_IntConstantTreeNode
extends ArchitectureSpecificOpt.BURS_TreeNode

A subclass of BURS_TreeNode for an IntConstantOperand.

It is very common for us to want to access the value of an int constant during BURS, so we make it easy to do so by creating a special kind of node.


Field Summary
(package private)  int value
           
 
Fields inherited from class org.jikesrvm.compilers.opt.lir2mir.ia32.BURS_TreeNode
child1, child2, cost_address, cost_address1reg, cost_address1scaledreg, cost_any, cost_bittest, cost_boolcmp, cost_cz, cost_czr, cost_double_load, cost_float_load, cost_load16, cost_load16_32, cost_load32, cost_load64, cost_load8, cost_load8_16_32, cost_r, cost_riv, cost_rlv, cost_sload16, cost_sload8, cost_stm, cost_szp, cost_szpr, cost_uload16, cost_uload8, dg_node, word0, word1, word2
 
Fields inherited from interface org.jikesrvm.compilers.opt.lir2mir.ia32.BURS_Definitions
address_NT, address1reg_NT, address1scaledreg_NT, any_NT, bittest_NT, boolcmp_NT, cz_NT, czr_NT, double_load_NT, float_load_NT, load16_32_NT, load16_NT, load32_NT, load64_NT, load8_16_32_NT, load8_NT, r_NT, riv_NT, rlv_NT, sload16_NT, sload8_NT, stm_NT, szp_NT, szpr_NT, uload16_NT, uload8_NT
 
Constructor Summary
BURS_IntConstantTreeNode(int val)
          Constructor for interior node.
 
Method Summary
 String toString()
           
 
Methods inherited from class org.jikesrvm.compilers.opt.lir2mir.ia32.BURS_TreeNode
getCost, getInstruction, getNonTerminal, getOpcode, initCost, isREGISTERNode, isSuperNodeRoot, isTreeRoot, numRegisters, rule, setNonTerminal, setNumRegisters, setTreeRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

value

final int value
Constructor Detail

BURS_IntConstantTreeNode

BURS_IntConstantTreeNode(int val)
Constructor for interior node.

Method Detail

toString

public String toString()
Overrides:
toString in class BURS_TreeNode