/external/mesa3d/src/compiler/spirv/ |
D | vtn_private.h | 40 struct vtn_builder; 43 void vtn_log(struct vtn_builder *b, enum nir_spirv_debug_level level, 46 void vtn_logf(struct vtn_builder *b, enum nir_spirv_debug_level level, 51 void _vtn_warn(struct vtn_builder *b, const char *file, unsigned line, 55 void _vtn_err(struct vtn_builder *b, const char *file, unsigned line, 80 _vtn_fail(struct vtn_builder *b, const char *file, unsigned line, 288 typedef bool (*vtn_instruction_handler)(struct vtn_builder *, SpvOp, 291 void vtn_build_cfg(struct vtn_builder *b, const uint32_t *words, 293 void vtn_function_emit(struct vtn_builder *b, struct vtn_function *func, 295 void vtn_handle_function_call(struct vtn_builder *b, SpvOp opcode, [all …]
|
D | gl_spirv.c | 32 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()
|
D | vtn_opencl.c | 33 typedef nir_ssa_def *(*nir_handler)(struct vtn_builder *b, 133 static nir_function *mangle_and_find(struct vtn_builder *b, in mangle_and_find() 174 static bool call_mangled_function(struct vtn_builder *b, in call_mangled_function() 208 handle_instr(struct vtn_builder *b, uint32_t opcode, in handle_instr() 232 nir_alu_op_for_opencl_opcode(struct vtn_builder *b, in nir_alu_op_for_opencl_opcode() 282 handle_alu(struct vtn_builder *b, uint32_t opcode, in handle_alu() 394 get_vtn_type_for_glsl_type(struct vtn_builder *b, const struct glsl_type *type) in get_vtn_type_for_glsl_type() 405 get_pointer_type(struct vtn_builder *b, struct vtn_type *t, SpvStorageClass storage_class) in get_pointer_type() 418 get_signed_type(struct vtn_builder *b, struct vtn_type *t) in get_signed_type() 429 handle_clc_fn(struct vtn_builder *b, enum OpenCLstd_Entrypoints opcode, in handle_clc_fn() [all …]
|
D | spirv_to_nir.c | 41 vtn_log(struct vtn_builder *b, enum nir_spirv_debug_level level, in vtn_log() 56 vtn_logf(struct vtn_builder *b, enum nir_spirv_debug_level level, in vtn_logf() 72 vtn_log_err(struct vtn_builder *b, in vtn_log_err() 104 vtn_dump_shader(struct vtn_builder *b, const char *path, const char *prefix) in vtn_dump_shader() 125 _vtn_warn(struct vtn_builder *b, const char *file, unsigned line, in _vtn_warn() 137 _vtn_err(struct vtn_builder *b, const char *file, unsigned line, in _vtn_err() 149 _vtn_fail(struct vtn_builder *b, const char *file, unsigned line, in _vtn_fail() 167 vtn_undef_ssa_value(struct vtn_builder *b, const struct glsl_type *type) in vtn_undef_ssa_value() 196 vtn_const_ssa_value(struct vtn_builder *b, nir_constant *constant, in vtn_const_ssa_value() 241 vtn_ssa_value(struct vtn_builder *b, uint32_t value_id) in vtn_ssa_value() [all …]
|
D | vtn_cfg.c | 30 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 vtn_cfg_handle_prepass_instruction(struct vtn_builder *b, SpvOp opcode, in vtn_cfg_handle_prepass_instruction() 318 vtn_block_set_merge_cf_node(struct vtn_builder *b, struct vtn_block *block, in vtn_block_set_merge_cf_node() 344 vtn_handle_branch(struct vtn_builder *b, in VTN_DECL_CF_NODE_FIND() 469 vtn_add_cfg_work_item(struct vtn_builder *b, in vtn_add_cfg_work_item() 484 vtn_parse_switch(struct vtn_builder *b, in vtn_parse_switch() 554 vtn_process_block(struct vtn_builder *b, in vtn_process_block() [all …]
|
D | vtn_variables.c | 34 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 …]
|
D | vtn_alu.c | 37 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_handle_matrix_alu(struct vtn_builder *b, SpvOp opcode, in vtn_handle_matrix_alu() 256 vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b, in vtn_nir_alu_op_for_spirv_opcode() 381 handle_no_contraction(struct vtn_builder *b, struct vtn_value *val, int member, in handle_no_contraction() 392 vtn_rounding_mode_to_nir(struct vtn_builder *b, SpvFPRoundingMode mode) in vtn_rounding_mode_to_nir() 420 handle_conversion_opts(struct vtn_builder *b, struct vtn_value *val, int member, in handle_conversion_opts() 442 handle_no_wrap(struct vtn_builder *b, struct vtn_value *val, int member, in handle_no_wrap() 460 vtn_handle_alu(struct vtn_builder *b, SpvOp opcode, in vtn_handle_alu() [all …]
|
D | vtn_amd.c | 30 vtn_handle_amd_gcn_shader_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_amd_gcn_shader_instruction() 60 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()
|
D | vtn_glsl450.c | 95 build_mat_det(struct vtn_builder *b, struct vtn_ssa_value *src) in build_mat_det() 147 matrix_inverse(struct vtn_builder *b, struct vtn_ssa_value *src) in matrix_inverse() 244 vtn_nir_alu_op_for_spirv_glsl_opcode(struct vtn_builder *b, in vtn_nir_alu_op_for_spirv_glsl_opcode() 309 handle_glsl450_alu(struct vtn_builder *b, enum GLSLstd450 entrypoint, in handle_glsl450_alu() 564 handle_glsl450_interpolation(struct vtn_builder *b, enum GLSLstd450 opcode, in handle_glsl450_interpolation() 629 vtn_handle_glsl450_instruction(struct vtn_builder *b, SpvOp ext_opcode, in vtn_handle_glsl450_instruction()
|
D | vtn_subgroup.c | 27 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()
|
/external/mesa3d/prebuilt-intermediates/spirv/ |
D | vtn_gather_types.c | 524 vtn_set_instruction_result_type(struct vtn_builder *b, SpvOp opcode, in vtn_set_instruction_result_type()
|