Home
last modified time | relevance | path

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

/external/mesa3d/src/intel/compiler/
Dbrw_fs_cmod_propagation.cpp78 inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
86 inst->conditional_mod != BRW_CONDITIONAL_NZ) in opt_cmod_propagation_local()
99 if (inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
125 if (inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
172 inst->src[0].negate ? brw_swap_cmod(inst->conditional_mod) in opt_cmod_propagation_local()
173 : inst->conditional_mod; in opt_cmod_propagation_local()
176 ((!read_flag && scan_inst->conditional_mod == BRW_CONDITIONAL_NONE) || in opt_cmod_propagation_local()
177 scan_inst->conditional_mod == cond)) { in opt_cmod_propagation_local()
178 scan_inst->conditional_mod = cond; in opt_cmod_propagation_local()
Dbrw_vec4_cmod_propagation.cpp58 inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
66 inst->conditional_mod != BRW_CONDITIONAL_NZ) in opt_cmod_propagation_local()
86 if (inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
112 if (inst->conditional_mod == BRW_CONDITIONAL_NZ && in opt_cmod_propagation_local()
159 inst->src[0].negate ? brw_swap_cmod(inst->conditional_mod) in opt_cmod_propagation_local()
160 : inst->conditional_mod; in opt_cmod_propagation_local()
163 ((!read_flag && scan_inst->conditional_mod == BRW_CONDITIONAL_NONE) || in opt_cmod_propagation_local()
164 scan_inst->conditional_mod == cond)) { in opt_cmod_propagation_local()
165 scan_inst->conditional_mod = cond; in opt_cmod_propagation_local()
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_cmod_propagation.cpp130 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F()
163 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
195 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
231 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F()
233 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F()
272 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F()
308 EXPECT_EQ(BRW_CONDITIONAL_NONE, instruction(block0, 0)->conditional_mod); in TEST_F()
310 EXPECT_EQ(BRW_CONDITIONAL_NONE, instruction(block0, 0)->conditional_mod); in TEST_F()
312 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F()
349 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F()
[all …]
Dtest_fs_copy_propagation.cpp151 enum brw_conditional_mod conditional_mod; in TEST_F() member
179 fs_inst *sel = set_condmod(test[i].conditional_mod, in TEST_F()
200 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_vec4_copy_propagation.cpp261 new_cmod = brw_swap_cmod(inst->conditional_mod); in try_constant_propagate()
268 inst->conditional_mod = new_cmod; in try_constant_propagate()
285 if (inst->conditional_mod == BRW_CONDITIONAL_NONE) { in try_constant_propagate()
Dbrw_fs_copy_propagation.cpp463 if ((inst->conditional_mod != BRW_CONDITIONAL_GE && in try_copy_propagate()
464 inst->conditional_mod != BRW_CONDITIONAL_L) || in try_copy_propagate()
649 new_cmod = brw_swap_cmod(inst->conditional_mod); in try_constant_propagate()
656 inst->conditional_mod = new_cmod; in try_constant_propagate()
673 if (inst->conditional_mod == BRW_CONDITIONAL_NONE) { in try_constant_propagate()
Dbrw_vec4_cse.cpp122 a->conditional_mod == b->conditional_mod && in instructions_match()
Dbrw_ir_vec4.h331 return (conditional_mod && (opcode != BRW_OPCODE_SEL && in writes_flag()
391 inst->conditional_mod = mod; in set_condmod()
Dbrw_fs_cse.cpp183 a->conditional_mod == b->conditional_mod && in instructions_match()
Dbrw_vec4_generator.cpp1609 brw_CMP(p, dst, inst->conditional_mod, src[0], src[1]); in generate_code()
1698 gen6_IF(p, inst->conditional_mod, src[0], src[1]); in generate_code()
1737 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
1751 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
2160 assert(!inst->conditional_mod); in generate_code()
2161 } else if (inst->no_dd_clear || inst->no_dd_check || inst->conditional_mod) { in generate_code()
2168 if (inst->conditional_mod) in generate_code()
2169 brw_inst_set_cond_modifier(p->devinfo, last, inst->conditional_mod); in generate_code()
Dbrw_fs_generator.cpp1693 assert(!inst->conditional_mod || in generate_code()
1809 brw_CMP(p, dst, inst->conditional_mod, src[0], src[1]); in generate_code()
1870 gen6_IF(p, inst->conditional_mod, src[0], src[1]); in generate_code()
1906 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
1924 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
2189 if (inst->no_dd_clear || inst->no_dd_check || inst->conditional_mod) { in generate_code()
2196 if (inst->conditional_mod) in generate_code()
2197 brw_inst_set_cond_modifier(p->devinfo, last, inst->conditional_mod); in generate_code()
Dbrw_vec4_nir.cpp107 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_if()
1322 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
1336 inst->conditional_mod = BRW_CONDITIONAL_L; in nir_emit_alu()
1481 enum brw_conditional_mod conditional_mod = in nir_emit_alu() local
1485 emit(CMP(dst, op[0], op[1], conditional_mod)); in nir_emit_alu()
1493 emit(CMP(temp, op[0], op[1], conditional_mod)); in nir_emit_alu()
1590 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
1845 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
Dbrw_shader.h161 enum brw_conditional_mod conditional_mod; /**< BRW_CONDITIONAL_* */ member
Dbrw_vec4.cpp851 if (inst->conditional_mod == BRW_CONDITIONAL_GE && in opt_algebraic()
857 inst->conditional_mod = BRW_CONDITIONAL_Z; in opt_algebraic()
1558 if (inst->conditional_mod) { in dump_instruction()
1559 fprintf(file, "%s", conditional_modifier[inst->conditional_mod]); in dump_instruction()
1825 inst->conditional_mod); in lower_minmax()
1827 inst->conditional_mod = BRW_CONDITIONAL_NONE; in lower_minmax()
1887 test->conditional_mod = BRW_CONDITIONAL_Z; in emit_shader_time_end()
Dbrw_fs.cpp68 this->conditional_mod = BRW_CONDITIONAL_NONE; in init()
237 conditional_mod == inst->conditional_mod && in equals()
933 if ((conditional_mod && (opcode != BRW_OPCODE_SEL && in flags_written()
2429 if (inst->conditional_mod == BRW_CONDITIONAL_GE && in opt_algebraic()
2435 inst->conditional_mod = BRW_CONDITIONAL_Z; in opt_algebraic()
2448 switch (inst->conditional_mod) { in opt_algebraic()
2456 inst->conditional_mod = BRW_CONDITIONAL_NONE; in opt_algebraic()
2471 inst->conditional_mod = BRW_CONDITIONAL_NONE; in opt_algebraic()
3672 if (needs_mov || inst->conditional_mod) { in lower_integer_multiplication()
3673 set_condmod(inst->conditional_mod, in lower_integer_multiplication()
[all …]
Dbrw_fs_register_coalesce.cpp247 mov[i]->conditional_mod = BRW_CONDITIONAL_NONE; in register_coalesce()
Dbrw_shader.cpp759 if (conditional_mod == BRW_CONDITIONAL_GE || in is_commutative()
760 conditional_mod == BRW_CONDITIONAL_L) { in is_commutative()
Dbrw_vec4_visitor.cpp44 this->conditional_mod = BRW_CONDITIONAL_NONE; in vec4_instruction()
217 inst->conditional_mod = condition; in IF()
249 inst->conditional_mod = condition; in CMP()
730 inst->conditional_mod = conditionalmod; in emit_minmax()
Dbrw_ir_fs.h401 inst->conditional_mod = mod; in set_condmod()
Dbrw_vec4_gs_visitor.cpp499 inst->conditional_mod = BRW_CONDITIONAL_Z; in gs_emit_vertex()
Dbrw_fs_nir.cpp374 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_if()
986 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
1000 inst->conditional_mod = BRW_CONDITIONAL_L; in nir_emit_alu()
2047 inst->conditional_mod = BRW_CONDITIONAL_Z; in emit_gs_vertex()