/external/mesa3d/src/intel/compiler/ |
D | brw_fs_cmod_propagation.cpp | 123 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 …]
|
D | brw_vec4_cmod_propagation.cpp | 76 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 …]
|
D | test_fs_cmod_propagation.cpp | 139 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 …]
|
D | test_vec4_cmod_propagation.cpp | 176 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 …]
|
D | test_fs_copy_propagation.cpp | 150 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()
|
D | brw_fs_sel_peephole.cpp | 172 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()
|
D | brw_fs_copy_propagation.cpp | 596 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()
|
D | brw_vec4_copy_propagation.cpp | 245 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()
|
D | brw_vec4_nir.cpp | 103 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 …]
|
D | brw_fs_lower_regioning.cpp | 305 mov->conditional_mod = inst->conditional_mod; in lower_dst_modifiers() 321 inst->conditional_mod = BRW_CONDITIONAL_NONE; in lower_dst_modifiers()
|
D | brw_vec4_cse.cpp | 149 a->conditional_mod == b->conditional_mod && in instructions_match()
|
D | brw_ir.h | 158 enum brw_conditional_mod conditional_mod; /**< BRW_CONDITIONAL_* */ member
|
D | brw_fs_generator.cpp | 991 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()
|
D | brw_ir_vec4.h | 334 return (conditional_mod && (opcode != BRW_OPCODE_SEL && in writes_flag() 395 inst->conditional_mod = mod; in set_condmod()
|
D | brw_fs_cse.cpp | 182 a->conditional_mod == b->conditional_mod && in instructions_match()
|
D | brw_vec4_generator.cpp | 1595 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()
|
D | brw_fs_register_coalesce.cpp | 283 if (mov[i]->conditional_mod == BRW_CONDITIONAL_NONE) { in register_coalesce()
|
D | brw_shader.cpp | 859 if (conditional_mod == BRW_CONDITIONAL_GE || in is_commutative() 860 conditional_mod == BRW_CONDITIONAL_L) { in is_commutative()
|
D | brw_fs.cpp | 70 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 …]
|
D | brw_vec4_visitor.cpp | 45 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()
|
D | brw_vec4.cpp | 1608 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()
|
D | brw_ir_fs.h | 419 inst->conditional_mod = mod; in set_condmod()
|
D | brw_fs_nir.cpp | 425 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()
|
D | brw_vec4_gs_visitor.cpp | 468 inst->conditional_mod = BRW_CONDITIONAL_Z; in gs_emit_vertex()
|