Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_inline_uniforms.c66 nir_alu_src *alu_src = alu->src + component; in src_only_uses_uniforms() local
67 return src_only_uses_uniforms(&alu_src->src, alu_src->swizzle[0], in src_only_uses_uniforms()
73 nir_alu_src *alu_src = alu->src + i; in src_only_uses_uniforms() local
80 if (!src_only_uses_uniforms(&alu_src->src, alu_src->swizzle[component], in src_only_uses_uniforms()
88 if (!src_only_uses_uniforms(&alu_src->src, alu_src->swizzle[j], in src_only_uses_uniforms()
170 nir_alu_src *alu_src = var->update_src; in is_induction_variable() local
171 if (!src_only_uses_uniforms(&alu_src->src, in is_induction_variable()
172 alu_src->swizzle[component], in is_induction_variable()
Dnir_opt_shrink_vectors.c99 nir_alu_src *alu_src = (nir_alu_src*)use_src; in reswizzle_alu_uses() local
103 alu_src->swizzle[i] = reswizzle[alu_src->swizzle[i]]; in reswizzle_alu_uses()
Dnir_lower_vec_to_movs.c150 nir_alu_src *alu_src = exec_node_data(nir_alu_src, src, src); in try_coalesce() local
151 if (alu_src->abs || alu_src->negate) in try_coalesce()
Dnir_opt_vectorize.c289 nir_alu_src *alu_src = container_of(src, nir_alu_src, src); in instr_try_combine() local
291 unsigned components = nir_ssa_alu_instr_src_components(use, alu_src - use->src); in instr_try_combine()
293 alu_src->swizzle[i] += alu1_components; in instr_try_combine()
Dnir_loop_analyze.c1163 nir_ssa_scalar alu_src = nir_ssa_scalar_chase_alu_src(alu_s, i); in find_trip_count() local
1164 if (nir_ssa_scalar_is_const(alu_src)) { in find_trip_count()
1166 step_val = nir_ssa_scalar_as_const_value(alu_src); in find_trip_count()
Dnir_builder.h410 nir_alu_src alu_src = { NIR_SRC_INIT }; in nir_swizzle() local
411 alu_src.src = nir_src_for_ssa(src); in nir_swizzle()
417 alu_src.swizzle[i] = swiz[i]; in nir_swizzle()
423 return nir_mov_alu(build, alu_src, num_components); in nir_swizzle()
Dnir.c1869 nir_alu_src *alu_src = exec_node_data(nir_alu_src, src, src); in nir_src_components_read() local
1870 int src_idx = alu_src - &alu->src[0]; in nir_src_components_read()
/third_party/mesa3d/src/gallium/frontends/lavapipe/
Dlvp_inline_uniforms.c50 nir_alu_src *alu_src = alu->src + component; in src_only_uses_uniforms() local
51 return src_only_uses_uniforms(&alu_src->src, alu_src->swizzle[0], in src_only_uses_uniforms()
57 nir_alu_src *alu_src = alu->src + i; in src_only_uses_uniforms() local
64 if (!src_only_uses_uniforms(&alu_src->src, alu_src->swizzle[component], in src_only_uses_uniforms()
72 if (!src_only_uses_uniforms(&alu_src->src, alu_src->swizzle[j], in src_only_uses_uniforms()
151 nir_alu_src *alu_src = var->update_src; in is_induction_variable() local
152 if (!src_only_uses_uniforms(&alu_src->src, in is_induction_variable()
153 alu_src->swizzle[component], in is_induction_variable()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_valuefactory.cpp314 PVirtualValue ValueFactory::src(const nir_alu_src& alu_src, int chan) in src() argument
316 return src(alu_src.src, alu_src.swizzle[chan]); in src()
319 PVirtualValue ValueFactory::src64(const nir_alu_src& alu_src, int chan, int comp) in src64() argument
321 return src(alu_src.src, 2 * alu_src.swizzle[chan] + comp); in src64()
Dsfn_valuefactory.h228 PVirtualValue src(const nir_alu_src& alu_src, int chan);
229 PVirtualValue src64(const nir_alu_src& alu_src, int chan, int comp);
/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_shader.c5820 struct r600_bytecode_alu *alu_src) in emit_mul_int_op() argument
5824 alu = *alu_src; in emit_mul_int_op()
5828 alu.dst.write = (i == alu_src->dst.chan); in emit_mul_int_op()
10669 struct r600_bytecode_alu_src alu_src; in tgsi_if() local
10670 r600_bytecode_src(&alu_src, &ctx->src[0], 0); in tgsi_if()
10672 return emit_if(ctx, ALU_OP2_PRED_SETNE, &alu_src); in tgsi_if()
10677 struct r600_bytecode_alu_src alu_src; in tgsi_uif() local
10678 r600_bytecode_src(&alu_src, &ctx->src[0], 0); in tgsi_uif()
10679 return emit_if(ctx, ALU_OP2_PRED_SETNE_INT, &alu_src); in tgsi_uif()
11411 struct r600_bytecode_alu_src alu_num_hi, alu_num_lo, alu_denom_hi, alu_denom_lo, alu_src; in egcm_u64div() local
[all …]