Home
last modified time | relevance | path

Searched refs:has_dest (Results 1 – 25 of 36) sorted by relevance

12

/third_party/mesa3d/src/panfrost/bifrost/
Dbi_lower_divergent_indirects.c93 bool has_dest = nir_intrinsic_infos[intr->intrinsic].has_dest; in bi_lower_divergent_indirects_impl() local
94 unsigned size = has_dest ? nir_dest_bit_size(intr->dest) : 32; in bi_lower_divergent_indirects_impl()
95 nir_ssa_def *zero = has_dest ? nir_imm_zero(b, 1, size) : NULL; in bi_lower_divergent_indirects_impl()
97 nir_ssa_def *res = has_dest ? in bi_lower_divergent_indirects_impl()
108 if (has_dest) { in bi_lower_divergent_indirects_impl()
115 if (has_dest) in bi_lower_divergent_indirects_impl()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_nir_lower_io_offsets.c171 bool has_dest = nir_intrinsic_infos[intrinsic->intrinsic].has_dest; in lower_offset_for_ssbo() local
175 if ((has_dest && intrinsic->dest.ssa.bit_size == 16) || in lower_offset_for_ssbo()
176 (!has_dest && intrinsic->src[0].ssa->bit_size == 16)) in lower_offset_for_ssbo()
209 if (has_dest) { in lower_offset_for_ssbo()
241 if (has_dest) { in lower_offset_for_ssbo()
Dir3_image.c114 int bit_size = info->has_dest ? nir_dest_bit_size(instr->dest) : 32; in ir3_get_type_for_image_intrinsic()
Dir3_nir_lower_tess.c163 if (nir_intrinsic_infos[op].has_dest) in replace_intrinsic()
169 if (nir_intrinsic_infos[op].has_dest) in replace_intrinsic()
/third_party/mesa3d/src/intel/compiler/
Dbrw_nir_lower_mem_access_bit_sizes.c44 assert(!info->has_dest); in dup_mem_intrinsic()
68 if (info->has_dest) { in dup_mem_intrinsic()
78 return info->has_dest ? &dup->dest.ssa : NULL; in dup_mem_intrinsic()
Dbrw_fs_nir.cpp2676 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_vs_intrinsic()
2832 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_tcs_intrinsic()
3100 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_tes_intrinsic()
3214 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_gs_intrinsic()
3431 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_fs_intrinsic()
3809 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_cs_intrinsic()
3984 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_bs_intrinsic()
4241 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_intrinsic()
5784 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_ssbo_atomic()
5817 if (nir_intrinsic_infos[instr->intrinsic].has_dest) in nir_emit_ssbo_atomic_float()
[all …]
Dbrw_eu.h1257 bool transpose, unsigned cache_ctrl, bool has_dest) in lsc_msg_desc() argument
1261 unsigned dest_length = !has_dest ? 0 : in lsc_msg_desc()
Dbrw_nir.c75 if (nir_intrinsic_infos[intr->intrinsic].has_dest) { in remap_tess_levels()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_wrmasks.c101 assert(!info->has_dest); /* expecting only store intrinsics */ in split_wrmask()
Dnir_inline_helpers.h14 if (nir_intrinsic_infos[intrin->intrinsic].has_dest) in _nir_foreach_dest()
Dnir_lower_system_values.c75 if (!nir_intrinsic_infos[intrin->intrinsic].has_dest) in lower_system_value_instr()
267 if (!nir_intrinsic_infos[intrin->intrinsic].has_dest) in lower_compute_system_value_instr()
Dnir_opt_dce.c73 (info->has_dest && is_dest_live(&intrin->dest, defs_live)); in is_live()
Dnir_instr_set.c246 if (info->has_dest) { in hash_intrinsic()
729 if (info->has_dest && intrinsic1->dest.ssa.num_components != in nir_instrs_equal()
733 if (info->has_dest && intrinsic1->dest.ssa.bit_size != in nir_instrs_equal()
Dnir_opt_shrink_vectors.c229 if (nir_intrinsic_infos[instr->intrinsic].has_dest) { in opt_shrink_vectors_intrinsic()
Dnir_serialize.c1167 if (nir_intrinsic_infos[intrin->intrinsic].has_dest) in write_intrinsic()
1202 if (nir_intrinsic_infos[op].has_dest) in read_intrinsic()
1211 if (nir_intrinsic_infos[op].has_dest && in read_intrinsic()
Dnir_divergence_analysis.c83 if (!nir_intrinsic_infos[instr->intrinsic].has_dest) in visit_intrinsic()
Dnir_clone.c360 if (nir_intrinsic_infos[itr->intrinsic].has_dest) in clone_intrinsic()
Dnir_intrinsics.py83 self.has_dest = (dest_components >= 0)
Dnir.c685 if (nir_intrinsic_infos[op].has_dest) in nir_intrinsic_instr_create()
1361 if (nir_intrinsic_infos[intrin->intrinsic].has_dest) { in nir_instr_ssa_def()
Dnir_print.c803 if (info->has_dest) { in print_intrinsic_instr()
/third_party/mesa3d/src/freedreno/vulkan/
Dtu_shader.c304 if (info->has_dest) { in lower_ssbo_ubo_intrinsic()
322 if (info->has_dest) in lower_ssbo_ubo_intrinsic()
326 if (info->has_dest) in lower_ssbo_ubo_intrinsic()
/third_party/mesa3d/src/microsoft/spirv_to_dxil/
Dspirv_to_dxil.c85 if (!nir_intrinsic_infos[intrin->intrinsic].has_dest) in lower_shader_system_values()
/third_party/mesa3d/src/gallium/auxiliary/nir/
Dnir_to_tgsi.c2624 bool has_dest = nir_intrinsic_infos[instr->intrinsic].has_dest; in nir_to_tgsi_lower_64bit_intrinsic() local
2625 if (has_dest) { in nir_to_tgsi_lower_64bit_intrinsic()
2658 if (has_dest) { in nir_to_tgsi_lower_64bit_intrinsic()
2666 if (has_dest) { in nir_to_tgsi_lower_64bit_intrinsic()
2724 if (!has_dest) { in nir_to_tgsi_lower_64bit_intrinsic()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_shader_nir.c242 if (nir_intrinsic_infos[intr->intrinsic].has_dest) { in scan_instruction()
/third_party/mesa3d/src/amd/compiler/
Daco_instruction_selection_setup.cpp573 if (!nir_intrinsic_infos[intrinsic->intrinsic].has_dest) in init_context()

12