Lines Matching refs:opcount

88   int opcount;  member
3394 int opcount, in operands_match() argument
3401 if (opcount == 0 && minops == 0) in operands_match()
3426 if (op == opcount) in operands_match()
3929 if (insn->opcount == 1) in encode_operand()
4040 for (i = 0; i < insn->opcount; i++) in build_insn()
4061 for (i = 0; i < insn->opcount; i++) in build_insn()
4089 if (insn->opcount > 1 in optimize_insn()
4090 && is_accumulator (&insn->operands[insn->opcount - 2]) in optimize_insn()
4091 && is_accumulator (&insn->operands[insn->opcount - 1]) in optimize_insn()
4092 && strcasecmp (insn->operands[insn->opcount - 2].buf, in optimize_insn()
4093 insn->operands[insn->opcount - 1].buf) == 0) in optimize_insn()
4095 --insn->opcount; in optimize_insn()
4108 && is_zero (insn->operands[1]) && insn->opcount == 3)) in optimize_insn()
4111 insn->opcount = 2; in optimize_insn()
4117 if (insn->opcount == 3 && insn->operands[0].type != OP_SRC) in optimize_insn()
4128 insn->opcount = 2; in optimize_insn()
4141 insn->opcount = 2; in optimize_insn()
4147 if (insn->opcount > 1 in optimize_insn()
4148 && is_accumulator (&insn->operands[insn->opcount - 2]) in optimize_insn()
4149 && is_accumulator (&insn->operands[insn->opcount - 1]) in optimize_insn()
4150 && strcasecmp (insn->operands[insn->opcount - 2].buf, in optimize_insn()
4151 insn->operands[insn->opcount - 1].buf) == 0) in optimize_insn()
4153 --insn->opcount; in optimize_insn()
4163 && insn->opcount == 3) in optimize_insn()
4166 insn->opcount = 2; in optimize_insn()
4185 insn->opcount = get_operands (insn->operands, line); in tic54x_parse_insn()
4186 if (insn->opcount < 0) in tic54x_parse_insn()
4192 if (insn->opcount >= insn->tm->minops in tic54x_parse_insn()
4193 && insn->opcount <= insn->tm->maxops in tic54x_parse_insn()
4194 && operands_match (insn, &insn->operands[0], insn->opcount, in tic54x_parse_insn()
4247 insn->opcount = get_operands (insn->operands, line); in tic54x_parse_parallel_insn_firstline()
4248 if (insn->opcount < 0) in tic54x_parse_parallel_insn_firstline()
4250 if (insn->opcount == 2 in tic54x_parse_parallel_insn_firstline()
4251 && operands_match (insn, &insn->operands[0], insn->opcount, in tic54x_parse_parallel_insn_firstline()