Home
last modified time | relevance | path

Searched refs:nir_dest_bit_size (Results 1 – 25 of 53) sorted by relevance

123

/third_party/mesa3d/src/intel/compiler/
Dbrw_vec4_nir.cpp407 assert(nir_dest_bit_size(instr->dest) == 32); in nir_emit_intrinsic()
528 assert(nir_dest_bit_size(instr->dest) == 32); in nir_emit_intrinsic()
682 } else if (nir_dest_bit_size(instr->dest) == 32) { in nir_emit_intrinsic()
1129 nir_dest_bit_size(instr->dest.dest)); in nir_emit_alu()
1206 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1214 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1225 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1259 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1289 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1299 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
[all …]
Dbrw_fs_nir.cpp688 nir_dest_bit_size(instr->dest.dest))); in prepare_alu_destination_and_sources()
781 if (nir_dest_bit_size(instr->dest.dest) != 32 || in try_emit_b2fi_of_inot()
1276 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1282 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1330 assert(nir_dest_bit_size(instr->dest.dest) == 32); in nir_emit_alu()
1355 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1361 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1367 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1383 assert(nir_dest_bit_size(instr->dest.dest) < 64); in nir_emit_alu()
1495 nir_dest_bit_size(instr->dest.dest))); in nir_emit_alu()
[all …]
Dbrw_vec4_gs_nir.cpp41 assert(nir_dest_bit_size(instr->dest) == 32); in nir_emit_intrinsic()
Dbrw_nir_lower_conversions.c72 unsigned dst_bit_size = nir_dest_bit_size(alu->dest.dest); in lower_alu_instr()
Dbrw_vec4_tes.cpp160 assert(nir_dest_bit_size(instr->dest) == 32); in nir_emit_intrinsic()
/third_party/mesa3d/src/panfrost/util/
Dpan_lower_sample_position.c58 if (decoded->bit_size != nir_dest_bit_size(intr->dest)) in pan_lower_sample_pos_impl()
59 decoded = nir_f2fN(b, decoded, nir_dest_bit_size(intr->dest)); in pan_lower_sample_pos_impl()
Dpan_lower_64bit_intrin.c55 if (nir_dest_bit_size(intr->dest) != 64) in nir_lower_64bit_intrin_instr()
/third_party/mesa3d/src/microsoft/clc/
Dclc_nir.c46 nir_dest_bit_size(intr->dest)); in lower_load_base_global_invocation_id()
64 nir_dest_bit_size(intr->dest)); in lower_load_work_dim()
98 nir_dest_bit_size(intr->dest)); in lower_load_num_workgroups()
116 nir_dest_bit_size(intr->dest)); in lower_load_base_workgroup_id()
173 unsigned bit_size = nir_dest_bit_size(intr->dest); in lower_load_kernel_input()
/third_party/mesa3d/src/compiler/nir/
Dnir_lower_memcpy.c53 index = nir_i2i(b, index, nir_dest_bit_size(parent->dest)); in memcpy_load_deref_elem()
74 index = nir_i2i(b, index, nir_dest_bit_size(parent->dest)); in memcpy_store_deref_elem()
Dnir_lower_bool_to_bitsize.c113 if (nir_dest_bit_size(alu->dest.dest) > 1) in lower_alu_instr()
136 if (nir_dest_bit_size(alu->dest.dest) == 1) in lower_alu_instr()
363 if (nir_dest_bit_size(phi->dest) != 1) in lower_phi_instr()
Dnir_validate.c390 unsigned dest_bit_size = nir_dest_bit_size(instr->dest.dest); in validate_alu_instr()
461 validate_src(&instr->parent, state, nir_dest_bit_size(instr->dest), in validate_deref_instr()
502 nir_dest_bit_size(instr->dest), 1); in validate_deref_instr()
516 nir_dest_bit_size(instr->dest), 1); in validate_deref_instr()
651 int bit_size = nir_dest_bit_size(instr->dest); in validate_intrinsic_instr()
684 validate_assert(state, nir_dest_bit_size(instr->dest) >= 8); in validate_intrinsic_instr()
743 validate_assert(state, nir_dest_bit_size(instr->dest) == in validate_intrinsic_instr()
759 validate_assert(state, nir_dest_bit_size(instr->dest) == in validate_intrinsic_instr()
771 validate_assert(state, nir_dest_bit_size(instr->dest) == 32); in validate_intrinsic_instr()
786 validate_assert(state, nir_dest_bit_size(instr->dest) == in validate_intrinsic_instr()
[all …]
Dnir_loop_analyze.c157 if ((options->lower_flrp16 && nir_dest_bit_size(alu->dest.dest) == 16) || in instr_cost()
158 (options->lower_flrp32 && nir_dest_bit_size(alu->dest.dest) == 32) || in instr_cost()
159 (options->lower_flrp64 && nir_dest_bit_size(alu->dest.dest) == 64)) in instr_cost()
168 if (nir_dest_bit_size(alu->dest.dest) < 64 && in instr_cost()
172 bool is_fp64 = nir_dest_bit_size(alu->dest.dest) == 64 && in instr_cost()
Dnir_opt_undef.c92 nir_dest_bit_size(alu->dest.dest)); in opt_undef_vecN()
Dnir_lower_to_source_mods.c143 if (nir_dest_bit_size(alu->dest.dest) == 64 && in nir_lower_to_source_mods_block()
/third_party/mesa3d/src/panfrost/midgard/
Dnir_fuse_io_16.c67 if (nir_dest_bit_size(intr->dest) != 32) in nir_fuse_io_16()
/third_party/mesa3d/src/panfrost/bifrost/
Dbi_lower_divergent_indirects.c94 unsigned size = has_dest ? nir_dest_bit_size(intr->dest) : 32; in bi_lower_divergent_indirects_impl()
/third_party/mesa3d/src/freedreno/ir3/
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_analyze_ubo_ranges.c542 if (nir_dest_bit_size(instr->dest) == 16) { in ir3_nir_lower_load_const_instr()
562 if (nir_dest_bit_size(instr->dest) == 16) { in ir3_nir_lower_load_const_instr()
Dir3_context.h275 return utype_for_size(nir_dest_bit_size(dst)); in utype_dst()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_nir_lower_64bit.cpp124 if (nir_dest_bit_size(intr->dest) != 64) in filter()
145 return nir_dest_bit_size(alu->dest.dest) == 64; in filter()
635 return nir_dest_bit_size(intr->dest) == 64; in filter()
650 return nir_dest_bit_size(alu->dest.dest) == 64; in filter()
654 return nir_dest_bit_size(phi->dest) == 64; in filter()
Dsfn_nir_legalize_image_load_store.cpp48 nir_dest_bit_size(ir->dest)); in r600_legalize_image_load_store_impl()
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/
Dnir_to_spirv.c320 unsigned bit_size = nir_dest_bit_size(*dest); in get_dest_uvec_type()
1210 unsigned bit_size = nir_dest_bit_size(*dest); in store_dest()
1580 unsigned bit_size = nir_dest_bit_size(*dest); in get_dest_type()
1636 unsigned bit_size = nir_dest_bit_size(alu->dest.dest); in emit_alu()
1944 unsigned bit_size = nir_dest_bit_size(intr->dest); in emit_load_bo()
1949 emit_bo(ctx, ctx->ssbo_vars[const_block_index->u32], nir_dest_bit_size(intr->dest)); in emit_load_bo()
1953 emit_bo(ctx, ctx->ubo_vars[const_block_index->u32], nir_dest_bit_size(intr->dest)); in emit_load_bo()
2041 if (nir_dest_bit_size(intr->dest) == 1) in emit_load_bo()
2169 unsigned bit_size = nir_dest_bit_size(intr->dest); in emit_load_deref()
2227 unsigned bit_size = nir_dest_bit_size(intr->dest); in emit_load_shared()
[all …]
/third_party/mesa3d/src/asahi/compiler/
Dagx_compiler.h442 agx_size_for_bits(nir_dest_bit_size(*dst))); in agx_dest_index()
446 agx_size_for_bits(nir_dest_bit_size(*dst))); in agx_dest_index()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_nir.c1118 …cast_type(bld_base, result[c], nir_op_infos[instr->op].output_type, nir_dest_bit_size(instr->dest.… in visit_alu()
1217 unsigned bit_size = nir_dest_bit_size(instr->dest); in visit_load_input()
1270 unsigned bit_size = nir_dest_bit_size(instr->dest); in visit_load_var()
1324 … bld_base->load_ubo(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_load_ubo()
1337 … bld_base->load_ubo(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_load_push_constant()
1348 … bld_base->load_mem(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_load_ssbo()
1585 … bld_base->load_mem(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->dest), in visit_shared_load()
1637 …bld_base->load_kernel_arg(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr-… in visit_load_kernel_input()
1646 …bld_base->load_global(bld_base, nir_dest_num_components(instr->dest), nir_dest_bit_size(instr->des… in visit_load_global()
1715 nir_dest_bit_size(instr->dest), offset, result); in visit_load_scratch()
[all …]
/third_party/mesa3d/src/gallium/drivers/zink/
Dnir_lower_dynamic_bo_access.c62 nir_dest_bit_size(instr->dest), NULL); in recursive_generate_bo_ssa_def()

123