Lines Matching refs:OP_NEG
461 return (DEF_OPCODE(def, p) == OP_NEG) && (def->src == ref); in is_negate_of()
648 case OP_NEG: in eval_op()
1076 insn->opcode = OP_NEG; in simplify_mul_div()
1548 insn->src2 = eval_unop(OP_NEG, insn->size, insn->src2); in simplify_constant_rightside()
1633 return replace_with_unop(insn, OP_NEG, insn->src2); in simplify_constant_leftside()
1855 case OP_NEG: // (-x + y) --> (y - x) in simplify_add_one_side()
1890 return replace_with_unop(insn, OP_NEG, def->src2); in simplify_sub()
1892 return replace_with_unop(insn, OP_NEG, def->src1); in simplify_sub()
1894 case OP_NEG: // (x - -y) --> (x + y) in simplify_sub()
2108 case OP_NEG: in simplify_constant_unop()
2147 case OP_NEG: in simplify_unop()
2167 case OP_NEG: in simplify_unop()
2173 src = eval_unop(OP_NEG, insn->size, def->src2); in simplify_unop()
2176 case OP_NEG: // -(-x) --> x in simplify_unop()
2767 case OP_NEG: in simplify_instruction()