Home
last modified time | relevance | path

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

/third_party/mesa3d/src/compiler/nir/
Dnir_lower_io.c776 nir_address_format addr_format, in build_addr_iadd() argument
782 switch (addr_format) { in build_addr_iadd()
843 addr_get_offset_bit_size(nir_ssa_def *addr, nir_address_format addr_format) in addr_get_offset_bit_size() argument
845 if (addr_format == nir_address_format_32bit_offset_as_64bit || in addr_get_offset_bit_size()
846 addr_format == nir_address_format_32bit_index_offset_pack64) in addr_get_offset_bit_size()
853 nir_address_format addr_format, in build_addr_iadd_imm() argument
857 return build_addr_iadd(b, addr, addr_format, modes, in build_addr_iadd_imm()
859 addr_get_offset_bit_size(addr, addr_format))); in build_addr_iadd_imm()
864 nir_address_format addr_format) in build_addr_for_var() argument
870 const unsigned num_comps = nir_address_format_num_components(addr_format); in build_addr_for_var()
[all …]
Dnir.h4871 nir_address_format_bit_size(nir_address_format addr_format) in nir_address_format_bit_size() argument
4873 switch (addr_format) { in nir_address_format_bit_size()
4890 nir_address_format_num_components(nir_address_format addr_format) in nir_address_format_num_components() argument
4892 switch (addr_format) { in nir_address_format_num_components()
4909 nir_address_format_to_glsl_type(nir_address_format addr_format) in nir_address_format_to_glsl_type() argument
4911 unsigned bit_size = nir_address_format_bit_size(addr_format); in nir_address_format_to_glsl_type()
4914 nir_address_format_num_components(addr_format)); in nir_address_format_to_glsl_type()
4917 const nir_const_value *nir_address_format_null_value(nir_address_format addr_format);
4920 nir_address_format addr_format);
4923 nir_address_format addr_format);
[all …]
/third_party/mesa3d/src/intel/vulkan/
Danv_nir_apply_pipeline_layout.c310 nir_ssa_def *array_index, nir_address_format addr_format, in build_res_index() argument
318 switch (addr_format) { in build_res_index()
405 nir_address_format addr_format) in build_res_reindex() argument
407 switch (addr_format) { in build_res_reindex()
438 nir_ssa_def *index, nir_address_format addr_format, in build_desc_addr() argument
441 switch (addr_format) { in build_desc_addr()
502 nir_address_format addr_format, in build_buffer_addr_for_res_index() argument
506 assert(addr_format == state->desc_addr_format); in build_buffer_addr_for_res_index()
507 return build_desc_addr(b, NULL, desc_type, res_index, addr_format, state); in build_buffer_addr_for_res_index()
508 } else if (addr_format == nir_address_format_32bit_index_offset) { in build_buffer_addr_for_res_index()
[all …]
/third_party/mesa3d/src/compiler/spirv/
Dvtn_variables.c56 nir_address_format addr_format = vtn_mode_to_address_format(b, ptr->mode); in vtn_align_pointer() local
57 if (addr_format == nir_address_format_logical) in vtn_align_pointer()
251 nir_address_format addr_format = vtn_mode_to_address_format(b, var->mode); in vtn_variable_resource_index() local
253 nir_address_format_num_components(addr_format), in vtn_variable_resource_index()
254 nir_address_format_bit_size(addr_format), NULL); in vtn_variable_resource_index()
274 nir_address_format addr_format = vtn_mode_to_address_format(b, mode); in vtn_resource_reindex() local
276 nir_address_format_num_components(addr_format), in vtn_resource_reindex()
277 nir_address_format_bit_size(addr_format), NULL); in vtn_resource_reindex()
296 nir_address_format addr_format = vtn_mode_to_address_format(b, mode); in vtn_descriptor_load() local
298 nir_address_format_num_components(addr_format), in vtn_descriptor_load()
[all …]
Dvtn_cfg.c190 nir_address_format addr_format = in vtn_cfg_handle_prepass_instruction() local
194 .num_components = nir_address_format_num_components(addr_format), in vtn_cfg_handle_prepass_instruction()
195 .bit_size = nir_address_format_bit_size(addr_format), in vtn_cfg_handle_prepass_instruction()
Dspirv_to_nir.c1750 nir_address_format addr_format = in vtn_handle_type() local
1752 assert(nir_address_format_num_components(addr_format) == 1); in vtn_handle_type()
1753 unsigned bit_size = nir_address_format_bit_size(addr_format); in vtn_handle_type()
1826 nir_address_format addr_format = vtn_mode_to_address_format(b, mode); in vtn_null_constant() local
1828 const nir_const_value *null_value = nir_address_format_null_value(addr_format); in vtn_null_constant()
1830 sizeof(nir_const_value) * nir_address_format_num_components(addr_format)); in vtn_null_constant()
5392 nir_address_format addr_format = vtn_mode_to_address_format( in vtn_handle_ptr() local
5407 addr_format); in vtn_handle_ptr()
5418 addr_format); in vtn_handle_ptr()
/third_party/mindspore/mindspore/ccsrc/debug/
Dtensor_load.h199 TypeId device_type, const std::string &addr_format, size_t slot) { in DumpTensorToFile() argument
208 path = filepath + '.' + addr_format; in DumpTensorToFile()
Ddebug_services.h408 TypeId device_type, const std::string &addr_format, size_t slot) const;
Ddebug_services.cc1257 … TypeId host_type, TypeId device_type, const std::string &addr_format, in DumpTensorToFile() argument
1260 device_type, addr_format, slot); in DumpTensorToFile()
/third_party/mindspore/mindspore/ccsrc/debug/debugger/
Ddebugger.h107 TypeId device_type, const std::string &addr_format, size_t slot) const;
Ddebugger.cc1155 … TypeId device_type, const std::string &addr_format, size_t slot) const { in DumpTensorToFile() argument
1157 device_type, addr_format, slot); in DumpTensorToFile()