Home
last modified time | relevance | path

Searched refs:fs_inst (Results 1 – 25 of 26) sorted by relevance

12

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs.h83 fs_inst *get_instruction_generating_reg(fs_inst *start,
84 fs_inst *end,
111 void convert_attr_sources_to_hw_regs(fs_inst *inst);
137 bool try_copy_propagate(fs_inst *inst, int arg, acp_entry *entry);
138 bool try_constant_propagate(fs_inst *inst, acp_entry *entry);
154 fs_inst *inst);
156 fs_inst *inst);
232 void emit_percomp(const brw::fs_builder &bld, const fs_inst &inst,
241 fs_inst *emit_single_fb_write(const brw::fs_builder &bld,
245 fs_inst *emit_non_coherent_fb_read(const brw::fs_builder &bld,
[all …]
Dbrw_ir_fs.h30 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 …]
Dbrw_fs_sel_peephole.cpp66 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()
79 foreach_inst_in_block(fs_inst, inst, else_block) { in count_movs_from_if()
133 fs_inst *if_inst = (fs_inst *)block->end(); in opt_peephole_sel()
137 fs_inst *else_mov[MAX_MOVS] = { NULL }; in opt_peephole_sel()
138 fs_inst *then_mov[MAX_MOVS] = { NULL }; in opt_peephole_sel()
Dtest_fs_copy_propagation.cpp71 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()
Dbrw_fs.cpp48 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 …]
Dbrw_fs_cse.cpp40 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()
Dbrw_fs_register_coalesce.cpp48 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()
Dbrw_fs_generator.cpp57 brw_reg_from_fs_reg(fs_inst *inst, fs_reg *reg, unsigned gen, bool compressed) in brw_reg_from_fs_reg()
194 fs_generator::fire_fb_write(fs_inst *inst, in fire_fb_write()
247 fs_generator::generate_fb_write(fs_inst *inst, struct brw_reg payload) in generate_fb_write()
356 fs_generator::generate_fb_read(fs_inst *inst, struct brw_reg dst, in generate_fb_read()
372 fs_generator::generate_mov_indirect(fs_inst *inst, in generate_mov_indirect()
435 ((fs_inst *)inst->get_next())->mlen > 0) { in generate_mov_indirect()
449 fs_generator::generate_urb_read(fs_inst *inst, in generate_urb_read()
475 fs_generator::generate_urb_write(fs_inst *inst, struct brw_reg payload) in generate_urb_write()
504 fs_generator::generate_cs_terminate(fs_inst *inst, struct brw_reg payload) in generate_cs_terminate()
535 fs_generator::generate_barrier(fs_inst *inst, struct brw_reg src) in generate_barrier()
[all …]
Dbrw_schedule_instructions.cpp573 bool is_compressed(fs_inst *inst);
594 is_src_duplicate(fs_inst *inst, int src) in is_src_duplicate()
606 fs_inst *inst = (fs_inst *)be; in count_reads_remaining()
686 fs_inst *inst = (fs_inst *)be; in update_register_pressure()
712 fs_inst *inst = (fs_inst *)be; in get_register_pressure_benefit()
960 fs_instruction_scheduler::is_compressed(fs_inst *inst) in is_compressed()
966 is_scheduling_barrier(const fs_inst *inst) in is_scheduling_barrier()
996 fs_inst *inst = (fs_inst *)n->inst; in calculate_deps()
1125 fs_inst *inst = (fs_inst *)n->inst; in calculate_deps()
1442 fs_inst *inst = (fs_inst *)n->inst; in choose_instruction_to_schedule()
[all …]
Dbrw_fs_reg_allocate.cpp59 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 …]
Dbrw_fs_dead_code_eliminate.cpp41 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()
Dbrw_fs_live_variables.h102 void setup_one_read(struct block_data *bd, fs_inst *inst, int ip,
104 void setup_one_write(struct block_data *bd, fs_inst *inst, int ip,
Dbrw_fs_combine_constants.cpp48 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()
Dbrw_fs_visitor.cpp93 fs_inst *inst = bld.emit(SHADER_OPCODE_TXF_MCS_LOGICAL, dest, srcs, in emit_mcs_fetch()
147 fs_inst *write; in emit_dummy_fs()
380 fs_inst *cmp; in emit_alpha_test()
402 fs_inst *
432 fs_inst *write = bld.emit(FS_OPCODE_FB_WRITE_LOGICAL, fs_reg(), in emit_single_fb_write()
450 fs_inst *inst = NULL; in emit_fb_writes()
627 fs_inst *inst = bld.emit(SHADER_OPCODE_URB_WRITE_SIMD8, reg_undef, payload); in emit_urb_writes()
788 fs_inst *inst = abld.emit(opcode, reg_undef, payload); in emit_urb_writes()
816 fs_inst *inst = bld.exec_all() in emit_cs_terminate()
Dbrw_fs_cmod_propagation.cpp57 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()
Dbrw_fs_saturate_propagation.cpp51 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()
Dbrw_fs_live_variables.cpp56 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()
113 foreach_inst_in_block(fs_inst, inst, block) { in setup_def_use()
Dbrw_fs_copy_propagation.cpp158 foreach_inst_in_block(fs_inst, inst, block) { in setup_initial_values()
283 can_take_stride(fs_inst *inst, unsigned arg, unsigned stride, in can_take_stride()
336 fs_visitor::try_copy_propagate(fs_inst *inst, int arg, acp_entry *entry) in try_copy_propagate()
493 fs_visitor::try_constant_propagate(fs_inst *inst, acp_entry *entry) in try_constant_propagate()
722 can_propagate_from(fs_inst *inst) in can_propagate_from()
745 foreach_inst_in_block(fs_inst, inst, block) { in opt_copy_propagation_local()
Dbrw_fs_lower_pack.cpp35 foreach_block_and_inst_safe(block, fs_inst, inst, cfg) { in lower_pack()
Dbrw_fs_validate.cpp44 foreach_block_and_inst (block, fs_inst, inst, cfg) { in validate()
Dbrw_fs_lower_d2x.cpp35 foreach_block_and_inst_safe(block, fs_inst, inst, cfg) { in lower_d2x()
Dtest_fs_cmod_propagation.cpp71 static fs_inst *
74 fs_inst *inst = (fs_inst *)block->start(); in instruction()
76 inst = (fs_inst *)inst->next; in instruction()
Dbrw_fs_nir.cpp297 fs_inst *inst = bld.MOV(bld.null_reg_d(), in nir_emit_if()
509 fs_inst *inst; in emit_find_msb_using_lzd()
554 fs_inst *inst; in nir_emit_alu()
1500 fs_visitor::emit_percomp(const fs_builder &bld, const fs_inst &inst, in emit_percomp()
1507 fs_inst *new_inst = new(mem_ctx) fs_inst(inst); in emit_percomp()
1566 static fs_inst *
1576 fs_inst *inst; in emit_pixel_interpolater_send()
1778 fs_inst *inst = abld.emit(opcode, reg_undef, payload); in emit_gs_control_data_bits()
1887 fs_inst *inst = in emit_gs_vertex()
2048 fs_inst *inst; in emit_gs_input_load()
[all …]
Dtest_fs_saturate_propagation.cpp71 static fs_inst *
74 fs_inst *inst = (fs_inst *)block->start(); in instruction()
76 inst = (fs_inst *)inst->next; in instruction()
Dbrw_fs_builder.h50 typedef fs_inst instruction;
72 fs_builder(backend_shader *shader, bblock_t *block, fs_inst *inst) : in fs_builder()

12