|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jikesrvm.compilers.opt.lir2mir.ia32.BURS_TreeNode
public class BURS_TreeNode
An BURS_TreeNode is a node in a binary tree that is fed as input to BURS. Machine-generated, do not edit.
BURS
,
BURS_STATE
Field Summary | |
---|---|
ArchitectureSpecificOpt.BURS_TreeNode |
child1
|
ArchitectureSpecificOpt.BURS_TreeNode |
child2
|
char |
cost_address
|
char |
cost_address1reg
|
char |
cost_address1scaledreg
|
char |
cost_any
|
char |
cost_bittest
|
char |
cost_boolcmp
|
char |
cost_cz
|
char |
cost_czr
|
char |
cost_double_load
|
char |
cost_float_load
|
char |
cost_load16
|
char |
cost_load16_32
|
char |
cost_load32
|
char |
cost_load64
|
char |
cost_load8
|
char |
cost_load8_16_32
|
char |
cost_r
|
char |
cost_riv
|
char |
cost_rlv
|
char |
cost_sload16
|
char |
cost_sload8
|
char |
cost_stm
remainder will be inserted by the BURS generator |
char |
cost_szp
|
char |
cost_szpr
|
char |
cost_uload16
|
char |
cost_uload8
|
DepGraphNode |
dg_node
Dependence graph node corresponding to interior node in BURS tree (set to null for leaf node or for OTHER_OPERAND node). |
private byte |
nonterminal
nonterminal > 0 ==> this tree node is the root of a "supernode"; the value of nonterminal identifies the matching non-terminal nonterminal = 0 ==> this tree node is NOT the root of a "supernode". |
private char |
opcode
Opcode of instruction |
private byte |
treeroot_registersused
trrr rrrr t = tree root r = num of registers used |
int |
word0
|
int |
word1
|
int |
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_TreeNode(char Opcode)
Constructor for leaf/auxiliary node. |
|
BURS_TreeNode(DepGraphNode n)
Constructor for interior node. |
Method Summary | |
---|---|
char |
getCost(int goalNT)
|
Instruction |
getInstruction()
|
int |
getNonTerminal()
|
char |
getOpcode()
|
void |
initCost()
|
boolean |
isREGISTERNode()
|
boolean |
isSuperNodeRoot()
|
boolean |
isTreeRoot()
|
int |
numRegisters()
|
int |
rule(int goalNT)
|
void |
setNonTerminal(int nonterminal)
|
void |
setNumRegisters(int r)
|
void |
setTreeRoot()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public ArchitectureSpecificOpt.BURS_TreeNode child1
public ArchitectureSpecificOpt.BURS_TreeNode child2
public final DepGraphNode dg_node
private final char opcode
private byte nonterminal
private byte treeroot_registersused
trrr rrrr t = tree root r = num of registers used
public char cost_stm
public char cost_r
public char cost_czr
public char cost_cz
public char cost_szpr
public char cost_szp
public char cost_riv
public char cost_rlv
public char cost_any
public char cost_sload8
public char cost_uload8
public char cost_load8
public char cost_sload16
public char cost_uload16
public char cost_load16
public char cost_load32
public char cost_load16_32
public char cost_load8_16_32
public char cost_load64
public char cost_address1scaledreg
public char cost_address1reg
public char cost_address
public char cost_boolcmp
public char cost_bittest
public char cost_float_load
public char cost_double_load
public int word0
public int word1
public int word2
Constructor Detail |
---|
public BURS_TreeNode(DepGraphNode n)
public BURS_TreeNode(char Opcode)
Method Detail |
---|
public final char getOpcode()
public final int getNonTerminal()
public final void setNonTerminal(int nonterminal)
public final boolean isTreeRoot()
public final void setTreeRoot()
public final void setNumRegisters(int r)
public final int numRegisters()
public final Instruction getInstruction()
public String toString()
toString
in class Object
public final boolean isSuperNodeRoot()
public final boolean isREGISTERNode()
public char getCost(int goalNT)
public void initCost()
public int rule(int goalNT)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |