Home
last modified time | relevance | path

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

/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs.h127 class fs_inst : public exec_node {
143 fs_inst();
144 fs_inst(enum opcode opcode);
145 fs_inst(enum opcode opcode, fs_reg dst);
146 fs_inst(enum opcode opcode, fs_reg dst, fs_reg src0);
147 fs_inst(enum opcode opcode, fs_reg dst, fs_reg src0, fs_reg src1);
148 fs_inst(enum opcode opcode, fs_reg dst,
151 bool equals(fs_inst *inst);
217 fs_inst *emit(fs_inst inst);
219 fs_inst *emit(enum opcode opcode);
[all …]
Dbrw_fs.cpp54 fs_inst::init() in init()
66 fs_inst::fs_inst() in fs_inst() function in fs_inst
71 fs_inst::fs_inst(enum opcode opcode) in fs_inst() function in fs_inst
77 fs_inst::fs_inst(enum opcode opcode, fs_reg dst) in fs_inst() function in fs_inst
87 fs_inst::fs_inst(enum opcode opcode, fs_reg dst, fs_reg src0) in fs_inst() function in fs_inst
100 fs_inst::fs_inst(enum opcode opcode, fs_reg dst, fs_reg src0, fs_reg src1) in fs_inst() function in fs_inst
116 fs_inst::fs_inst(enum opcode opcode, fs_reg dst, in fs_inst() function in fs_inst
137 fs_inst::equals(fs_inst *inst) in equals()
158 fs_inst::regs_written() in regs_written()
171 fs_inst::overwrites_reg(const fs_reg &reg) in overwrites_reg()
[all …]
Dbrw_fs_cfg.cpp85 entry->start = (fs_inst *)v->instructions.get_head(); in fs_cfg()
88 fs_inst *inst = (fs_inst *)node; in fs_cfg()
115 next->start = (fs_inst *)inst->next; in fs_cfg()
125 next->start = (fs_inst *)inst->next; in fs_cfg()
133 cur_endif->start = (fs_inst *)inst->next; in fs_cfg()
162 next->start = (fs_inst *)inst->next; in fs_cfg()
173 next->start = (fs_inst *)inst->next; in fs_cfg()
184 next->start = (fs_inst *)inst->next; in fs_cfg()
192 cur_while->start = (fs_inst *)inst->next; in fs_cfg()
Dbrw_fs_cse.cpp38 fs_inst *generator;
46 is_expression(const fs_inst *const inst) in is_expression()
90 for (fs_inst *inst = block->start; in opt_cse_local()
92 inst = (fs_inst *) inst->next) { in opt_cse_local()
131 fs_inst *copy = new(ralloc_parent(inst)) in opt_cse_local()
132 fs_inst(BRW_OPCODE_MOV, entry->generator->dst, entry->tmp); in opt_cse_local()
138 fs_inst *copy = new(ralloc_parent(inst)) in opt_cse_local()
139 fs_inst(BRW_OPCODE_MOV, inst->dst, entry->tmp); in opt_cse_local()
Dbrw_fs_schedule_instructions.cpp58 schedule_node(fs_inst *inst) in schedule_node()
103 fs_inst *inst;
132 void add_inst(fs_inst *inst);
134 void schedule_instructions(fs_inst *next_block_header);
136 bool is_compressed(fs_inst *inst);
147 instruction_scheduler::add_inst(fs_inst *inst) in add_inst()
240 instruction_scheduler::is_compressed(fs_inst *inst) in is_compressed()
275 fs_inst *inst = n->inst; in calculate_deps()
359 fs_inst *inst = n->inst; in calculate_deps()
431 instruction_scheduler::schedule_instructions(fs_inst *next_block_header) in schedule_instructions()
[all …]
Dbrw_fs_reg_allocate.cpp59 fs_inst *inst = (fs_inst *)node; in assign_regs_trivial()
269 fs_inst *inst = (fs_inst *)node; in assign_regs()
283 fs_visitor::emit_unspill(fs_inst *inst, fs_reg dst, uint32_t spill_offset) in emit_unspill()
285 fs_inst *unspill_inst = new(mem_ctx) fs_inst(FS_OPCODE_UNSPILL, dst); in emit_unspill()
315 fs_inst *inst = (fs_inst *)node; in choose_spill_reg()
389 fs_inst *inst = (fs_inst *)node; in spill_reg()
427 fs_inst *spill_inst = new(mem_ctx) fs_inst(FS_OPCODE_SPILL, in spill_reg()
Dbrw_fs_visitor.cpp192 fs_inst *pre_inst = (fs_inst *) this->instructions.get_tail(); in try_emit_saturate()
197 fs_inst *last_inst = (fs_inst *) this->instructions.get_tail(); in try_emit_saturate()
202 fs_inst *modify = get_instruction_generating_reg(pre_inst, last_inst, src); in try_emit_saturate()
205 fs_inst *inst = emit(BRW_OPCODE_MOV, this->result, src); in try_emit_saturate()
258 fs_inst *inst; in visit()
590 fs_inst *pull = emit(fs_inst(FS_OPCODE_PULL_CONSTANT_LOAD, in visit()
603 fs_inst *inst = emit(fs_inst(BRW_OPCODE_CMP, result, in visit()
607 emit(fs_inst(BRW_OPCODE_MOV, result, packed_consts)); in visit()
637 fs_inst *inst = emit(BRW_OPCODE_MOV, l, r); in emit_assignment_writes()
677 fs_inst *pre_rhs_inst, in try_rewrite_rhs_to_dst()
[all …]
Dbrw_fs_emit.cpp41 fs_visitor::generate_fb_write(fs_inst *inst) in generate_fb_write()
150 fs_visitor::generate_linterp(fs_inst *inst, in generate_linterp()
168 fs_visitor::generate_math1_gen7(fs_inst *inst, in generate_math1_gen7()
181 fs_visitor::generate_math2_gen7(fs_inst *inst, in generate_math2_gen7()
191 fs_visitor::generate_math1_gen6(fs_inst *inst, in generate_math1_gen6()
218 fs_visitor::generate_math2_gen6(fs_inst *inst, in generate_math2_gen6()
238 fs_visitor::generate_math_gen4(fs_inst *inst, in generate_math_gen4()
266 fs_visitor::generate_tex(fs_inst *inst, struct brw_reg dst, struct brw_reg src) in generate_tex()
455 fs_visitor::generate_ddx(fs_inst *inst, struct brw_reg dst, struct brw_reg src) in generate_ddx()
477 fs_visitor::generate_ddy(fs_inst *inst, struct brw_reg dst, struct brw_reg src, in generate_ddy()
[all …]
Dbrw_fs_live_variables.cpp61 for (fs_inst *inst = block->start; in setup_def_use()
63 inst = (fs_inst *)inst->next) { in setup_def_use()
186 fs_inst *inst = (fs_inst *)node; in calculate_live_intervals()
Dbrw_fs_copy_propagation.cpp35 fs_visitor::try_copy_propagate(fs_inst *inst, int arg, acp_entry *entry) in try_copy_propagate()
85 for (fs_inst *inst = block->start; in opt_copy_propagate_local()
87 inst = (fs_inst *)inst->next) { in opt_copy_propagate_local()
Dbrw_fs_cfg.h58 fs_inst *start;
59 fs_inst *end;