Searched refs:vtn_value (Results 1 - 23 of 23) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/spirv/
H A Dvtn_private.h596 struct vtn_value { struct
639 struct vtn_value *group;
693 struct vtn_value *values;
711 struct vtn_value *entry_point;
712 struct vtn_value *workgroup_size_builtin;
744 static inline struct vtn_value *
753 vtn_id_for_value(struct vtn_builder *b, struct vtn_value *value)
755 vtn_fail_if(value <= b->values, "vtn_value pointer outside the range of valid values");
757 vtn_fail_if(value_id >= b->value_id_bound, "vtn_value pointer outside the range of valid values");
765 static inline struct vtn_value *
785 vtn_value(struct vtn_builder *b, uint32_t value_id, function in typeref:struct:vtn_value *
[all...]
H A Dvtn_amd.c91 struct vtn_value *val = vtn_value(b, w[6], vtn_value_type_constant);
99 struct vtn_value *val = vtn_value(b, w[6], vtn_value_type_constant);
195 vtn_value(b, w[5], vtn_value_type_pointer)->pointer;
H A Dgl_spirv.c69 spec_constant_decoration_cb(struct vtn_builder *b, struct vtn_value *v,
89 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_constant);
H A Dspirv_to_nir.c276 struct vtn_value *val = vtn_untyped_value(b, value_id);
299 struct vtn_value *
309 struct vtn_value *val;
331 struct vtn_value *
380 struct vtn_value *value = vtn_push_nir_ssa(b, value_id, &deref->dest.ssa);
406 struct vtn_value *value = vtn_push_nir_ssa(b, value_id,
484 b->file = vtn_value(b, w[1], vtn_value_type_string)->str;
527 struct vtn_value *val = vtn_push_value(b, w[1], vtn_value_type_extension);
554 struct vtn_value *val = vtn_value(
[all...]
H A Dvtn_variables.c68 ptr_decoration_cb(struct vtn_builder *b, struct vtn_value *val, int member,
89 access_align_cb(struct vtn_builder *b, struct vtn_value *val, int member,
109 vtn_decorate_pointer(struct vtn_builder *b, struct vtn_value *val,
131 struct vtn_value *
135 struct vtn_value *val = vtn_push_value(b, value_id, vtn_value_type_pointer);
144 struct vtn_value *src = vtn_untyped_value(b, src_value_id);
145 struct vtn_value *dst = vtn_untyped_value(b, dst_value_id);
146 struct vtn_value src_copy = *src;
1320 gather_var_kind_cb(struct vtn_builder *b, struct vtn_value *val, int member,
1351 var_decoration_cb(struct vtn_builder *b, struct vtn_value *va
[all...]
H A Dvtn_alu.c381 handle_no_contraction(struct vtn_builder *b, UNUSED struct vtn_value *val,
393 vtn_handle_no_contraction(struct vtn_builder *b, struct vtn_value *val)
427 handle_conversion_opts(struct vtn_builder *b, UNUSED struct vtn_value *val,
450 handle_no_wrap(UNUSED struct vtn_builder *b, UNUSED struct vtn_value *val,
472 struct vtn_value *dest_val = vtn_untyped_value(b, w[2]);
863 struct vtn_value *dest_val = vtn_untyped_value(b, w[2]);
H A Dvtn_cfg.c32 return vtn_value(b, value_id, vtn_value_type_block)->block;
116 vtn_value(b, w[3], vtn_value_type_function)->func;
166 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_function);
504 struct vtn_value *sel_val = vtn_untyped_value(b, branch[1]);
719 struct vtn_value *cond_val = vtn_untyped_value(b, block->branch[1]);
H A Dvtn_opencl.c218 struct vtn_value *val = vtn_untyped_value(b, w_src[i]);
634 struct vtn_value *p = vtn_value(b, w[6 + a], vtn_value_type_pointer);
801 struct vtn_value *val = vtn_untyped_value(b, w_src[i]);
H A Dvtn_glsl450.c352 struct vtn_pointer *i_ptr = vtn_value(b, w[6], vtn_value_type_pointer)->pointer;
594 struct vtn_pointer *i_ptr = vtn_value(b, w[6], vtn_value_type_pointer)->pointer;
646 vtn_value(b, w[5], vtn_value_type_pointer)->pointer;
/xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/
H A Dvtn_amd.c34 vtn_value(b, w[1], vtn_value_type_type)->type->type;
35 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
65 vtn_value(b, w[1], vtn_value_type_type)->type->type;
66 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
H A Dvtn_private.h535 struct vtn_value { struct
568 struct vtn_value *group;
614 struct vtn_value *values;
621 struct vtn_value *entry_point;
622 struct vtn_value *workgroup_size_builtin;
646 static inline struct vtn_value *
658 static inline struct vtn_value *
662 struct vtn_value *val = vtn_untyped_value(b, value_id);
673 static inline struct vtn_value *
674 vtn_value(struc function in typeref:struct:vtn_value *
[all...]
H A Dvtn_cfg.c182 struct vtn_type *res_type = vtn_value(b, w[1], vtn_value_type_type)->type;
184 vtn_value(b, w[3], vtn_value_type_function)->func;
210 vtn_value(b, arg_id, vtn_value_type_sampled_image)->sampled_image;
220 vtn_value(b, arg_id, vtn_value_type_pointer)->pointer;
252 vtn_value(b, w[1], vtn_value_type_type)->type->type;
253 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_function);
256 b->func->type = vtn_value(b, w[4], vtn_value_type_type)->type;
306 struct vtn_type *type = vtn_value(b, w[1], vtn_value_type_type)->type;
314 struct vtn_value *val =
396 vtn_value(
[all...]
H A Dspirv_to_nir.c300 struct vtn_value *val = vtn_untyped_value(b, value_id);
357 b->file = vtn_value(b, w[1], vtn_value_type_string)->str;
393 struct vtn_value *val = vtn_push_value(b, w[1], vtn_value_type_extension);
411 struct vtn_value *val = vtn_value(b, w[3], vtn_value_type_extension);
424 struct vtn_value *base_value,
426 struct vtn_value *value,
470 vtn_foreach_decoration(struct vtn_builder *b, struct vtn_value *value,
477 vtn_foreach_execution_mode(struct vtn_builder *b, struct vtn_value *value,
509 struct vtn_value *va
[all...]
H A Dgl_spirv.c69 spec_constant_decoration_cb(struct vtn_builder *b, struct vtn_value *v,
89 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_constant);
H A Dvtn_opencl.c43 vtn_value(b, w[1], vtn_value_type_type)->type->type;
54 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
191 type = vtn_value(b, w[1], vtn_value_type_type)->type;
201 struct vtn_value *p = vtn_value(b, w[6 + a], vtn_value_type_pointer);
H A Dvtn_variables.c34 struct vtn_value *val, int member,
38 struct vtn_value *
42 struct vtn_value *val = vtn_push_value(b, value_id, vtn_value_type_pointer);
49 ssa_decoration_cb(struct vtn_builder *b, struct vtn_value *val, int member,
64 struct vtn_value *
68 struct vtn_value *val;
669 struct vtn_pointer *ptr = vtn_value(b, id, vtn_value_type_pointer)->pointer;
1619 var_is_patch_cb(struct vtn_builder *b, struct vtn_value *val, int member,
1628 var_decoration_cb(struct vtn_builder *b, struct vtn_value *val, int member,
1746 ptr_decoration_cb(struct vtn_builder *b, struct vtn_value *va
[all...]
H A Dvtn_glsl450.c452 vtn_value(b, w[1], vtn_value_type_type)->type->type;
454 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
695 vtn_value(b, w[1], vtn_value_type_type)->type->type;
697 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
718 vtn_value(b, w[5], vtn_value_type_pointer)->pointer;
774 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
776 val->ssa->type = vtn_value(b, w[1], vtn_value_type_type)->type->type;
782 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
H A Dvtn_alu.c158 struct vtn_value *dest,
349 handle_no_contraction(struct vtn_builder *b, struct vtn_value *val, int member,
360 handle_rounding_mode(struct vtn_builder *b, struct vtn_value *val, int member,
384 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
386 vtn_value(b, w[1], vtn_value_type_type)->type->type;
680 struct vtn_type *type = vtn_value(b, w[1], vtn_value_type_type)->type;
H A Dvtn_subgroup.c74 struct vtn_value *val = vtn_push_value(b, w[2], vtn_value_type_ssa);
/xsrc/external/mit/MesaLib.old/src/compiler/spirv/
H A Dvtn_gather_types.c361 struct vtn_value *val = vtn_untyped_value(b, w[1 + args.res_idx]);
362 val->type = vtn_value(b, w[1 + args.res_type_idx],
/xsrc/external/mit/MesaLib/src/compiler/spirv/
H A Dvtn_gather_types.c600 struct vtn_value *val = vtn_untyped_value(b, w[1 + args.res_idx]);
601 val->type = vtn_value(b, w[1 + args.res_type_idx],
/xsrc/external/mit/MesaLib/dist/docs/relnotes/
H A D19.0.0.rst2333 - nir: Length of boolean vtn_value now is 1
H A D20.2.0.rst2591 - spirv: Drop the void \*ptr from vtn_value

Completed in 72 milliseconds