Home
last modified time | relevance | path

Searched refs:conditional_mod (Results 1 – 24 of 24) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_fs_cmod_propagation.cpp123 negate ? brw_swap_cmod(inst->conditional_mod) in cmod_propagate_cmp_to_add()
124 : inst->conditional_mod; in cmod_propagate_cmp_to_add()
135 ((!read_flag && scan_inst->conditional_mod == BRW_CONDITIONAL_NONE) || in cmod_propagate_cmp_to_add()
136 scan_inst->conditional_mod == cond)) { in cmod_propagate_cmp_to_add()
137 scan_inst->conditional_mod = cond; in cmod_propagate_cmp_to_add()
172 const enum brw_conditional_mod cond = brw_negate_cmod(inst->conditional_mod); in cmod_propagate_not()
203 ((!read_flag && scan_inst->conditional_mod == BRW_CONDITIONAL_NONE) || in cmod_propagate_not()
204 scan_inst->conditional_mod == cond)) { in cmod_propagate_not()
205 scan_inst->conditional_mod = cond; in cmod_propagate_not()
257 inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
[all …]
Dbrw_vec4_cmod_propagation.cpp76 inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
81 inst->conditional_mod != BRW_CONDITIONAL_NZ) in opt_cmod_propagation_local()
132 negate ? brw_swap_cmod(inst->conditional_mod) in opt_cmod_propagation_local()
133 : inst->conditional_mod; in opt_cmod_propagation_local()
136 ((!read_flag && scan_inst->conditional_mod == BRW_CONDITIONAL_NONE) || in opt_cmod_propagation_local()
137 scan_inst->conditional_mod == cond)) { in opt_cmod_propagation_local()
138 scan_inst->conditional_mod = cond; in opt_cmod_propagation_local()
157 if (inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
253 if (inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
279 if (inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
[all …]
Dtest_fs_cmod_propagation.cpp139 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F()
173 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F()
206 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
238 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
274 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
276 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F()
313 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F()
316 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
356 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F()
394 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F()
[all …]
Dtest_vec4_cmod_propagation.cpp176 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F()
211 EXPECT_EQ(BRW_CONDITIONAL_NONE, instruction(block0, 0)->conditional_mod); in TEST_F()
213 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
247 EXPECT_EQ(BRW_CONDITIONAL_L, instruction(block0, 0)->conditional_mod); in TEST_F()
249 EXPECT_EQ(BRW_CONDITIONAL_EQ, instruction(block0, 1)->conditional_mod); in TEST_F()
282 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
319 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
321 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F()
361 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F()
398 EXPECT_EQ(BRW_CONDITIONAL_NONE, instruction(block0, 0)->conditional_mod); in TEST_F()
[all …]
Dtest_fs_copy_propagation.cpp150 enum brw_conditional_mod conditional_mod; in TEST_F() member
178 fs_inst *sel = set_condmod(test[i].conditional_mod, in TEST_F()
199 EXPECT_EQ(test[i].conditional_mod, sel->conditional_mod); in TEST_F()
Dbrw_fs_sel_peephole.cpp172 then_mov[i]->conditional_mod != BRW_CONDITIONAL_NONE || in opt_peephole_sel()
173 else_mov[i]->conditional_mod != BRW_CONDITIONAL_NONE) { in opt_peephole_sel()
Dbrw_fs_copy_propagation.cpp596 if ((inst->conditional_mod != BRW_CONDITIONAL_GE && in try_copy_propagate()
597 inst->conditional_mod != BRW_CONDITIONAL_L) || in try_copy_propagate()
810 new_cmod = brw_swap_cmod(inst->conditional_mod); in try_constant_propagate()
817 inst->conditional_mod = new_cmod; in try_constant_propagate()
828 (inst->conditional_mod == BRW_CONDITIONAL_NONE || in try_constant_propagate()
830 inst->conditional_mod == BRW_CONDITIONAL_GE || in try_constant_propagate()
831 inst->conditional_mod == BRW_CONDITIONAL_L)) { in try_constant_propagate()
838 if (inst->conditional_mod == BRW_CONDITIONAL_NONE) { in try_constant_propagate()
Dbrw_vec4_copy_propagation.cpp245 new_cmod = brw_swap_cmod(inst->conditional_mod); in try_constant_propagate()
252 inst->conditional_mod = new_cmod; in try_constant_propagate()
269 if (inst->conditional_mod == BRW_CONDITIONAL_NONE) { in try_constant_propagate()
Dbrw_vec4_nir.cpp103 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_if()
1278 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
1292 inst->conditional_mod = BRW_CONDITIONAL_L; in nir_emit_alu()
1339 inst->conditional_mod = BRW_CONDITIONAL_R; in nir_emit_alu()
1371 inst->conditional_mod = BRW_CONDITIONAL_R; in nir_emit_alu()
1440 enum brw_conditional_mod conditional_mod = in nir_emit_alu() local
1448 conditional_mod = brw_swap_cmod(conditional_mod); in nir_emit_alu()
1450 emit(CMP(dst, op[0], op[1], conditional_mod)); in nir_emit_alu()
1458 emit(CMP(temp, op[0], op[1], conditional_mod)); in nir_emit_alu()
1549 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
[all …]
Dbrw_fs_lower_regioning.cpp305 mov->conditional_mod = inst->conditional_mod; in lower_dst_modifiers()
321 inst->conditional_mod = BRW_CONDITIONAL_NONE; in lower_dst_modifiers()
Dbrw_vec4_cse.cpp149 a->conditional_mod == b->conditional_mod && in instructions_match()
Dbrw_ir.h158 enum brw_conditional_mod conditional_mod; /**< BRW_CONDITIONAL_* */ member
Dbrw_fs_generator.cpp991 brw_inst_set_cond_modifier(p->devinfo, mac, inst->conditional_mod); in generate_linterp()
1006 brw_inst_set_cond_modifier(p->devinfo, i[1], inst->conditional_mod); in generate_linterp()
1978 assert(!inst->conditional_mod || in generate_code()
2115 brw_CMP(p, dst, inst->conditional_mod, src[0], src[1]); in generate_code()
2182 gen6_IF(p, inst->conditional_mod, src[0], src[1]); in generate_code()
2218 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
2237 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
2606 if (inst->no_dd_clear || inst->no_dd_check || inst->conditional_mod) { in generate_code()
2613 if (inst->conditional_mod) in generate_code()
2614 brw_inst_set_cond_modifier(p->devinfo, last, inst->conditional_mod); in generate_code()
Dbrw_ir_vec4.h334 return (conditional_mod && (opcode != BRW_OPCODE_SEL && in writes_flag()
395 inst->conditional_mod = mod; in set_condmod()
Dbrw_fs_cse.cpp182 a->conditional_mod == b->conditional_mod && in instructions_match()
Dbrw_vec4_generator.cpp1595 brw_CMP(p, dst, inst->conditional_mod, src[0], src[1]); in generate_code()
1684 gen6_IF(p, inst->conditional_mod, src[0], src[1]); in generate_code()
1723 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
1738 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
2147 assert(!inst->conditional_mod); in generate_code()
2148 } else if (inst->no_dd_clear || inst->no_dd_check || inst->conditional_mod) { in generate_code()
2155 if (inst->conditional_mod) in generate_code()
2156 brw_inst_set_cond_modifier(p->devinfo, last, inst->conditional_mod); in generate_code()
Dbrw_fs_register_coalesce.cpp283 if (mov[i]->conditional_mod == BRW_CONDITIONAL_NONE) { in register_coalesce()
Dbrw_shader.cpp859 if (conditional_mod == BRW_CONDITIONAL_GE || in is_commutative()
860 conditional_mod == BRW_CONDITIONAL_L) { in is_commutative()
Dbrw_fs.cpp70 this->conditional_mod = BRW_CONDITIONAL_NONE; in init()
1116 if ((conditional_mod && (opcode != BRW_OPCODE_SEL && in flags_written()
2661 if ((inst->conditional_mod == BRW_CONDITIONAL_Z || in opt_algebraic()
2662 inst->conditional_mod == BRW_CONDITIONAL_NZ) && in opt_algebraic()
2757 if ((inst->conditional_mod == BRW_CONDITIONAL_Z || in opt_algebraic()
2758 inst->conditional_mod == BRW_CONDITIONAL_NZ) && in opt_algebraic()
2798 switch (inst->conditional_mod) { in opt_algebraic()
2806 inst->conditional_mod = BRW_CONDITIONAL_NONE; in opt_algebraic()
2821 inst->conditional_mod = BRW_CONDITIONAL_NONE; in opt_algebraic()
3417 inst->conditional_mod == prev_inst->conditional_mod && in remove_duplicate_mrf_writes()
[all …]
Dbrw_vec4_visitor.cpp45 this->conditional_mod = BRW_CONDITIONAL_NONE; in vec4_instruction()
218 inst->conditional_mod = condition; in IF()
250 inst->conditional_mod = condition; in CMP()
722 inst->conditional_mod = conditionalmod; in emit_minmax()
Dbrw_vec4.cpp1608 if (inst->conditional_mod) { in dump_instruction()
1609 fprintf(file, "%s", conditional_modifier[inst->conditional_mod]); in dump_instruction()
1876 inst->conditional_mod); in lower_minmax()
1878 inst->conditional_mod = BRW_CONDITIONAL_NONE; in lower_minmax()
1938 test->conditional_mod = BRW_CONDITIONAL_Z; in emit_shader_time_end()
Dbrw_ir_fs.h419 inst->conditional_mod = mod; in set_condmod()
Dbrw_fs_nir.cpp425 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_if()
1368 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
1382 inst->conditional_mod = BRW_CONDITIONAL_L; in nir_emit_alu()
2370 inst->conditional_mod = BRW_CONDITIONAL_Z; in emit_gs_vertex()
3464 if (cmp->conditional_mod == BRW_CONDITIONAL_NONE) { in nir_emit_fs_intrinsic()
3466 cmp->conditional_mod = BRW_CONDITIONAL_Z; in nir_emit_fs_intrinsic()
3474 cmp->conditional_mod = brw_negate_cmod(cmp->conditional_mod); in nir_emit_fs_intrinsic()
4096 bld.ADD(low, low, brw_imm_ud(v))->conditional_mod = BRW_CONDITIONAL_O; in increment_a64_address()
Dbrw_vec4_gs_visitor.cpp468 inst->conditional_mod = BRW_CONDITIONAL_Z; in gs_emit_vertex()