Lines Matching defs:rule

1379     tty->print("No matching rule for:");
1573 // Con nodes reduced using the same rule can share their MachNode
1577 MachNode* Matcher::find_shared_node(Node* leaf, uint rule) {
1580 // See if this Con has already been reduced using this rule.
1583 if (last != NULL && rule == last->rule()) {
1629 MachNode *Matcher::ReduceInst( State *s, int rule, Node *&mem ) {
1630 assert( rule >= NUM_OPERANDS, "called with operand rule" );
1632 MachNode* shared_node = find_shared_node(s->_leaf, rule);
1638 MachNode *mach = s->MachNodeGenerator( rule, C );
1639 mach->_opnds[0] = s->MachOperGenerator( _reduceOp[rule], C );
1642 // Check for instruction or instruction chain rule
1643 if( rule >= _END_INST_CHAIN_RULE || rule < _BEGIN_INST_CHAIN_RULE ) {
1649 ReduceInst_Interior( s, rule, mem, mach, 1 );
1653 ReduceInst_Chain_Rule( s, rule, mem, mach );
1733 void Matcher::ReduceInst_Chain_Rule( State *s, int rule, Node *&mem, MachNode *mach ) {
1735 int op = _leftOp[rule];
1742 // New rule for child. Chase operand classes to get the actual rule.
1748 "Bad AD file: Instruction chain rule must chain from operand");
1766 uint Matcher::ReduceInst_Interior( State *s, int rule, Node *&mem, MachNode *mach, uint num_opnds ) {
1785 op = _leftOp[rule];
1787 op = _rightOp[rule];
1795 // New rule for child. Chase operand classes to get the actual rule.
1833 void Matcher::ReduceOper( State *s, int rule, Node *&mem, MachNode *mach ) {
1834 assert( rule < _LAST_MACH_OPER, "called with operand rule" );
1839 if( kid == NULL && !_swallowed[rule] ) {
1860 newrule = kid->_rule[_leftOp[rule]];
1862 newrule = kid->_rule[_rightOp[rule]];
2083 // Allow Matcher to match the rule which bypass
2414 assert(_rule[i] < _last_Mach_Node, "rule[i] must be valid rule");