comparison src/share/vm/opto/matcher.hpp @ 168:7793bd37a336

6705887: Compressed Oops: generate x64 addressing and implicit null checks with narrow oops Summary: Generate addresses and implicit null checks with narrow oops to avoid decoding. Reviewed-by: jrose, never
author kvn
date Thu, 29 May 2008 12:04:14 -0700
parents a61af66fc99e
children d1605aabd0a1 8d191a7697e2
comparison
equal deleted inserted replaced
167:feeb96a45707 168:7793bd37a336
46 void ReduceInst_Chain_Rule( State *s, int rule, Node *&mem, MachNode *mach); 46 void ReduceInst_Chain_Rule( State *s, int rule, Node *&mem, MachNode *mach);
47 uint ReduceInst_Interior(State *s, int rule, Node *&mem, MachNode *mach, uint num_opnds); 47 uint ReduceInst_Interior(State *s, int rule, Node *&mem, MachNode *mach, uint num_opnds);
48 void ReduceOper( State *s, int newrule, Node *&mem, MachNode *mach ); 48 void ReduceOper( State *s, int newrule, Node *&mem, MachNode *mach );
49 49
50 // If this node already matched using "rule", return the MachNode for it. 50 // If this node already matched using "rule", return the MachNode for it.
51 MachNode* find_shared_constant(Node* con, uint rule); 51 MachNode* find_shared_node(Node* n, uint rule);
52 52
53 // Convert a dense opcode number to an expanded rule number 53 // Convert a dense opcode number to an expanded rule number
54 const int *_reduceOp; 54 const int *_reduceOp;
55 const int *_leftOp; 55 const int *_leftOp;
56 const int *_rightOp; 56 const int *_rightOp;
79 79
80 Node *transform( Node *dummy ); 80 Node *transform( Node *dummy );
81 81
82 Node_List &_proj_list; // For Machine nodes killing many values 82 Node_List &_proj_list; // For Machine nodes killing many values
83 83
84 Node_Array _shared_constants; 84 Node_Array _shared_nodes;
85 85
86 debug_only(Node_Array _old2new_map;) // Map roots of ideal-trees to machine-roots 86 debug_only(Node_Array _old2new_map;) // Map roots of ideal-trees to machine-roots
87 87
88 // Accessors for the inherited field PhaseTransform::_nodes: 88 // Accessors for the inherited field PhaseTransform::_nodes:
89 void grow_new_node_array(uint idx_limit) { 89 void grow_new_node_array(uint idx_limit) {