Lines Matching refs:idx

1553       fprintf(fp,"  unsigned idx%d = idx%d + num%d;\n",
1667 fprintf(fp," n%d->add_req(_in[i + idx%d]);\n", cnt, exp_pos);
1734 // int idx = node->operand_position_format(comp->_name);
1736 // idx, machOperEnum(op->_ident));
1781 fprintf(fp," unsigned idx%d = idx%d + num%d;\n",
1805 fprintf(fp," set_req(i + idx%d, _in[i + idx%d]);\n", new_num_opnds, i);
1808 fprintf(fp," idx%d = idx%d + num%d;\n", new_num_opnds+1, new_num_opnds, new_num_opnds);
1813 fprintf(fp," for(int i = idx%d - 1; i >= (int)idx%d; i--) {\n", cur_num_opnds, new_num_opnds);
1968 int idx = (opc != NULL) ? _inst.operand_position_format(inst_rep_var) : -1;
1970 if ( idx != -1 ) {
1974 _operand_idx = idx;
2046 // const int idx = _operand.constant_position(_AD.globalNames(), comp);
2047 // assert( idx != -1, "Constant component not found in operand");
2169 fprintf(_fp,"->base(ra_,this,idx%d), ", _operand_idx);
2173 fprintf(_fp,"->index(ra_,this,idx%d), ", _operand_idx);
2185 fprintf(_fp,"->disp(ra_,this,idx%d), ", _operand_idx);
2325 if( _operand_idx != 0 ) fprintf(_fp,",idx%d", _operand_idx);
2338 fprintf(_fp,"->base(ra_,this,idx%d)", _operand_idx);
2344 fprintf(_fp,"->index(ra_,this,idx%d)", _operand_idx);
2375 fprintf(_fp,"->disp(ra_,this,idx%d)", _operand_idx);
2430 int idx = (opc != NULL) ? _inst.operand_position_format(inst_rep_var) : -1;
2431 if( idx != -1 ) {
2432 if (_inst.is_noninput_operand(idx)) {
2438 fprintf(_fp,"opnd_array(%d)",idx);
2778 int idx = -1;
2794 idx = oper.constant_position(globals, comp);
2798 return idx;
2843 fprintf(fp,"(PhaseRegAlloc *ra_, const Node *node, int idx) const { \n");
2846 fprintf(fp,"(PhaseRegAlloc *ra_, const Node *node, int idx) const { \n");
2870 fprintf(fp," return (int)ra_->get_encode(node->in(idx");
2874 // StackSlot for an sReg comes either from input node or from self, when idx==0
2875 fprintf(fp," if( idx != 0 ) {\n");
2877 fprintf(fp," return ra_->reg2offset(ra_->get_reg_first(node->in(idx)));/* sReg */\n");
2884 const int idx = oper.constant_position(globals, comp);
2885 assert( idx != -1, "Constant component not found in operand");
2888 oper.access_constant(fp, globals, (uint)idx /* , const_type */);
2918 int idx = rep_var_to_constant_index(disp, oper, globals);
2919 fprintf(fp," virtual const TypePtr *disp_as_type() const { return _c%d; }\n", idx);
3394 int idx = 0;
3405 map.record_position(OutputMap::BEGIN_OPERANDS, idx );
3412 fprintf(fp_cpp, " /* %4d */", idx); map.map(*op); fprintf(fp_cpp, ",\n");
3413 ++idx;
3418 map.record_position(OutputMap::BEGIN_OPCLASSES, idx );
3421 fprintf(fp_cpp, " /* %4d */", idx); map.map(*opc); fprintf(fp_cpp, ",\n");
3422 ++idx;
3427 map.record_position(OutputMap::BEGIN_INTERNALS, idx );
3431 fprintf(fp_cpp, " /* %4d */", idx); map.map(name); fprintf(fp_cpp, ",\n");
3432 ++idx;
3438 map.record_position(OutputMap::BEGIN_INSTRUCTIONS, idx );
3440 map.record_position(OutputMap::BEGIN_INST_CHAIN_RULES, idx );
3449 fprintf(fp_cpp, " /* %4d */", idx); map.map(*inst); fprintf(fp_cpp, ",\n");
3450 ++idx;
3452 map.record_position(OutputMap::BEGIN_REMATERIALIZE, idx );
3460 fprintf(fp_cpp, " /* %4d */", idx); map.map(*inst); fprintf(fp_cpp, ",\n");
3461 ++idx;
3463 map.record_position(OutputMap::END_INST_CHAIN_RULES, idx );
3474 fprintf(fp_cpp, " /* %4d */", idx); map.map(*inst); fprintf(fp_cpp, ",\n");
3475 ++idx;
3477 map.record_position(OutputMap::END_REMATERIALIZE, idx );
3485 fprintf(fp_cpp, " /* %4d */", idx); map.map(*inst); fprintf(fp_cpp, ",\n");
3486 ++idx;
3490 map.record_position(OutputMap::END_INSTRUCTIONS, idx );
3622 MatchNode *mnode, uint idx) {
3661 if ( (mnode->_lChild) && (lConsts > idx) ) {
3663 path_to_constant(fp, globals, mnode->_lChild, idx);
3667 if ( (mnode->_rChild) && (rConsts > (idx - lConsts) ) ) {
3668 idx = idx - lConsts;
3670 path_to_constant(fp, globals, mnode->_rChild, idx);
3703 int idx = 0;