Home
last modified time | relevance | path

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

/external/mesa3d/src/compiler/spirv/
Dvtn_subgroup.c26 static struct vtn_ssa_value *
29 struct vtn_ssa_value *src0, in vtn_build_subgroup_instr()
41 struct vtn_ssa_value *dst = vtn_create_ssa_value(b, src0->type); in vtn_build_subgroup_instr()
187 vtn_ssa_value(b, w[3 + has_scope]), in vtn_handle_subgroup()
198 vtn_ssa_value(b, w[3 + has_scope]), in vtn_handle_subgroup()
229 switch (glsl_get_base_type(vtn_ssa_value(b, w[4])->type)) { in vtn_handle_subgroup()
297 vtn_build_subgroup_instr(b, op, vtn_ssa_value(b, w[4]), in vtn_handle_subgroup()
307 vtn_build_subgroup_instr(b, op, vtn_ssa_value(b, w[3]), in vtn_handle_subgroup()
331 struct vtn_ssa_value *current = in vtn_handle_subgroup()
332 vtn_build_subgroup_instr(b, nir_intrinsic_shuffle, vtn_ssa_value(b, w[3]), in vtn_handle_subgroup()
[all …]
Dvtn_alu.c36 static struct vtn_ssa_value *
37 wrap_matrix(struct vtn_builder *b, struct vtn_ssa_value *val) in wrap_matrix()
45 struct vtn_ssa_value *dest = rzalloc(b, struct vtn_ssa_value); in wrap_matrix()
47 dest->elems = ralloc_array(b, struct vtn_ssa_value *, 1); in wrap_matrix()
53 static struct vtn_ssa_value *
54 unwrap_matrix(struct vtn_ssa_value *val) in unwrap_matrix()
62 static struct vtn_ssa_value *
64 struct vtn_ssa_value *_src0, struct vtn_ssa_value *_src1) in matrix_multiply()
67 struct vtn_ssa_value *src0 = wrap_matrix(b, _src0); in matrix_multiply()
68 struct vtn_ssa_value *src1 = wrap_matrix(b, _src1); in matrix_multiply()
[all …]
Dvtn_private.h302 struct vtn_ssa_value { struct
305 struct vtn_ssa_value **elems; argument
312 struct vtn_ssa_value *transposed; argument
605 struct vtn_ssa_value *ssa;
828 struct vtn_ssa_value *vtn_ssa_value(struct vtn_builder *b, uint32_t value_id);
830 struct vtn_ssa_value *ssa);
852 struct vtn_ssa_value *vtn_create_ssa_value(struct vtn_builder *b,
855 struct vtn_ssa_value *vtn_ssa_transpose(struct vtn_builder *b,
856 struct vtn_ssa_value *src);
869 struct vtn_ssa_value *
[all …]
Dspirv_to_nir.c166 static struct vtn_ssa_value *
169 struct vtn_ssa_value *val = rzalloc(b, struct vtn_ssa_value); in vtn_undef_ssa_value()
178 val->elems = ralloc_array(b, struct vtn_ssa_value *, elems); in vtn_undef_ssa_value()
195 static struct vtn_ssa_value *
204 struct vtn_ssa_value *val = rzalloc(b, struct vtn_ssa_value); in vtn_const_ssa_value()
220 val->elems = ralloc_array(b, struct vtn_ssa_value *, elems); in vtn_const_ssa_value()
240 struct vtn_ssa_value *
241 vtn_ssa_value(struct vtn_builder *b, uint32_t value_id) in vtn_ssa_value() function
256 struct vtn_ssa_value *ssa = in vtn_ssa_value()
268 struct vtn_ssa_value *ssa) in vtn_push_ssa_value()
[all …]
Dvtn_glsl450.c95 build_mat_det(struct vtn_builder *b, struct vtn_ssa_value *src) in build_mat_det()
116 build_mat_subdet(struct nir_builder *b, struct vtn_ssa_value *src, in build_mat_subdet()
146 static struct vtn_ssa_value *
147 matrix_inverse(struct vtn_builder *b, struct vtn_ssa_value *src) in matrix_inverse()
167 struct vtn_ssa_value *val = vtn_create_ssa_value(b, src->type); in matrix_inverse()
326 struct vtn_ssa_value *dest = vtn_create_ssa_value(b, dest_type); in handle_glsl450_alu()
344 struct vtn_ssa_value *whole = vtn_create_ssa_value(b, i_ptr->type->type); in handle_glsl450_alu()
535 struct vtn_ssa_value *exp = vtn_create_ssa_value(b, i_ptr->type->type); in handle_glsl450_alu()
634 vtn_push_nir_ssa(b, w[2], build_mat_det(b, vtn_ssa_value(b, w[5]))); in vtn_handle_glsl450_instruction()
639 vtn_push_ssa_value(b, w[2], matrix_inverse(b, vtn_ssa_value(b, w[5]))); in vtn_handle_glsl450_instruction()
Dvtn_cfg.c82 struct vtn_ssa_value *value, in vtn_ssa_value_add_to_call_params()
99 struct vtn_ssa_value *value, in vtn_ssa_value_load_function_param()
137 vtn_ssa_value_add_to_call_params(b, vtn_ssa_value(b, w[4 + i]), in vtn_handle_function_call()
224 struct vtn_ssa_value *value = vtn_create_ssa_value(b, type->type); in vtn_cfg_handle_prepass_instruction()
920 struct vtn_ssa_value *src = vtn_ssa_value(b, w[i]); in vtn_handle_phi_second_pass()
1038 struct vtn_ssa_value *src = vtn_ssa_value(b, block->branch[1]); in vtn_emit_ret_store()
1272 nir_ssa_def *cond = vtn_ssa_value(b, block->branch[1])->def; in vtn_emit_cf_func_unstructured()
Dvtn_variables.c207 nir_ssa_def *ssa = vtn_ssa_value(b, link.id)->def; in vtn_access_link_as_ssa()
493 struct vtn_ssa_value *inout, in _vtn_local_load_store()
547 struct vtn_ssa_value *
552 struct vtn_ssa_value *val = vtn_create_ssa_value(b, src_tail->type); in vtn_local_load()
564 vtn_local_store(struct vtn_builder *b, struct vtn_ssa_value *src, in vtn_local_store()
570 struct vtn_ssa_value *val = vtn_create_ssa_value(b, dest_tail->type); in vtn_local_store()
600 struct vtn_ssa_value **inout) in _vtn_variable_load_store()
694 struct vtn_ssa_value *
698 struct vtn_ssa_value *val = vtn_create_ssa_value(b, src->type->type); in vtn_variable_load()
704 vtn_variable_store(struct vtn_builder *b, struct vtn_ssa_value *src, in vtn_variable_store()
[all …]
Dvtn_opencl.c218 struct vtn_ssa_value *ssa = vtn_ssa_value(b, w_src[i]); in handle_instr()
646 struct vtn_ssa_value *comps[NIR_MAX_VEC_COMPONENTS]; in _handle_v_load_store()
672 struct vtn_ssa_value *ssa = vtn_create_ssa_value(b, glsl_scalar_type(base_type)); in _handle_v_load_store()
673 struct vtn_ssa_value *val = vtn_ssa_value(b, w[5]); in _handle_v_load_store()
/external/mesa3d/docs/relnotes/
D12.0.6.rst94 - spirv: Move cursor before calling vtn_ssa_value() in phi 2nd pass.
D13.0.4.rst171 - spirv: Move cursor before calling vtn_ssa_value() in phi 2nd pass.
D20.2.0.rst2606 - spirv: Simplify vtn_ssa_value creation
2607 - spirv: Hand-roll fewer vtn_ssa_value creations
2613 - spirv: More heavily use vtn_ssa_value in function parameter handling