/external/mesa3d/src/intel/compiler/ |
D | brw_fs.h | 142 void convert_attr_sources_to_hw_regs(fs_inst *inst); 165 bool try_copy_propagate(fs_inst *inst, int arg, acp_entry *entry); 166 bool try_constant_propagate(fs_inst *inst, acp_entry *entry); 182 fs_inst *inst); 184 fs_inst *inst); 290 void emit_percomp(const brw::fs_builder &bld, const fs_inst &inst, 299 fs_inst *emit_single_fb_write(const brw::fs_builder &bld, 304 fs_inst *emit_non_coherent_fb_read(const brw::fs_builder &bld, 436 void lower_mul_dword_inst(fs_inst *inst, bblock_t *block); 437 void lower_mul_qword_inst(fs_inst *inst, bblock_t *block); [all …]
|
D | brw_ir_fs.h | 30 class fs_inst; variable 324 class fs_inst : public backend_instruction { 325 fs_inst &operator=(const fs_inst &); 331 DECLARE_RALLOC_CXX_OPERATORS(fs_inst) 333 fs_inst(); 334 fs_inst(enum opcode opcode, uint8_t exec_size); 335 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst); 336 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, 338 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, 340 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, [all …]
|
D | brw_fs_sel_peephole.cpp | 66 count_movs_from_if(fs_inst *then_mov[MAX_MOVS], fs_inst *else_mov[MAX_MOVS], in count_movs_from_if() 70 foreach_inst_in_block(fs_inst, inst, then_block) { in count_movs_from_if() 80 foreach_inst_in_block(fs_inst, inst, else_block) { in count_movs_from_if() 135 fs_inst *if_inst = (fs_inst *)block->end(); in opt_peephole_sel() 139 fs_inst *else_mov[MAX_MOVS] = { NULL }; in opt_peephole_sel() 140 fs_inst *then_mov[MAX_MOVS] = { NULL }; in opt_peephole_sel()
|
D | brw_fs_lower_regioning.cpp | 39 is_byte_raw_mov(const fs_inst *inst) in is_byte_raw_mov() 54 required_dst_byte_stride(const fs_inst *inst) in required_dst_byte_stride() 110 required_dst_byte_offset(const fs_inst *inst) in required_dst_byte_offset() 127 has_invalid_src_region(const gen_device_info *devinfo, const fs_inst *inst, in has_invalid_src_region() 169 const fs_inst *inst) in has_invalid_dst_region() 193 has_invalid_src_modifiers(const gen_device_info *devinfo, const fs_inst *inst, in has_invalid_src_modifiers() 205 has_invalid_conversion(const gen_device_info *devinfo, const fs_inst *inst) in has_invalid_conversion() 236 has_inconsistent_cmod(const fs_inst *inst) in has_inconsistent_cmod() 245 lower_instruction(fs_visitor *v, bblock_t *block, fs_inst *inst); 256 lower_src_modifiers(fs_visitor *v, bblock_t *block, fs_inst *inst, unsigned i) in lower_src_modifiers() [all …]
|
D | test_fs_copy_propagation.cpp | 70 static fs_inst * 73 fs_inst *inst = (fs_inst *)block->start(); in instruction() 75 inst = (fs_inst *)inst->next; in instruction() 130 fs_inst *mov = instruction(block0, 0); in TEST_F() 135 fs_inst *add = instruction(block0, 1); in TEST_F() 177 fs_inst *mov = set_saturate(true, bld.MOV(vgrf0, vgrf1)); in TEST_F() 178 fs_inst *sel = set_condmod(test[i].conditional_mod, in TEST_F()
|
D | test_fs_scoreboard.cpp | 59 static fs_inst * 62 fs_inst *inst = (fs_inst *)block->start(); in instruction() 64 inst = (fs_inst *)inst->next; in instruction() 87 fs_inst * 91 fs_inst *inst = bld.emit(SHADER_OPCODE_SEND, dst, desc, desc, payload); in emit_SEND() 228 fs_inst *sync = instruction(block0, 1); in TEST_F() 336 fs_inst *sync = instruction(block0, 1); in TEST_F() 449 fs_inst *sync = instruction(block0, 1); in TEST_F() 478 fs_inst *add = instruction(body, 0); in TEST_F() 483 fs_inst *mul = instruction(last_block, 0); in TEST_F() [all …]
|
D | brw_fs_cse.cpp | 40 fs_inst *generator; 48 is_expression(const fs_visitor *v, const fs_inst *const inst) in is_expression() 117 operands_match(const fs_inst *a, const fs_inst *b, bool *negate) in operands_match() 173 instructions_match(fs_inst *a, fs_inst *b, bool *negate) in instructions_match() 204 create_copy_instr(const fs_builder &bld, fs_inst *inst, fs_reg src, bool negate) in create_copy_instr() 209 fs_inst *copy; in create_copy_instr() 253 foreach_inst_in_block(fs_inst, inst, block) { in opt_cse_local() 314 fs_inst *prev = (fs_inst *)inst->prev; in opt_cse_local()
|
D | brw_fs_register_coalesce.cpp | 50 is_nop_mov(const fs_inst *inst) in is_nop_mov() 71 is_coalesce_candidate(const fs_visitor *v, const fs_inst *inst) in is_coalesce_candidate() 101 const bblock_t *block, const fs_inst *inst, in can_coalesce_vars() 131 foreach_inst_in_block(fs_inst, scan_inst, scan_block) { in can_coalesce_vars() 199 fs_inst *mov[MAX_VGRF_SIZE]; in register_coalesce() 203 foreach_block_and_inst(block, fs_inst, inst, cfg) { in register_coalesce() 303 foreach_block_and_inst(block, fs_inst, scan_inst, cfg) { in register_coalesce()
|
D | brw_fs.cpp | 48 const fs_inst *inst); 51 fs_inst::init(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in init() 92 fs_inst::fs_inst() in fs_inst() function in fs_inst 97 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size) in fs_inst() function in fs_inst 102 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst) in fs_inst() function in fs_inst 107 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() function in fs_inst 114 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() function in fs_inst 121 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() function in fs_inst 128 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_width, const fs_reg &dst, in fs_inst() function in fs_inst 134 fs_inst::fs_inst(const fs_inst &that) in fs_inst() function in fs_inst [all …]
|
D | brw_schedule_instructions.cpp | 687 bool is_compressed(const fs_inst *inst); 708 is_src_duplicate(fs_inst *inst, int src) in is_src_duplicate() 720 fs_inst *inst = (fs_inst *)be; in count_reads_remaining() 802 fs_inst *inst = (fs_inst *)be; in update_register_pressure() 828 fs_inst *inst = (fs_inst *)be; in get_register_pressure_benefit() 1079 fs_instruction_scheduler::is_compressed(const fs_inst *inst) in is_compressed() 1107 fs_inst *inst = (fs_inst *)n->inst; in calculate_deps() 1236 fs_inst *inst = (fs_inst *)n->inst; in calculate_deps() 1551 fs_inst *inst = (fs_inst *)n->inst; in choose_instruction_to_schedule() 1597 fs_inst *chosen_inst = (fs_inst *)chosen->inst; in choose_instruction_to_schedule() [all …]
|
D | brw_fs_cmod_propagation.cpp | 55 fs_inst *inst) in cmod_propagate_cmp_to_add() 60 foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { in cmod_propagate_cmp_to_add() 170 fs_inst *inst) in cmod_propagate_not() 179 foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { in cmod_propagate_not() 228 foreach_inst_in_block_reverse_safe(fs_inst, inst, block) { in opt_cmod_propagation_local() 289 foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { in opt_cmod_propagation_local()
|
D | brw_fs_reg_allocate.cpp | 60 foreach_block_and_inst(block, fs_inst, inst, cfg) { in assign_regs_trivial() 344 foreach_block_and_inst(block, fs_inst, inst, cfg) { in calculate_payload_ranges() 464 void setup_inst_interference(const fs_inst *inst); 529 foreach_block_and_inst(block, fs_inst, inst, v->cfg) { in get_used_mrfs() 638 fs_reg_alloc::setup_inst_interference(const fs_inst *inst) in setup_inst_interference() 842 foreach_block_and_inst(block, fs_inst, inst, fs->cfg) { in build_interference_graph() 861 foreach_block_and_inst(block, fs_inst, inst, fs->cfg) in build_interference_graph() 883 fs_inst *unspill_inst; in emit_unspill() 939 fs_inst *spill_inst; in emit_spill() 994 foreach_block_and_inst(block, fs_inst, inst, fs->cfg) { in set_spill_costs() [all …]
|
D | brw_fs_generator.cpp | 57 brw_reg_from_fs_reg(const struct gen_device_info *devinfo, fs_inst *inst, in brw_reg_from_fs_reg() 320 fs_generator::generate_send(fs_inst *inst, in generate_send() 355 fs_generator::fire_fb_write(fs_inst *inst, in fire_fb_write() 397 fs_generator::generate_fb_write(fs_inst *inst, struct brw_reg payload) in generate_fb_write() 440 fs_generator::generate_fb_read(fs_inst *inst, struct brw_reg dst, in generate_fb_read() 454 fs_generator::generate_mov_indirect(fs_inst *inst, in generate_mov_indirect() 581 ((fs_inst *)inst->get_next())->mlen > 0) { in generate_mov_indirect() 597 fs_generator::generate_shuffle(fs_inst *inst, in generate_shuffle() 741 fs_generator::generate_quad_swizzle(const fs_inst *inst, in generate_quad_swizzle() 811 fs_generator::generate_urb_read(fs_inst *inst, in generate_urb_read() [all …]
|
D | brw_fs_dead_code_eliminate.cpp | 43 can_eliminate(const fs_inst *inst, BITSET_WORD *flag_live) in can_eliminate() 55 can_omit_write(const fs_inst *inst) in can_omit_write() 90 foreach_inst_in_block_reverse_safe(fs_inst, inst, block) { in dead_code_eliminate()
|
D | brw_fs_scoreboard.cpp | 73 ordered_unit(const fs_inst *inst) in ordered_unit() 124 foreach_block_and_inst(block, fs_inst, inst, shader->cfg) { in ordered_inst_addresses() 453 dependency_for_write(const fs_inst *inst, dependency dep) in dependency_for_write() 762 baked_unordered_dependency_mode(const fs_inst *inst, in baked_unordered_dependency_mode() 795 const fs_inst *inst, unsigned ip, scoreboard &sb) in update_inst_scoreboard() 846 foreach_block_and_inst(block, fs_inst, inst, shader->cfg) in gather_block_scoreboards() 881 - ordered_unit(static_cast<const fs_inst *>(block->end())); in propagate_block_scoreboards() 912 foreach_block_and_inst(block, fs_inst, inst, shader->cfg) { in gather_inst_dependencies() 1011 foreach_block_and_inst_safe(block, fs_inst, inst, shader->cfg) { in emit_inst_dependencies() 1037 fs_inst *sync = ibld.emit(BRW_OPCODE_SYNC, ibld.null_reg_ud(), in emit_inst_dependencies() [all …]
|
D | brw_fs_visitor.cpp | 51 fs_inst *inst = bld.emit(SHADER_OPCODE_TXF_MCS_LOGICAL, dest, srcs, in emit_mcs_fetch() 105 fs_inst *write; in emit_dummy_fs() 411 fs_inst *cmp; in emit_alpha_test() 433 fs_inst * 461 fs_inst *write = bld.emit(FS_OPCODE_FB_WRITE_LOGICAL, fs_reg(), in emit_single_fb_write() 479 fs_inst *inst = NULL; in emit_fb_writes() 753 fs_inst *inst = abld.emit(opcode, reg_undef, payload); in emit_urb_writes() 791 fs_inst *inst = bld.emit(SHADER_OPCODE_URB_WRITE_SIMD8, reg_undef, payload); in emit_urb_writes() 834 fs_inst *inst = bld.exec_all().emit(SHADER_OPCODE_URB_WRITE_SIMD8_MASKED, in emit_urb_writes() 859 fs_inst *inst = bld.exec_all() in emit_cs_terminate()
|
D | brw_fs_bank_conflicts.cpp | 514 foreach_block_and_inst(block, fs_inst, inst, v->cfg) { in shader_reg_partitioning() 555 foreach_block_and_inst(block, fs_inst, inst, v->cfg) { in shader_reg_constraints() 600 is_conflict_optimized_out(const gen_device_info *devinfo, const fs_inst *inst) in is_conflict_optimized_out() 640 foreach_block_and_inst(block, fs_inst, inst, v->cfg) { in shader_conflict_weight_matrix() 925 foreach_block_and_inst(block, fs_inst, inst, cfg) { in opt_bank_conflicts() 944 has_bank_conflict(const gen_device_info *devinfo, const fs_inst *inst) in has_bank_conflict()
|
D | brw_fs_combine_constants.cpp | 49 could_coissue(const struct gen_device_info *devinfo, const fs_inst *inst) in could_coissue() 76 must_promote_imm(const struct gen_device_info *devinfo, const fs_inst *inst) in must_promote_imm() 117 fs_inst *inst; 215 const fs_inst *inst, uint32_t src_idx, in get_constant_value() 370 foreach_block_and_inst(block, fs_inst, inst, cfg) { in opt_combine_constants()
|
D | brw_fs_copy_propagation.cpp | 202 foreach_inst_in_block(fs_inst, inst, block) { in setup_initial_values() 228 foreach_inst_in_block(fs_inst, inst, block) { in setup_initial_values() 370 can_take_stride(fs_inst *inst, unsigned arg, unsigned stride, in can_take_stride() 433 instruction_requires_packed_data(fs_inst *inst) in instruction_requires_packed_data() 448 fs_visitor::try_copy_propagate(fs_inst *inst, int arg, acp_entry *entry) in try_copy_propagate() 683 fs_visitor::try_constant_propagate(fs_inst *inst, acp_entry *entry) in try_constant_propagate() 906 can_propagate_from(fs_inst *inst) in can_propagate_from() 932 foreach_inst_in_block(fs_inst, inst, block) { in opt_copy_propagation_local()
|
D | brw_fs_saturate_propagation.cpp | 53 foreach_inst_in_block_reverse(fs_inst, inst, block) { in opt_saturate_propagation_local() 68 foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { in opt_saturate_propagation_local()
|
D | brw_fs_nir.cpp | 423 fs_inst *inst = bld.MOV(bld.null_reg_d(), in nir_emit_if() 660 fs_inst *inst; in emit_find_msb_using_lzd() 856 fs_inst *inst; in emit_fsign() 1007 fs_inst *inst; in nir_emit_alu() 2042 fs_visitor::emit_percomp(const fs_builder &bld, const fs_inst &inst, in emit_percomp() 2049 fs_inst *new_inst = new(mem_ctx) fs_inst(inst); in emit_percomp() 2059 static fs_inst * 2070 fs_inst *inst = bld.emit(opcode, dst, src, desc); in emit_pixel_interpolater_send() 2258 fs_inst *inst = abld.emit(opcode, reg_undef, payload); in emit_gs_control_data_bits() 2367 fs_inst *inst = in emit_gs_vertex() [all …]
|
D | brw_fs_lower_pack.cpp | 35 foreach_block_and_inst_safe(block, fs_inst, inst, cfg) { in lower_pack()
|
D | brw_fs_live_variables.cpp | 74 fs_live_variables::setup_one_write(struct block_data *bd, fs_inst *inst, in setup_one_write() 115 foreach_inst_in_block(fs_inst, inst, block) { in setup_def_use() 349 foreach_block_and_inst(block, fs_inst, inst, s->cfg) { in validate()
|
D | brw_fs_validate.cpp | 45 foreach_block_and_inst (block, fs_inst, inst, cfg) { in validate()
|
D | brw_fs_live_variables.h | 136 void setup_one_write(struct block_data *bd, fs_inst *inst, int ip,
|