Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/spirv/
Dvtn_private.h40 struct vtn_builder;
52 void vtn_log(struct vtn_builder *b, enum nir_spirv_debug_level level,
55 void vtn_logf(struct vtn_builder *b, enum nir_spirv_debug_level level,
60 void _vtn_warn(struct vtn_builder *b, const char *file, unsigned line,
64 void _vtn_err(struct vtn_builder *b, const char *file, unsigned line,
89 _vtn_fail(struct vtn_builder *b, const char *file, unsigned line,
299 typedef bool (*vtn_instruction_handler)(struct vtn_builder *, SpvOp,
302 void vtn_build_cfg(struct vtn_builder *b, const uint32_t *words,
304 void vtn_function_emit(struct vtn_builder *b, struct vtn_function *func,
306 void vtn_handle_function_call(struct vtn_builder *b, SpvOp opcode,
[all …]
Dvtn_opencl.c34 typedef nir_ssa_def *(*nir_handler)(struct vtn_builder *b,
135 static nir_function *mangle_and_find(struct vtn_builder *b, in mangle_and_find()
176 static bool call_mangled_function(struct vtn_builder *b, in call_mangled_function()
210 handle_instr(struct vtn_builder *b, uint32_t opcode, in handle_instr()
234 nir_alu_op_for_opencl_opcode(struct vtn_builder *b, in nir_alu_op_for_opencl_opcode()
284 handle_alu(struct vtn_builder *b, uint32_t opcode, in handle_alu()
396 get_vtn_type_for_glsl_type(struct vtn_builder *b, const struct glsl_type *type) in get_vtn_type_for_glsl_type()
407 get_pointer_type(struct vtn_builder *b, struct vtn_type *t, SpvStorageClass storage_class) in get_pointer_type()
420 get_signed_type(struct vtn_builder *b, struct vtn_type *t) in get_signed_type()
431 handle_clc_fn(struct vtn_builder *b, enum OpenCLstd_Entrypoints opcode, in handle_clc_fn()
[all …]
Dgl_spirv.c32 vtn_validate_preamble_instruction(struct vtn_builder *b, SpvOp opcode, in vtn_validate_preamble_instruction()
69 spec_constant_decoration_cb(struct vtn_builder *b, struct vtn_value *v, in spec_constant_decoration_cb()
86 vtn_validate_handle_constant(struct vtn_builder *b, SpvOp opcode, in vtn_validate_handle_constant()
118 vtn_validate_handle_constant_instruction(struct vtn_builder *b, SpvOp opcode, in vtn_validate_handle_constant_instruction()
233 struct vtn_builder *b = vtn_create_builder(words, word_count, in gl_spirv_validation()
Dspirv_to_nir.c68 vtn_log(struct vtn_builder *b, enum nir_spirv_debug_level level, in vtn_log()
89 vtn_logf(struct vtn_builder *b, enum nir_spirv_debug_level level, in vtn_logf()
105 vtn_log_err(struct vtn_builder *b, in vtn_log_err()
137 vtn_dump_shader(struct vtn_builder *b, const char *path, const char *prefix) in vtn_dump_shader()
158 _vtn_warn(struct vtn_builder *b, const char *file, unsigned line, in _vtn_warn()
170 _vtn_err(struct vtn_builder *b, const char *file, unsigned line, in _vtn_err()
182 _vtn_fail(struct vtn_builder *b, const char *file, unsigned line, in _vtn_fail()
200 vtn_undef_ssa_value(struct vtn_builder *b, const struct glsl_type *type) in vtn_undef_ssa_value()
229 vtn_const_ssa_value(struct vtn_builder *b, nir_constant *constant, in vtn_const_ssa_value()
274 vtn_ssa_value(struct vtn_builder *b, uint32_t value_id) in vtn_ssa_value()
[all …]
Dvtn_cfg.c30 vtn_block(struct vtn_builder *b, uint32_t value_id) in vtn_block()
81 vtn_ssa_value_add_to_call_params(struct vtn_builder *b, in vtn_ssa_value_add_to_call_params()
98 vtn_ssa_value_load_function_param(struct vtn_builder *b, in vtn_ssa_value_load_function_param()
112 vtn_handle_function_call(struct vtn_builder *b, SpvOp opcode, in vtn_handle_function_call()
152 function_decoration_cb(struct vtn_builder *b, struct vtn_value *val, int member, in function_decoration_cb()
175 vtn_cfg_handle_prepass_instruction(struct vtn_builder *b, SpvOp opcode, in vtn_cfg_handle_prepass_instruction()
366 vtn_block_set_merge_cf_node(struct vtn_builder *b, struct vtn_block *block, in vtn_block_set_merge_cf_node()
392 vtn_handle_branch(struct vtn_builder *b, in VTN_DECL_CF_NODE_FIND()
517 vtn_add_cfg_work_item(struct vtn_builder *b, in vtn_add_cfg_work_item()
532 vtn_parse_switch(struct vtn_builder *b, in vtn_parse_switch()
[all …]
Dvtn_variables.c34 vtn_align_pointer(struct vtn_builder *b, struct vtn_pointer *ptr, in vtn_align_pointer()
68 ptr_decoration_cb(struct vtn_builder *b, struct vtn_value *val, int member, in ptr_decoration_cb()
89 access_align_cb(struct vtn_builder *b, struct vtn_value *val, int member, in access_align_cb()
109 vtn_decorate_pointer(struct vtn_builder *b, struct vtn_value *val, in vtn_decorate_pointer()
132 vtn_push_pointer(struct vtn_builder *b, uint32_t value_id, in vtn_push_pointer()
141 vtn_copy_value(struct vtn_builder *b, uint32_t src_value_id, in vtn_copy_value()
165 vtn_access_chain_create(struct vtn_builder *b, unsigned length) in vtn_access_chain_create()
179 vtn_mode_is_cross_invocation(struct vtn_builder *b, in vtn_mode_is_cross_invocation()
191 vtn_pointer_is_external_block(struct vtn_builder *b, in vtn_pointer_is_external_block()
200 vtn_access_link_as_ssa(struct vtn_builder *b, struct vtn_access_link link, in vtn_access_link_as_ssa()
[all …]
Dvtn_alu.c37 wrap_matrix(struct vtn_builder *b, struct vtn_ssa_value *val) in wrap_matrix()
63 matrix_multiply(struct vtn_builder *b, in matrix_multiply()
141 mat_times_scalar(struct vtn_builder *b, in mat_times_scalar()
157 vtn_mediump_downconvert(struct vtn_builder *b, enum glsl_base_type base_type, nir_ssa_def *def) in vtn_mediump_downconvert()
179 vtn_mediump_downconvert_value(struct vtn_builder *b, struct vtn_ssa_value *src) in vtn_mediump_downconvert_value()
204 vtn_handle_matrix_alu(struct vtn_builder *b, SpvOp opcode, in vtn_handle_matrix_alu()
303 vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b, in vtn_nir_alu_op_for_spirv_opcode()
428 handle_no_contraction(struct vtn_builder *b, UNUSED struct vtn_value *val, in handle_no_contraction()
440 vtn_handle_no_contraction(struct vtn_builder *b, struct vtn_value *val) in vtn_handle_no_contraction()
446 vtn_rounding_mode_to_nir(struct vtn_builder *b, SpvFPRoundingMode mode) in vtn_rounding_mode_to_nir()
[all …]
Dvtn_amd.c30 vtn_handle_amd_gcn_shader_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_amd_gcn_shader_instruction()
55 vtn_handle_amd_shader_ballot_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_amd_shader_ballot_instruction()
118 vtn_handle_amd_shader_trinary_minmax_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_amd_shader_trinary_minmax_instruction()
180 vtn_handle_amd_shader_explicit_vertex_parameter_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_amd_shader_explicit_vertex_parameter_instruction()
Dvtn_glsl450.c102 build_mat_det(struct vtn_builder *b, struct vtn_ssa_value *src) in build_mat_det()
114 matrix_inverse(struct vtn_builder *b, struct vtn_ssa_value *src) in matrix_inverse()
210 vtn_nir_alu_op_for_spirv_glsl_opcode(struct vtn_builder *b, in vtn_nir_alu_op_for_spirv_glsl_opcode()
275 handle_glsl450_alu(struct vtn_builder *b, enum GLSLstd450 entrypoint, in handle_glsl450_alu()
639 handle_glsl450_interpolation(struct vtn_builder *b, enum GLSLstd450 opcode, in handle_glsl450_interpolation()
704 vtn_handle_glsl450_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_glsl450_instruction()
Dvtn_subgroup.c27 vtn_build_subgroup_instr(struct vtn_builder *b, in vtn_build_subgroup_instr()
74 vtn_handle_subgroup(struct vtn_builder *b, SpvOp opcode, in vtn_handle_subgroup()
/third_party/mesa3d/docs/relnotes/
D21.1.0.rst769 - nir/spirv: remove unused fields from \`vtn_builder`