Home
last modified time | relevance | path

Searched refs:dst_reg (Results 1 - 25 of 62) sorted by relevance

123

/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4.h77 dst_reg dst_null_f() in dst_null_f()
79 return dst_reg(brw_null_reg()); in dst_null_f()
82 dst_reg dst_null_df() in dst_null_df()
84 return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_DF)); in dst_null_df()
87 dst_reg dst_null_d() in dst_null_d()
89 return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); in dst_null_d()
92 dst_reg dst_null_ud() in dst_null_ud()
94 return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_UD)); in dst_null_ud()
121 dst_reg output_reg[VARYING_SLOT_TESS_MAX][4];
170 vec4_instruction *emit(enum opcode opcode, const dst_reg
[all...]
H A Dgfx6_gs_visitor.cpp70 emit(MOV(dst_reg(this->vertex_output_offset), brw_imm_ud(0u))); in emit_prolog()
75 vec4_instruction *inst = emit(MOV(dst_reg(MRF, 1), in emit_prolog()
92 emit(MOV(dst_reg(this->first_vertex), brw_imm_ud(URB_WRITE_PRIM_START))); in emit_prolog()
98 emit(MOV(dst_reg(this->prim_count), brw_imm_ud(0u))); in emit_prolog()
109 emit(MOV(dst_reg(this->max_svbi), in emit_prolog()
134 emit(GS_OPCODE_SET_PRIMITIVE_ID, dst_reg(this->primitive_id)); in emit_prolog()
147 dst_reg dst(this->vertex_output); in gs_emit_vertex()
163 dst_reg tmp = dst_reg(src_reg(this, glsl_type::uvec4_type)); in gs_emit_vertex()
165 dst_reg ds in gs_emit_vertex()
[all...]
H A Dtest_vec4_register_coalesce.cpp60 virtual dst_reg *make_reg_for_system_value(int /* location */) in make_reg_for_system_value()
141 dst_reg temp = dst_reg(v, glsl_type::float_type); in TEST_F()
142 dst_reg init; in TEST_F()
144 dst_reg m0 = dst_reg(MRF, 0); in TEST_F()
160 dst_reg temp = dst_reg(v, glsl_type::vec4_type); in TEST_F()
161 dst_reg init; in TEST_F()
163 dst_reg m in TEST_F()
[all...]
H A Dbrw_vec4_visitor.cpp31 vec4_instruction::vec4_instruction(enum opcode opcode, const dst_reg &dst, in vec4_instruction()
89 vec4_visitor::emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0, in emit()
97 vec4_visitor::emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0, in emit()
104 vec4_visitor::emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0) in emit()
110 vec4_visitor::emit(enum opcode opcode, const dst_reg &dst) in emit()
118 return emit(new(mem_ctx) vec4_instruction(opcode, dst_reg())); in emit()
123 vec4_visitor::op(const dst_reg &dst, const src_reg &src0) \
130 vec4_visitor::op(const dst_reg &dst, const src_reg &src0, \
139 vec4_visitor::op(const dst_reg &dst, const src_reg &src0, \
150 vec4_visitor::op(const dst_reg
702 dst_reg::dst_reg(class vec4_visitor *v, const struct glsl_type *type) dst_reg() function in brw::dst_reg
[all...]
H A Dbrw_fs_builder.h46 typedef fs_reg dst_reg; typedef in brw::fs_builder
198 dst_reg
204 return dst_reg(VGRF, shader->alloc.allocate( in vgrf()
215 dst_reg
218 return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_F)); in null_reg_f()
221 dst_reg
224 return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_DF)); in null_reg_df()
230 dst_reg
233 return dst_reg(retype(brw_null_reg(), BRW_REGISTER_TYPE_D)); in null_reg_d()
239 dst_reg
[all...]
H A Dtest_vec4_cmod_propagation.cpp62 virtual dst_reg *make_reg_for_system_value(int /* location */) in make_reg_for_system_value()
158 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F()
162 dst_reg dest_null = bld.null_reg_f(); in TEST_F()
194 dst_reg dest = dst_reg(v, glsl_type::float_type); in TEST_F()
198 dst_reg dest_null = bld.null_reg_f(); in TEST_F()
231 dst_reg dest = dst_reg(v, glsl_type::int_type); in TEST_F()
267 dst_reg des in TEST_F()
[all...]
H A Dbrw_vec4_builder.h46 typedef brw::dst_reg dst_reg; typedef in brw::vec4_builder
171 dst_reg
177 return retype(dst_reg(VGRF, shader->alloc.allocate( in vgrf()
187 dst_reg
190 return dst_reg(retype(brw_null_vec(dispatch_width()), in null_reg_f()
197 dst_reg
200 return dst_reg(retype(brw_null_vec(dispatch_width()), in null_reg_d()
207 dst_reg
210 return dst_reg(retyp in null_reg_ud()
[all...]
H A Dtest_vec4_copy_propagation.cpp57 virtual dst_reg *make_reg_for_system_value(int /* location */) in make_reg_for_system_value()
137 dst_reg a = dst_reg(v, glsl_type::vec4_type); in TEST_F()
138 dst_reg b = dst_reg(v, glsl_type::vec4_type); in TEST_F()
139 dst_reg c = dst_reg(v, glsl_type::vec4_type); in TEST_F()
166 dst_reg a = dst_reg(v, glsl_type::vec4_type); in TEST_F()
167 dst_reg in TEST_F()
[all...]
H A Dbrw_ir_vec4.h32 class dst_reg;
51 explicit src_reg(const dst_reg &reg);
150 class dst_reg : public backend_reg class
153 DECLARE_RALLOC_CXX_OPERATORS(dst_reg)
157 dst_reg();
158 dst_reg(enum brw_reg_file file, int nr);
159 dst_reg(enum brw_reg_file file, int nr, const glsl_type *type,
161 dst_reg(enum brw_reg_file file, int nr, brw_reg_type type,
163 dst_reg(struct ::brw_reg reg);
164 dst_reg(clas
[all...]
H A Dbrw_vec4_nir.cpp53 nir_locals = ralloc_array(mem_ctx, dst_reg, impl->reg_alloc); in nir_emit_impl()
55 nir_locals[i] = dst_reg(); in nir_emit_impl()
62 nir_locals[reg->index] = dst_reg(VGRF, alloc.allocate(num_regs)); in nir_emit_impl()
68 nir_ssa_values = ralloc_array(mem_ctx, dst_reg, impl->ssa_alloc); in nir_emit_impl()
172 static dst_reg
176 dst_reg reg; in dst_reg_for_nir_reg()
191 dst_reg
195 dst_reg dst = in get_nir_dest()
196 dst_reg(VGRF, alloc.allocate(DIV_ROUND_UP(dest.ssa.bit_size, 32))); in get_nir_dest()
207 dst_reg
[all...]
H A Dbrw_vec4_gs_visitor.cpp168 dst_reg r0(retype(brw_vec4_grf(0, 0), BRW_REGISTER_TYPE_UD)); in emit_prolog()
177 inst = emit(MOV(dst_reg(this->vertex_count), brw_imm_ud(0u))); in emit_prolog()
192 inst = emit(MOV(dst_reg(this->control_data_bits), brw_imm_ud(0u))); in emit_prolog()
219 dst_reg mrf_reg(MRF, base_mrf); in emit_thread_end()
241 dst_reg mrf_reg(MRF, mrf); in emit_urb_write_header()
321 emit(ADD(dst_reg(prev_count), this->vertex_count, in emit_control_data_bits()
325 emit(SHR(dst_reg(dword_index), prev_count, in emit_control_data_bits()
333 dst_reg mrf_reg(MRF, base_mrf); in emit_control_data_bits()
343 emit(SHR(dst_reg(per_slot_offset), dword_index, brw_imm_ud(2u))); in emit_control_data_bits()
357 inst = emit(AND(dst_reg(channe in emit_control_data_bits()
[all...]
H A Dbrw_vec4_tcs.cpp78 emit(TCS_OPCODE_GET_INSTANCE_ID, dst_reg(invocation_id)); in emit_prolog()
116 dst_reg header = dst_reg(this, glsl_type::uvec4_type); in emit_thread_end()
138 dst_reg header(this, glsl_type::uvec4_type); in emit_thread_end()
152 vec4_tcs_visitor::emit_input_urb_read(const dst_reg &dst, in emit_input_urb_read()
159 dst_reg temp(this, glsl_type::ivec4_type); in emit_input_urb_read()
163 dst_reg header = dst_reg(this, glsl_type::uvec4_type); in emit_input_urb_read()
188 vec4_tcs_visitor::emit_output_urb_read(const dst_reg &dst, in emit_output_urb_read()
196 dst_reg heade in emit_output_urb_read()
[all...]
H A Dtest_vec4_dead_code_eliminate.cpp57 virtual dst_reg *make_reg_for_system_value(int /* location */) in make_reg_for_system_value()
151 bld.CMP(dst_reg(r4), r2, r1, BRW_CONDITIONAL_L); in TEST_F()
157 bld.MOV(dst_reg(r5), r4); in TEST_F()
163 bld.SEL(dst_reg(r6), r3, r6); in TEST_F()
170 v->emit(v->SCRATCH_WRITE(dst_reg(r4), r6, r5)); in TEST_F()
H A Dbrw_vec4_tes.cpp87 emit(TES_OPCODE_CREATE_INPUT_READ_HEADER, dst_reg(input_read_header)); in emit_prolog()
166 dst_reg(clamped_indirect_offset), in nir_emit_intrinsic()
171 emit(TES_OPCODE_ADD_INDIRECT_URB_OFFSET, dst_reg(header), in nir_emit_intrinsic()
191 dst_reg temp(this, glsl_type::ivec4_type); in nir_emit_intrinsic()
203 dst_reg dst = get_nir_dest(instr->dest, BRW_REGISTER_TYPE_D); in nir_emit_intrinsic()
H A Dbrw_vec4_surface_builder.cpp41 const dst_reg dst = bld.vgrf(src.type, in emit_stride()
70 const dst_reg tmp = bld.vgrf(src.type); in emit_insert()
105 const dst_reg payload = bld.vgrf(BRW_REGISTER_TYPE_UD, sz); in emit_send()
126 const dst_reg dst = bld.vgrf(BRW_REGISTER_TYPE_UD, ret_sz); in emit_send()
193 const dst_reg srcs = bld.vgrf(BRW_REGISTER_TYPE_UD); in emit_untyped_atomic()
H A Dbrw_fs_register_coalesce.cpp197 unsigned src_reg = ~0u, dst_reg = ~0u; in register_coalesce() local
222 dst_reg = inst->dst.nr; in register_coalesce()
225 if (dst_reg != inst->dst.nr) in register_coalesce()
264 dst_var[i] = live.var_from_vgrf[dst_reg] + dst_reg_offset[i]; in register_coalesce()
306 scan_inst->dst.nr = dst_reg; in register_coalesce()
314 scan_inst->src[j].nr = dst_reg; in register_coalesce()
H A Dbrw_vec4.cpp76 src_reg::src_reg(const dst_reg &reg) : in src_reg()
84 dst_reg::init() in init()
92 dst_reg::dst_reg() in dst_reg() function in brw::dst_reg
97 dst_reg::dst_reg(enum brw_reg_file file, int nr) in dst_reg() function in brw::dst_reg
105 dst_reg::dst_reg(enum brw_reg_file file, int nr, const glsl_type *type, in dst_reg() function in brw::dst_reg
116 dst_reg::dst_reg(enu function in brw::dst_reg
127 dst_reg::dst_reg(struct ::brw_reg reg) : dst_reg() function in brw::dst_reg
134 dst_reg::dst_reg(const src_reg &reg) : dst_reg() function in brw::dst_reg
[all...]
H A Dbrw_vec4_tcs.h57 void emit_input_urb_read(const dst_reg &dst,
62 void emit_output_urb_read(const dst_reg &dst,
H A Dbrw_vec4_dead_code_eliminate.cpp108 inst->dst = dst_reg(retype(brw_null_reg(), inst->dst.type)); in dead_code_eliminate()
118 inst->dst = dst_reg(retype(brw_null_reg(), inst->dst.type)); in dead_code_eliminate()
H A Dbrw_vec4_vs.h47 virtual void emit_urb_slot(dst_reg reg, int varying);
/third_party/libbpf/include/linux/
H A Dfilter.h11 .dst_reg = DST, \
19 .dst_reg = DST, \
27 .dst_reg = DST, \
35 .dst_reg = DST, \
43 .dst_reg = 0, \
51 .dst_reg = 0, \
59 .dst_reg = DST, \
67 .dst_reg = DST, \
75 .dst_reg = DST, \
83 .dst_reg
[all...]
/third_party/ltp/include/lapi/
H A Dbpf.h76 uint8_t dst_reg:4; /* dest register */ member
483 .dst_reg = DST, \
491 .dst_reg = DST, \
499 .dst_reg = DST, \
507 .dst_reg = DST, \
515 .dst_reg = DST, \
523 .dst_reg = DST, \
534 .dst_reg = DST, \
540 .dst_reg = 0, \
552 .dst_reg
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_parser.y867 } dst_reg {
893 cat1_swz: T_OP_SWZ '.' T_CAT1_TYPE_TYPE { parse_type_type(new_instr(OPC_SWZ), $3); } dst_reg ',' dst_reg ',' src_reg ',' src_reg
895 cat1_gat: T_OP_GAT '.' T_CAT1_TYPE_TYPE { parse_type_type(new_instr(OPC_GAT), $3); } dst_reg ',' src_reg ',' src_reg ',' src_reg ',' src_reg
897 cat1_sct: T_OP_SCT '.' T_CAT1_TYPE_TYPE { parse_type_type(new_instr(OPC_SCT), $3); } dst_reg ',' dst_reg ',' dst_reg ',' dst_reg ',' src_reg
906 | cat1_opc dst_reg ',' cat1_src
966 cat2_instr: cat2_opc_1src dst_reg ',' src_reg_or_const_or_rel_or_im
1305 dst_reg: dst { $1->flags |= IR3_REG_R; } global() label
[all...]
/third_party/elfutils/libcpu/
H A Dbpf_disasm.c76 /* Note that the dst_reg and src_reg fields are 4-bit bitfields. in bswap_bpf_insn()
81 int t = p->dst_reg; in bswap_bpf_insn()
82 p->dst_reg = p->src_reg; in bswap_bpf_insn()
151 i.dst_reg, imm64, i.src_reg); in bpf_disasm()
466 len = snprintf(buf, sizeof(buf), code_fmt, i.dst_reg, i.imm); in bpf_disasm()
472 len = snprintf(buf, sizeof(buf), code_fmt, i.dst_reg, i.src_reg); in bpf_disasm()
475 len = snprintf(buf, sizeof(buf), code_fmt, i.dst_reg, i.imm, jmp); in bpf_disasm()
479 i.dst_reg, i.src_reg, jmp); in bpf_disasm()
482 len = snprintf(buf, sizeof(buf), code_fmt, i.dst_reg, i.imm, i.off); in bpf_disasm()
486 i.dst_reg, in bpf_disasm()
[all...]
/third_party/mesa3d/src/gallium/drivers/i915/
H A Di915_fpc_optimize.c261 struct i915_full_dst_register *dst_reg, int pos) in liveness_mark_written()
264 if (dst_reg->Register.File == TGSI_FILE_TEMPORARY) { in liveness_mark_written()
265 dst_reg_index = dst_reg->Register.Index; in liveness_mark_written()
291 struct i915_full_dst_register *dst_reg; in liveness_analysis() local
314 dst_reg = &current->FullInstruction.Dst[0]; in liveness_analysis()
315 liveness_mark_written(ctx, dst_reg, i); in liveness_analysis()
358 struct i915_full_dst_register *dst_reg, int from) in unused_from()
360 int dst_reg_index = dst_reg->Register.Index; in unused_from()
260 liveness_mark_written(struct i915_optimize_context *ctx, struct i915_full_dst_register *dst_reg, int pos) liveness_mark_written() argument
357 unused_from(struct i915_optimize_context *ctx, struct i915_full_dst_register *dst_reg, int from) unused_from() argument

Completed in 16 milliseconds

123