Lines Matching refs:exp_pos
1495 int new_pos, exp_pos;
1627 if ((exp_pos = node->_exprule->_newopers.index(opid)) != -1) {
1629 exp_pos += node->num_opnds();
1634 cnt, new_pos, exp_pos-node->num_opnds(), opid);
1636 fprintf(fp," if(tmp%d != NULL)\n", exp_pos);
1637 fprintf(fp," n%d->add_req(tmp%d);\n", cnt, exp_pos);
1643 exp_pos = node->operand_position_format(opid);
1644 assert(exp_pos != -1, "Bad expand rule");
1645 if (prev_pos > exp_pos && expand_instruction->_matrule != NULL) {
1656 prev_pos = exp_pos;
1662 cnt, new_pos, exp_pos, opid);
1664 fprintf(fp," if(tmp%d == this) {\n", exp_pos);
1666 fprintf(fp," for(unsigned i = 0; i < num%d; i++) {\n", exp_pos);
1667 fprintf(fp," n%d->add_req(_in[i + idx%d]);\n", cnt, exp_pos);
1671 fprintf(fp," else n%d->add_req(tmp%d);\n", cnt, exp_pos);
1682 fprintf(fp," tmp%d = n%d;\n", exp_pos, cnt);
1687 fprintf(fp," tmp%d = n%d;\n", exp_pos, cnt);