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) { |