Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
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()
147 inst->src[0].negate ? brw_swap_cmod(inst->conditional_mod) in opt_cmod_propagation_local()
148 : inst->conditional_mod; in opt_cmod_propagation_local()
151 ((!read_flag && scan_inst->conditional_mod == BRW_CONDITIONAL_NONE) || in opt_cmod_propagation_local()
152 scan_inst->conditional_mod == cond)) { in opt_cmod_propagation_local()
153 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()
134 inst->src[0].negate ? brw_swap_cmod(inst->conditional_mod) in opt_cmod_propagation_local()
135 : inst->conditional_mod; in opt_cmod_propagation_local()
138 ((!read_flag && scan_inst->conditional_mod == BRW_CONDITIONAL_NONE) || in opt_cmod_propagation_local()
139 scan_inst->conditional_mod == cond)) { in opt_cmod_propagation_local()
140 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_fs_copy_propagation.cpp434 if ((inst->conditional_mod != BRW_CONDITIONAL_GE && in try_copy_propagate()
435 inst->conditional_mod != BRW_CONDITIONAL_L) || in try_copy_propagate()
620 new_cmod = brw_swap_cmod(inst->conditional_mod); in try_constant_propagate()
627 inst->conditional_mod = new_cmod; in try_constant_propagate()
644 if (inst->conditional_mod == BRW_CONDITIONAL_NONE) { in try_constant_propagate()
Dbrw_vec4_copy_propagation.cpp254 new_cmod = brw_swap_cmod(inst->conditional_mod); in try_constant_propagate()
261 inst->conditional_mod = new_cmod; in try_constant_propagate()
278 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.h329 return (conditional_mod && (opcode != BRW_OPCODE_SEL && in writes_flag()
364 inst->conditional_mod = mod; in set_condmod()
Dbrw_fs_generator.cpp1598 assert(!inst->conditional_mod || in generate_code()
1704 brw_CMP(p, dst, inst->conditional_mod, src[0], src[1]); in generate_code()
1765 gen6_IF(p, inst->conditional_mod, src[0], src[1]); in generate_code()
1801 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
1819 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
2067 if (inst->no_dd_clear || inst->no_dd_check || inst->conditional_mod) { in generate_code()
2074 if (inst->conditional_mod) in generate_code()
2075 brw_inst_set_cond_modifier(p->devinfo, last, inst->conditional_mod); in generate_code()
Dbrw_fs_cse.cpp183 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()
1686 gen6_IF(p, inst->conditional_mod, src[0], src[1]); in generate_code()
1725 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
1739 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code()
2144 assert(!inst->conditional_mod); in generate_code()
2145 } else if (inst->no_dd_clear || inst->no_dd_check || inst->conditional_mod) { in generate_code()
2152 if (inst->conditional_mod) in generate_code()
2153 brw_inst_set_cond_modifier(p->devinfo, last, inst->conditional_mod); in generate_code()
Dbrw_vec4_nir.cpp185 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_if()
1435 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
1449 inst->conditional_mod = BRW_CONDITIONAL_L; in nir_emit_alu()
1592 enum brw_conditional_mod conditional_mod = in nir_emit_alu() local
1596 emit(CMP(dst, op[0], op[1], conditional_mod)); in nir_emit_alu()
1604 emit(CMP(temp, op[0], op[1], conditional_mod)); in nir_emit_alu()
1704 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
1957 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
Dbrw_vec4.cpp790 if (inst->conditional_mod == BRW_CONDITIONAL_GE && in opt_algebraic()
796 inst->conditional_mod = BRW_CONDITIONAL_Z; in opt_algebraic()
1490 if (inst->conditional_mod) { in dump_instruction()
1491 fprintf(file, "%s", conditional_modifier[inst->conditional_mod]); in dump_instruction()
1833 inst->conditional_mod); in lower_minmax()
1835 inst->conditional_mod = BRW_CONDITIONAL_NONE; in lower_minmax()
1895 test->conditional_mod = BRW_CONDITIONAL_Z; in emit_shader_time_end()
Dbrw_fs.cpp70 this->conditional_mod = BRW_CONDITIONAL_NONE; in init()
232 conditional_mod == inst->conditional_mod && in equals()
888 if ((conditional_mod && (opcode != BRW_OPCODE_SEL && in flags_written()
2268 if (inst->conditional_mod == BRW_CONDITIONAL_GE && in opt_algebraic()
2274 inst->conditional_mod = BRW_CONDITIONAL_Z; in opt_algebraic()
2287 switch (inst->conditional_mod) { in opt_algebraic()
2295 inst->conditional_mod = BRW_CONDITIONAL_NONE; in opt_algebraic()
2310 inst->conditional_mod = BRW_CONDITIONAL_NONE; in opt_algebraic()
3453 if (inst->conditional_mod || orig_dst.file == MRF) { in lower_integer_multiplication()
3454 set_condmod(inst->conditional_mod, in lower_integer_multiplication()
[all …]
Dbrw_shader.h159 enum brw_conditional_mod conditional_mod; /**< BRW_CONDITIONAL_* */ member
Dbrw_fs_register_coalesce.cpp247 mov[i]->conditional_mod = BRW_CONDITIONAL_NONE; in register_coalesce()
Dbrw_vec4_visitor.cpp45 this->conditional_mod = BRW_CONDITIONAL_NONE; in vec4_instruction()
217 inst->conditional_mod = condition; in IF()
249 inst->conditional_mod = condition; in CMP()
725 inst->conditional_mod = conditionalmod; in emit_minmax()
Dbrw_shader.cpp758 if (conditional_mod == BRW_CONDITIONAL_GE || in is_commutative()
759 conditional_mod == BRW_CONDITIONAL_L) { in is_commutative()
Dbrw_ir_fs.h403 inst->conditional_mod = mod; in set_condmod()
Dbrw_vec4_gs_visitor.cpp490 inst->conditional_mod = BRW_CONDITIONAL_Z; in gs_emit_vertex()
Dbrw_fs_nir.cpp300 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_if()
892 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu()
906 inst->conditional_mod = BRW_CONDITIONAL_L; in nir_emit_alu()
1890 inst->conditional_mod = BRW_CONDITIONAL_Z; in emit_gs_vertex()