/external/mesa3d/src/intel/compiler/ |
D | brw_fs.h | 86 fs_inst *get_instruction_generating_reg(fs_inst *start, 87 fs_inst *end, 114 void convert_attr_sources_to_hw_regs(fs_inst *inst); 142 bool try_copy_propagate(fs_inst *inst, int arg, acp_entry *entry); 143 bool try_constant_propagate(fs_inst *inst, acp_entry *entry); 149 unsigned bank_conflict_cycles(const fs_inst *inst) const; 162 fs_inst *inst); 164 fs_inst *inst); 239 void emit_percomp(const brw::fs_builder &bld, const fs_inst &inst, 248 fs_inst *emit_single_fb_write(const brw::fs_builder &bld, [all …]
|
D | brw_ir_fs.h | 30 class fs_inst; variable 317 class fs_inst : public backend_instruction { 318 fs_inst &operator=(const fs_inst &); 324 DECLARE_RALLOC_CXX_OPERATORS(fs_inst) 326 fs_inst(); 327 fs_inst(enum opcode opcode, uint8_t exec_size); 328 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst); 329 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, 331 fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, 333 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 | test_fs_copy_propagation.cpp | 71 static fs_inst * 74 fs_inst *inst = (fs_inst *)block->start(); in instruction() 76 inst = (fs_inst *)inst->next; in instruction() 131 fs_inst *mov = instruction(block0, 0); in TEST_F() 136 fs_inst *add = instruction(block0, 1); in TEST_F() 178 fs_inst *mov = set_saturate(true, bld.MOV(vgrf0, vgrf1)); in TEST_F() 179 fs_inst *sel = set_condmod(test[i].conditional_mod, in TEST_F()
|
D | brw_fs_cse.cpp | 40 fs_inst *generator; 48 is_expression(const fs_visitor *v, const fs_inst *const inst) in is_expression() 118 operands_match(const fs_inst *a, const fs_inst *b, bool *negate) in operands_match() 174 instructions_match(fs_inst *a, fs_inst *b, bool *negate) in instructions_match() 200 create_copy_instr(const fs_builder &bld, fs_inst *inst, fs_reg src, bool negate) in create_copy_instr() 205 fs_inst *copy; in create_copy_instr() 249 foreach_inst_in_block(fs_inst, inst, block) { in opt_cse_local() 310 fs_inst *prev = (fs_inst *)inst->prev; in opt_cse_local()
|
D | brw_fs.cpp | 46 const fs_inst *inst); 49 fs_inst::init(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in init() 90 fs_inst::fs_inst() in fs_inst() function in fs_inst 95 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size) in fs_inst() function in fs_inst 100 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst) in fs_inst() function in fs_inst 105 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() function in fs_inst 112 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() function in fs_inst 119 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_size, const fs_reg &dst, in fs_inst() function in fs_inst 126 fs_inst::fs_inst(enum opcode opcode, uint8_t exec_width, const fs_reg &dst, in fs_inst() function in fs_inst 132 fs_inst::fs_inst(const fs_inst &that) in fs_inst() function in fs_inst [all …]
|
D | brw_fs_register_coalesce.cpp | 48 is_nop_mov(const fs_inst *inst) in is_nop_mov() 69 is_coalesce_candidate(const fs_visitor *v, const fs_inst *inst) in is_coalesce_candidate() 99 const cfg_t *cfg, const fs_inst *inst, in can_coalesce_vars() 127 foreach_inst_in_block(fs_inst, scan_inst, block) { in can_coalesce_vars() 163 fs_inst *mov[MAX_VGRF_SIZE]; in register_coalesce() 167 foreach_block_and_inst(block, fs_inst, inst, cfg) { in register_coalesce() 255 foreach_block_and_inst(block, fs_inst, scan_inst, cfg) { in register_coalesce()
|
D | brw_schedule_instructions.cpp | 571 bool is_compressed(fs_inst *inst); 592 is_src_duplicate(fs_inst *inst, int src) in is_src_duplicate() 604 fs_inst *inst = (fs_inst *)be; in count_reads_remaining() 684 fs_inst *inst = (fs_inst *)be; in update_register_pressure() 710 fs_inst *inst = (fs_inst *)be; in get_register_pressure_benefit() 963 fs_instruction_scheduler::is_compressed(fs_inst *inst) in is_compressed() 991 fs_inst *inst = (fs_inst *)n->inst; in calculate_deps() 1120 fs_inst *inst = (fs_inst *)n->inst; in calculate_deps() 1433 fs_inst *inst = (fs_inst *)n->inst; in choose_instruction_to_schedule() 1479 fs_inst *chosen_inst = (fs_inst *)chosen->inst; in choose_instruction_to_schedule() [all …]
|
D | brw_fs_generator.cpp | 56 brw_reg_from_fs_reg(const struct gen_device_info *devinfo, fs_inst *inst, in brw_reg_from_fs_reg() 255 fs_generator::fire_fb_write(fs_inst *inst, in fire_fb_write() 311 fs_generator::generate_fb_write(fs_inst *inst, struct brw_reg payload) in generate_fb_write() 423 fs_generator::generate_fb_read(fs_inst *inst, struct brw_reg dst, in generate_fb_read() 439 fs_generator::generate_mov_indirect(fs_inst *inst, in generate_mov_indirect() 528 ((fs_inst *)inst->get_next())->mlen > 0) { in generate_mov_indirect() 544 fs_generator::generate_urb_read(fs_inst *inst, in generate_urb_read() 570 fs_generator::generate_urb_write(fs_inst *inst, struct brw_reg payload) in generate_urb_write() 612 fs_generator::generate_cs_terminate(fs_inst *inst, struct brw_reg payload) in generate_cs_terminate() 643 fs_generator::generate_barrier(fs_inst *inst, struct brw_reg src) in generate_barrier() [all …]
|
D | brw_fs_reg_allocate.cpp | 59 foreach_block_and_inst(block, fs_inst, inst, cfg) { in assign_regs_trivial() 329 foreach_block_and_inst(block, fs_inst, inst, cfg) { in calculate_payload_ranges() 475 foreach_block_and_inst(block, fs_inst, inst, v->cfg) { in get_used_mrfs() 589 foreach_block_and_inst(block, fs_inst, inst, cfg) { in assign_regs() 605 foreach_block_and_inst(block, fs_inst, inst, cfg) { in assign_regs() 644 foreach_block_and_inst(block, fs_inst, inst, cfg) { in assign_regs() 698 foreach_block_and_inst(block, fs_inst, inst, cfg) { in assign_regs() 772 fs_inst *unspill_inst = bld.emit(gen7_read ? in emit_unspill() 797 fs_inst *spill_inst = in emit_spill() 822 foreach_block_and_inst(block, fs_inst, inst, cfg) { in choose_spill_reg() [all …]
|
D | brw_fs_dead_code_eliminate.cpp | 41 can_eliminate(const fs_inst *inst, BITSET_WORD *flag_live) in can_eliminate() 53 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_live_variables.h | 117 void setup_one_read(struct block_data *bd, fs_inst *inst, int ip, 119 void setup_one_write(struct block_data *bd, fs_inst *inst, int ip,
|
D | brw_fs_combine_constants.cpp | 48 could_coissue(const struct gen_device_info *devinfo, const fs_inst *inst) in could_coissue() 68 must_promote_imm(const struct gen_device_info *devinfo, const fs_inst *inst) in must_promote_imm() 109 fs_inst *inst; 210 foreach_block_and_inst(block, fs_inst, inst, cfg) { in opt_combine_constants()
|
D | brw_fs_visitor.cpp | 49 fs_inst *inst = bld.emit(SHADER_OPCODE_TXF_MCS_LOGICAL, dest, srcs, in emit_mcs_fetch() 103 fs_inst *write; in emit_dummy_fs() 336 fs_inst *cmp; in emit_alpha_test() 358 fs_inst * 388 fs_inst *write = bld.emit(FS_OPCODE_FB_WRITE_LOGICAL, fs_reg(), in emit_single_fb_write() 406 fs_inst *inst = NULL; in emit_fb_writes() 724 fs_inst *inst = abld.emit(opcode, reg_undef, payload); in emit_urb_writes() 756 fs_inst *inst = bld.emit(SHADER_OPCODE_URB_WRITE_SIMD8, reg_undef, payload); in emit_urb_writes() 781 fs_inst *inst = bld.exec_all() in emit_cs_terminate()
|
D | brw_fs_lower_conversions.cpp | 31 supports_type_conversion(const fs_inst *inst) { in supports_type_conversion() 51 foreach_block_and_inst(block, fs_inst, inst, cfg) { in lower_conversions()
|
D | brw_fs_bank_conflicts.cpp | 514 foreach_block_and_inst(block, fs_inst, inst, v->cfg) { in shader_reg_partitioning() 543 foreach_block_and_inst(block, fs_inst, inst, v->cfg) { in shader_reg_constraints() 580 is_conflict_optimized_out(const gen_device_info *devinfo, const fs_inst *inst) in is_conflict_optimized_out() 620 foreach_block_and_inst(block, fs_inst, inst, v->cfg) { in shader_conflict_weight_matrix() 905 foreach_block_and_inst(block, fs_inst, inst, cfg) { in opt_bank_conflicts() 924 fs_visitor::bank_conflict_cycles(const fs_inst *inst) const in bank_conflict_cycles()
|
D | brw_fs_cmod_propagation.cpp | 57 foreach_inst_in_block_reverse_safe(fs_inst, inst, block) { in opt_cmod_propagation_local() 90 foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { in opt_cmod_propagation_local()
|
D | brw_fs_saturate_propagation.cpp | 51 foreach_inst_in_block_reverse(fs_inst, inst, block) { in opt_saturate_propagation_local() 66 foreach_inst_in_block_reverse_starting_from(fs_inst, scan_inst, inst) { in opt_saturate_propagation_local()
|
D | brw_fs_copy_propagation.cpp | 171 foreach_inst_in_block(fs_inst, inst, block) { in setup_initial_values() 312 can_take_stride(fs_inst *inst, unsigned arg, unsigned stride, in can_take_stride() 365 fs_visitor::try_copy_propagate(fs_inst *inst, int arg, acp_entry *entry) in try_copy_propagate() 522 fs_visitor::try_constant_propagate(fs_inst *inst, acp_entry *entry) in try_constant_propagate() 755 can_propagate_from(fs_inst *inst) in can_propagate_from() 778 foreach_inst_in_block(fs_inst, inst, block) { in opt_copy_propagation_local()
|
D | brw_fs_live_variables.cpp | 56 fs_live_variables::setup_one_read(struct block_data *bd, fs_inst *inst, in setup_one_read() 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()
|
D | brw_fs_lower_pack.cpp | 35 foreach_block_and_inst_safe(block, fs_inst, inst, cfg) { in lower_pack()
|
D | brw_fs_validate.cpp | 44 foreach_block_and_inst (block, fs_inst, inst, cfg) { in validate()
|
D | test_fs_cmod_propagation.cpp | 71 static fs_inst * 74 fs_inst *inst = (fs_inst *)block->start(); in instruction() 76 inst = (fs_inst *)inst->next; in instruction()
|
D | test_fs_saturate_propagation.cpp | 71 static fs_inst * 74 fs_inst *inst = (fs_inst *)block->start(); in instruction() 76 inst = (fs_inst *)inst->next; in instruction() 409 fs_inst *mad = bld.MAD(dst0, src2, src2, src2); in TEST_F()
|
D | brw_fs_nir.cpp | 371 fs_inst *inst = bld.MOV(bld.null_reg_d(), in nir_emit_if() 583 fs_inst *inst; in emit_find_msb_using_lzd() 640 fs_inst *inst; in nir_emit_alu() 1657 fs_visitor::emit_percomp(const fs_builder &bld, const fs_inst &inst, in emit_percomp() 1664 fs_inst *new_inst = new(mem_ctx) fs_inst(inst); in emit_percomp() 1723 static fs_inst * 1733 fs_inst *inst; in emit_pixel_interpolater_send() 1935 fs_inst *inst = abld.emit(opcode, reg_undef, payload); in emit_gs_control_data_bits() 2044 fs_inst *inst = in emit_gs_vertex() 2195 fs_inst *inst; in emit_gs_input_load() [all …]
|