/third_party/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() 173 const enum brw_conditional_mod cond = brw_negate_cmod(inst->conditional_mod); in cmod_propagate_not() 204 ((!read_flag && scan_inst->conditional_mod == BRW_CONDITIONAL_NONE) || in cmod_propagate_not() 205 scan_inst->conditional_mod == cond)) { in cmod_propagate_not() 206 scan_inst->conditional_mod = cond; in cmod_propagate_not() 259 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_vec4_cmod_propagation.cpp | 188 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F() 223 EXPECT_EQ(BRW_CONDITIONAL_NONE, instruction(block0, 0)->conditional_mod); in TEST_F() 225 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F() 259 EXPECT_EQ(BRW_CONDITIONAL_L, instruction(block0, 0)->conditional_mod); in TEST_F() 261 EXPECT_EQ(BRW_CONDITIONAL_EQ, instruction(block0, 1)->conditional_mod); in TEST_F() 294 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F() 331 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F() 333 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F() 373 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F() 410 EXPECT_EQ(BRW_CONDITIONAL_NONE, instruction(block0, 0)->conditional_mod); in TEST_F() [all …]
|
D | test_fs_cmod_propagation.cpp | 152 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F() 186 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F() 219 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F() 251 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F() 283 EXPECT_EQ(BRW_CONDITIONAL_Z, 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() 358 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 0)->conditional_mod); in TEST_F() 361 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 1)->conditional_mod); in TEST_F() 401 EXPECT_EQ(BRW_CONDITIONAL_GE, instruction(block0, 2)->conditional_mod); in TEST_F() [all …]
|
D | test_fs_copy_propagation.cpp | 162 enum brw_conditional_mod conditional_mod; in TEST_F() member 190 fs_inst *sel = set_condmod(test[i].conditional_mod, in TEST_F() 211 EXPECT_EQ(test[i].conditional_mod, sel->conditional_mod); in TEST_F()
|
D | brw_fs_copy_propagation.cpp | 655 if ((inst->conditional_mod != BRW_CONDITIONAL_GE && in try_copy_propagate() 656 inst->conditional_mod != BRW_CONDITIONAL_L) || in try_copy_propagate() 897 new_cmod = brw_swap_cmod(inst->conditional_mod); in try_constant_propagate() 904 inst->conditional_mod = new_cmod; in try_constant_propagate() 915 (inst->conditional_mod == BRW_CONDITIONAL_NONE || in try_constant_propagate() 917 inst->conditional_mod == BRW_CONDITIONAL_GE || in try_constant_propagate() 918 inst->conditional_mod == BRW_CONDITIONAL_L)) { in try_constant_propagate() 925 if (inst->conditional_mod == BRW_CONDITIONAL_NONE) { in try_constant_propagate()
|
D | brw_fs_sel_peephole.cpp | 173 then_mov[i]->conditional_mod != BRW_CONDITIONAL_NONE || in opt_peephole_sel() 174 else_mov[i]->conditional_mod != BRW_CONDITIONAL_NONE) { in opt_peephole_sel()
|
D | brw_fs_lower_regioning.cpp | 341 (inst->saturate || inst->conditional_mod)) || in has_invalid_dst_modifiers() 420 mov->conditional_mod = inst->conditional_mod; in lower_dst_modifiers() 436 inst->conditional_mod = BRW_CONDITIONAL_NONE; in lower_dst_modifiers()
|
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() 1297 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu() 1311 inst->conditional_mod = BRW_CONDITIONAL_L; in nir_emit_alu() 1358 inst->conditional_mod = BRW_CONDITIONAL_R; in nir_emit_alu() 1390 inst->conditional_mod = BRW_CONDITIONAL_R; in nir_emit_alu() 1459 enum brw_conditional_mod conditional_mod = in nir_emit_alu() local 1467 conditional_mod = brw_swap_cmod(conditional_mod); in nir_emit_alu() 1469 emit(CMP(dst, op[0], op[1], conditional_mod)); in nir_emit_alu() 1477 emit(CMP(temp, op[0], op[1], conditional_mod)); in nir_emit_alu() 1568 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu() [all …]
|
D | brw_fs_generator.cpp | 918 brw_inst_set_cond_modifier(p->devinfo, mac, inst->conditional_mod); in generate_linterp() 933 brw_inst_set_cond_modifier(p->devinfo, i[1], inst->conditional_mod); in generate_linterp() 1881 assert(!inst->conditional_mod || in generate_code() 2027 brw_CMP(p, dst, inst->conditional_mod, src[0], src[1]); in generate_code() 2039 brw_CMPN(p, dst, inst->conditional_mod, src[0], src[1]); in generate_code() 2106 gfx6_IF(p, inst->conditional_mod, src[0], src[1]); in generate_code() 2142 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code() 2162 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code() 2516 if (inst->no_dd_clear || inst->no_dd_check || inst->conditional_mod) { in generate_code() 2523 if (inst->conditional_mod) in generate_code() [all …]
|
D | brw_vec4_cse.cpp | 149 a->conditional_mod == b->conditional_mod && in instructions_match()
|
D | brw_vec4_generator.cpp | 1640 brw_CMP(p, dst, inst->conditional_mod, src[0], src[1]); in generate_code() 1643 brw_CMPN(p, dst, inst->conditional_mod, src[0], src[1]); in generate_code() 1732 gfx6_IF(p, inst->conditional_mod, src[0], src[1]); in generate_code() 1771 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code() 1786 assert(inst->conditional_mod == BRW_CONDITIONAL_NONE); in generate_code() 2189 assert(!inst->conditional_mod); in generate_code() 2190 } else if (inst->no_dd_clear || inst->no_dd_check || inst->conditional_mod) { in generate_code() 2197 if (inst->conditional_mod) in generate_code() 2198 brw_inst_set_cond_modifier(p->devinfo, last, inst->conditional_mod); in generate_code()
|
D | brw_ir_vec4.h | 335 return (conditional_mod && ((opcode != BRW_OPCODE_SEL || devinfo->ver <= 5) && in writes_flag() 396 inst->conditional_mod = mod; in set_condmod()
|
D | brw_ir.h | 165 enum brw_conditional_mod conditional_mod; /**< BRW_CONDITIONAL_* */ member
|
D | brw_fs_cse.cpp | 183 a->conditional_mod == b->conditional_mod && in instructions_match()
|
D | brw_fs.cpp | 71 this->conditional_mod = BRW_CONDITIONAL_NONE; in init() 1044 if ((conditional_mod && ((opcode != BRW_OPCODE_SEL || devinfo->ver <= 5) && in flags_written() 2573 if ((inst->conditional_mod == BRW_CONDITIONAL_Z || in opt_algebraic() 2574 inst->conditional_mod == BRW_CONDITIONAL_NZ) && in opt_algebraic() 2672 if ((inst->conditional_mod == BRW_CONDITIONAL_Z || in opt_algebraic() 2673 inst->conditional_mod == BRW_CONDITIONAL_NZ) && in opt_algebraic() 2713 switch (inst->conditional_mod) { in opt_algebraic() 2721 inst->conditional_mod = BRW_CONDITIONAL_NONE; in opt_algebraic() 2736 inst->conditional_mod = BRW_CONDITIONAL_NONE; in opt_algebraic() 3439 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() 723 inst->conditional_mod = conditionalmod; in emit_minmax()
|
D | brw_fs_register_coalesce.cpp | 283 if (mov[i]->conditional_mod == BRW_CONDITIONAL_NONE) { in register_coalesce()
|
D | brw_vec4.cpp | 1328 if (inst->conditional_mod) { in dump_instruction() 1329 fprintf(file, "%s", conditional_modifier[inst->conditional_mod]); in dump_instruction() 1626 inst->conditional_mod); in lower_minmax() 1629 inst->conditional_mod); in lower_minmax() 1632 inst->conditional_mod = BRW_CONDITIONAL_NONE; in lower_minmax()
|
D | brw_shader.cpp | 874 if (conditional_mod == BRW_CONDITIONAL_GE || in is_commutative() 875 conditional_mod == BRW_CONDITIONAL_L) { in is_commutative()
|
D | brw_fs_nir.cpp | 379 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_if() 1399 inst->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_alu() 1413 inst->conditional_mod = BRW_CONDITIONAL_L; in nir_emit_alu() 2470 inst->conditional_mod = BRW_CONDITIONAL_Z; in emit_gs_vertex() 3570 if (cmp->conditional_mod == BRW_CONDITIONAL_NONE) { in nir_emit_fs_intrinsic() 3572 cmp->conditional_mod = BRW_CONDITIONAL_Z; in nir_emit_fs_intrinsic() 3580 cmp->conditional_mod = brw_negate_cmod(cmp->conditional_mod); in nir_emit_fs_intrinsic() 4232 bld.ADD(low, low, brw_imm_ud(v))->conditional_mod = BRW_CONDITIONAL_O; in increment_a64_address() 4969 mov->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_intrinsic() 6532 mov->conditional_mod = BRW_CONDITIONAL_NZ; in nir_emit_texture()
|
D | brw_ir_fs.h | 423 inst->conditional_mod = mod; in set_condmod()
|
D | brw_vec4_gs_visitor.cpp | 467 inst->conditional_mod = BRW_CONDITIONAL_Z; in gs_emit_vertex()
|