Home
last modified time | relevance | path

Searched refs:src_reg (Results 1 - 25 of 162) sorted by relevance

1234567

/third_party/mesa3d/src/intel/compiler/
H A Dbrw_vec4.h126 src_reg shader_start_time;
172 const src_reg &src0);
174 const src_reg &src0, const src_reg &src1);
176 const src_reg &src0, const src_reg &src1,
177 const src_reg &src2);
183 #define EMIT1(op) vec4_instruction *op(const dst_reg &, const src_reg &);
184 #define EMIT2(op) vec4_instruction *op(const dst_reg &, const src_reg &, const src_reg
[all...]
H A Dtest_vec4_cmod_propagation.cpp159 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
160 src_reg src1 = src_reg(v, glsl_type::float_type); in TEST_F()
161 src_reg zero(brw_imm_f(0.0f)); in TEST_F()
166 bld.CMP(dest_null, src_reg(dest), zero, BRW_CONDITIONAL_GE); in TEST_F()
195 src_reg src0 = src_reg(v, glsl_type::float_type); in TEST_F()
196 src_reg src1 = src_reg( in TEST_F()
[all...]
H A Dbrw_vec4_surface_builder.cpp34 static src_reg
35 emit_stride(const vec4_builder &bld, const src_reg &src, unsigned size, in emit_stride()
50 return src_reg(dst); in emit_stride()
60 static src_reg
61 emit_insert(const vec4_builder &bld, const src_reg &src, in emit_insert()
65 return src_reg(); in emit_insert()
76 return emit_stride(bld, src_reg(tmp), n, has_simd4x2 ? 1 : 4, 1); in emit_insert()
91 src_reg
93 const src_reg &header, in emit_send()
94 const src_reg in emit_send()
[all...]
H A Dbrw_vec4_visitor.cpp32 const src_reg &src0, const src_reg &src1, in vec4_instruction()
33 const src_reg &src2) in vec4_instruction()
89 vec4_visitor::emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0, in emit()
90 const src_reg &src1, const src_reg &src2) in emit()
97 vec4_visitor::emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0, in emit()
98 const src_reg &src1) in emit()
104 vec4_visitor::emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0) in emit()
123 vec4_visitor::op(const dst_reg &dst, const src_reg
672 src_reg::src_reg(class vec4_visitor *v, const struct glsl_type *type) src_reg() function in brw::src_reg
688 src_reg::src_reg(class vec4_visitor *v, const struct glsl_type *type, int size) src_reg() function in brw::src_reg
[all...]
H A Dbrw_vec4_surface_builder.h32 src_reg
34 const src_reg &surface, const src_reg &addr,
39 emit_untyped_write(const vec4_builder &bld, const src_reg &surface,
40 const src_reg &addr, const src_reg &src,
44 src_reg
46 const src_reg &surface, const src_reg &addr,
47 const src_reg
[all...]
H A Dbrw_vec4_builder.h43 typedef brw::src_reg src_reg; typedef in brw::vec4_builder
245 emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0) const in emit()
268 emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0, in emit()
269 const src_reg &src1) const in emit()
289 emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0, in emit()
290 const src_reg &src1, const src_reg &src2) const in emit()
335 emit_minmax(const dst_reg &dst, const src_reg &src0, in emit_minmax()
336 const src_reg in emit_minmax()
[all...]
H A Dgfx6_gs_visitor.cpp65 this->vertex_output = src_reg(this, in emit_prolog()
69 this->vertex_output_offset = src_reg(this, glsl_type::uint_type); in emit_prolog()
83 this->temp = src_reg(this, glsl_type::uint_type); in emit_prolog()
91 this->first_vertex = src_reg(this, glsl_type::uint_type); in emit_prolog()
97 this->prim_count = src_reg(this, glsl_type::uint_type); in emit_prolog()
102 this->destination_indices = src_reg(this, glsl_type::uvec4_type); in emit_prolog()
104 this->sol_prim_written = src_reg(this, glsl_type::uint_type); in emit_prolog()
106 this->svbi = src_reg(this, glsl_type::uvec4_type); in emit_prolog()
108 this->max_svbi = src_reg(this, glsl_type::uvec4_type); in emit_prolog()
110 src_reg(retyp in emit_prolog()
[all...]
H A Dbrw_fs_builder.h43 typedef fs_reg src_reg; typedef in brw::fs_builder
276 emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0) const in emit()
298 emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0, in emit()
299 const src_reg &src1) const in emit()
320 emit(enum opcode opcode, const dst_reg &dst, const src_reg &src0, in emit()
321 const src_reg &src1, const src_reg &src2) const in emit()
344 emit(enum opcode opcode, const dst_reg &dst, const src_reg srcs[], in emit()
389 emit_minmax(const dst_reg &dst, const src_reg &src0, in emit_minmax()
390 const src_reg in emit_minmax()
[all...]
H A Dtest_vec4_register_coalesce.cpp140 src_reg something = src_reg(v, glsl_type::float_type); in TEST_F()
149 v->emit(v->MOV(m0, src_reg(temp))); in TEST_F()
159 src_reg something = src_reg(v, glsl_type::float_type); in TEST_F()
171 src_reg src = src_reg(temp); in TEST_F()
185 src_reg some_src_1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
186 src_reg some_src_ in TEST_F()
[all...]
H A Dgfx6_gs_visitor.h68 src_reg vertex_output;
69 src_reg vertex_output_offset;
70 src_reg temp;
71 src_reg first_vertex;
72 src_reg prim_count;
73 src_reg primitive_id;
76 src_reg sol_prim_written;
77 src_reg svbi;
78 src_reg max_svbi;
79 src_reg destination_indice
[all...]
H A Dbrw_ir_vec4.h34 class src_reg : public backend_reg class
37 DECLARE_RALLOC_CXX_OPERATORS(src_reg)
41 src_reg(enum brw_reg_file file, int nr, const glsl_type *type);
42 src_reg();
43 src_reg(struct ::brw_reg reg);
45 bool equals(const src_reg &r) const;
46 bool negative_equals(const src_reg &r) const;
48 src_reg(class vec4_visitor *v, const struct glsl_type *type);
49 src_reg(class vec4_visitor *v, const struct glsl_type *type, int size);
51 explicit src_reg(cons
[all...]
H A Dbrw_vec4_tes.cpp86 input_read_header = src_reg(this, glsl_type::uvec4_type); in emit_prolog()
123 src_reg(brw_vec8_grf(1, 0)))); in nir_emit_intrinsic()
128 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), in nir_emit_intrinsic()
132 swizzle(src_reg(ATTR, 1, glsl_type::vec4_type), in nir_emit_intrinsic()
139 swizzle(src_reg(ATTR, 0, glsl_type::vec4_type), in nir_emit_intrinsic()
143 src_reg(ATTR, 1, glsl_type::float_type))); in nir_emit_intrinsic()
154 src_reg indirect_offset = get_indirect_offset(instr); in nir_emit_intrinsic()
156 src_reg header = input_read_header; in nir_emit_intrinsic()
160 src_reg clamped_indirect_offset = src_reg(thi in nir_emit_intrinsic()
[all...]
H A Dbrw_vec4_nir.cpp101 src_reg condition = get_nir_src(if_stmt->condition, BRW_REGISTER_TYPE_D, 1); in nir_emit_if()
184 new(v->mem_ctx) src_reg(v->get_nir_src(*indirect, in dst_reg_for_nir_reg()
219 src_reg
236 src_reg reg_as_src = src_reg(reg); in get_nir_src()
241 src_reg
249 src_reg
256 src_reg
261 return nir_src_is_const(src) ? src_reg(brw_imm_d(nir_src_as_int(src))) : in get_nir_src_imm()
265 src_reg
[all...]
H A Dtest_vec4_dead_code_eliminate.cpp137 src_reg r1 = src_reg(v, glsl_type::vec4_type); in TEST_F()
138 src_reg r2 = src_reg(v, glsl_type::vec4_type); in TEST_F()
139 src_reg r3 = src_reg(v, glsl_type::vec4_type); in TEST_F()
140 src_reg r4 = src_reg(v, glsl_type::vec4_type); in TEST_F()
141 src_reg r5 = src_reg( in TEST_F()
[all...]
/kernel/linux/linux-5.10/tools/include/linux/
H A Dfilter.h32 /* ALU ops on registers, bpf_add|sub|...: dst_reg += src_reg */
38 .src_reg = SRC, \
46 .src_reg = SRC, \
56 .src_reg = 0, \
64 .src_reg = 0, \
74 .src_reg = 0, \
78 /* Short form of mov, dst_reg = src_reg */
84 .src_reg = SRC, \
92 .src_reg = SRC, \
102 .src_reg
[all...]
/kernel/linux/linux-6.6/tools/include/linux/
H A Dfilter.h32 /* ALU ops on registers, bpf_add|sub|...: dst_reg += src_reg */
38 .src_reg = SRC, \
46 .src_reg = SRC, \
56 .src_reg = 0, \
64 .src_reg = 0, \
74 .src_reg = 0, \
78 /* Short form of mov, dst_reg = src_reg */
84 .src_reg = SRC, \
92 .src_reg = SRC, \
102 .src_reg
[all...]
/kernel/linux/linux-5.10/samples/bpf/
H A Dbpf_insn.h8 /* ALU ops on registers, bpf_add|sub|...: dst_reg += src_reg */
14 .src_reg = SRC, \
22 .src_reg = SRC, \
32 .src_reg = 0, \
40 .src_reg = 0, \
44 /* Short form of mov, dst_reg = src_reg */
50 .src_reg = SRC, \
58 .src_reg = SRC, \
68 .src_reg = 0, \
76 .src_reg
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A Dbpf_insn.h8 /* ALU ops on registers, bpf_add|sub|...: dst_reg += src_reg */
14 .src_reg = SRC, \
22 .src_reg = SRC, \
32 .src_reg = 0, \
40 .src_reg = 0, \
44 /* Short form of mov, dst_reg = src_reg */
50 .src_reg = SRC, \
58 .src_reg = SRC, \
68 .src_reg = 0, \
76 .src_reg
[all...]
/third_party/libbpf/include/linux/
H A Dfilter.h12 .src_reg = SRC, \
20 .src_reg = 0, \
28 .src_reg = 0, \
36 .src_reg = 0, \
44 .src_reg = 0, \
52 .src_reg = 0, \
60 .src_reg = SRC, \
68 .src_reg = SRC, \
76 .src_reg = 0, \
84 .src_reg
[all...]
/kernel/linux/linux-5.10/drivers/clk/socfpga/
H A Dclk-gate.c58 u32 src_reg; in socfpga_clk_set_parent() local
62 src_reg = readl(clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent()
63 src_reg &= ~0x1; in socfpga_clk_set_parent()
64 src_reg |= parent; in socfpga_clk_set_parent()
65 writel(src_reg, clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent()
67 src_reg = readl(clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent()
68 src_reg &= ~0x2; in socfpga_clk_set_parent()
69 src_reg |= (parent << 1); in socfpga_clk_set_parent()
70 writel(src_reg, clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent()
72 src_reg in socfpga_clk_set_parent()
[all...]
/kernel/linux/linux-6.6/drivers/clk/socfpga/
H A Dclk-gate.c58 u32 src_reg; in socfpga_clk_set_parent() local
62 src_reg = readl(clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent()
63 src_reg &= ~0x1; in socfpga_clk_set_parent()
64 src_reg |= parent; in socfpga_clk_set_parent()
65 writel(src_reg, clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent()
67 src_reg = readl(clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent()
68 src_reg &= ~0x2; in socfpga_clk_set_parent()
69 src_reg |= (parent << 1); in socfpga_clk_set_parent()
70 writel(src_reg, clk_mgr_base_addr + CLKMGR_L4SRC); in socfpga_clk_set_parent()
72 src_reg in socfpga_clk_set_parent()
[all...]
/third_party/mesa3d/src/freedreno/ir3/
H A Dir3_cp.c332 struct ir3_register *src_reg) in is_valid_shared_copy()
334 return !(src_reg->flags & IR3_REG_SHARED) || in is_valid_shared_copy()
353 struct ir3_register *src_reg = src->srcs[0]; in reg_cp() local
356 if (!is_valid_shared_copy(instr, src, src_reg)) in reg_cp()
364 reg->array = src_reg->array; in reg_cp()
367 reg->def = src_reg->def; in reg_cp()
381 struct ir3_register *src_reg = src->srcs[0]; in reg_cp() local
384 if (!is_valid_shared_copy(instr, src, src_reg)) in reg_cp()
387 if (src_reg->flags & IR3_REG_ARRAY) in reg_cp()
394 if (lower_immed(ctx, instr, n, src_reg, new_flag in reg_cp()
330 is_valid_shared_copy(struct ir3_instruction *dst_instr, struct ir3_instruction *src_instr, struct ir3_register *src_reg) is_valid_shared_copy() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_inline_literals.c111 struct rc_src_register * src_reg = in rc_inline_literals() local
114 if (src_reg->File != RC_FILE_CONSTANT) { in rc_inline_literals()
118 &c->Program.Constants.Constants[src_reg->Index]; in rc_inline_literals()
125 swz = GET_SWZ(src_reg->Swizzle, chan); in rc_inline_literals()
143 if (ret == -1 && src_reg->Abs) { in rc_inline_literals()
164 src_reg->File = RC_FILE_INLINE; in rc_inline_literals()
165 src_reg->Index = r300_float; in rc_inline_literals()
166 src_reg->Swizzle = new_swizzle; in rc_inline_literals()
167 src_reg->Negate = src_reg in rc_inline_literals()
[all...]
/third_party/mesa3d/src/gallium/drivers/r300/compiler/tests/
H A Drc_test_helpers.c143 struct rc_src_register * src_reg = &inst->U.I.SrcReg[src_index]; in init_rc_normal_src() local
166 src_reg->Negate = RC_MASK_XYZW; in init_rc_normal_src()
171 src_reg->Abs = 1; in init_rc_normal_src()
176 src_reg->File = RC_FILE_TEMPORARY; in init_rc_normal_src()
178 src_reg->File = RC_FILE_INPUT; in init_rc_normal_src()
180 src_reg->File = RC_FILE_CONSTANT; in init_rc_normal_src()
182 src_reg->File = RC_FILE_NONE; in init_rc_normal_src()
187 src_reg->Index = strtol(tokens.Index.String, NULL, 10); in init_rc_normal_src()
195 src_reg->Swizzle = RC_SWIZZLE_XYZW; in init_rc_normal_src()
198 src_reg in init_rc_normal_src()
[all...]
/kernel/linux/linux-6.6/arch/powerpc/net/
H A Dbpf_jit_comp64.c378 u32 src_reg = bpf_to_ppc(insn[i].src_reg); in bpf_jit_build_body() local
404 * is that those instructions will have src_reg/dst_reg set to in bpf_jit_build_body()
411 if (src_reg >= BPF_PPC_NVR_MIN && src_reg < 32) in bpf_jit_build_body()
412 bpf_set_seen_register(ctx, src_reg); in bpf_jit_build_body()
420 EMIT(PPC_RAW_ADD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
424 EMIT(PPC_RAW_SUB(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
451 EMIT(PPC_RAW_MULW(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
453 EMIT(PPC_RAW_MULD(dst_reg, dst_reg, src_reg)); in bpf_jit_build_body()
[all...]

Completed in 12 milliseconds

1234567