• Home
  • Raw
  • Download

Lines Matching refs:negate

117 operands_match(const fs_inst *a, const fs_inst *b, bool *negate)  in operands_match()  argument
127 bool xs0_negate = xs[0].negate; in operands_match()
129 : xs[1].negate; in operands_match()
130 bool ys0_negate = ys[0].negate; in operands_match()
132 : ys[1].negate; in operands_match()
136 xs[0].negate = false; in operands_match()
137 xs[1].negate = false; in operands_match()
138 ys[0].negate = false; in operands_match()
139 ys[1].negate = false; in operands_match()
146 xs[0].negate = xs0_negate; in operands_match()
147 xs[1].negate = xs[1].file == IMM ? false : xs1_negate; in operands_match()
148 ys[0].negate = ys0_negate; in operands_match()
149 ys[1].negate = ys[1].file == IMM ? false : ys1_negate; in operands_match()
153 *negate = (xs0_negate != xs1_negate) != (ys0_negate != ys1_negate); in operands_match()
154 if (*negate && (a->saturate || b->saturate)) in operands_match()
173 instructions_match(fs_inst *a, fs_inst *b, bool *negate) in instructions_match() argument
200 operands_match(a, b, negate); in instructions_match()
204 create_copy_instr(const fs_builder &bld, fs_inst *inst, fs_reg src, bool negate) in create_copy_instr() argument
240 copy->src[0].negate = negate; in create_copy_instr()
260 bool negate = false; in opt_cse_local() local
265 instructions_match(inst, entry->generator, &negate)) { in opt_cse_local()
307 create_copy_instr(ibld, inst, entry->tmp, negate); in opt_cse_local()
336 bool negate; /* dummy */ in opt_cse_local() local
339 !instructions_match(inst, entry->generator, &negate))) { in opt_cse_local()