/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_bool_to_bitsize.c | 64 uint32_t bit_size = nir_src_bit_size(alu->src[start_idx].src); in make_sources_canonical() 66 if (nir_src_bit_size(alu->src[i].src) != bit_size) { in make_sources_canonical() 147 uint32_t bit_size = nir_src_bit_size(alu->src[0].src); in lower_alu_instr() 315 bit_size = nir_src_bit_size(alu->src[1].src); in lower_alu_instr() 373 uint32_t src_bit_size = nir_src_bit_size(phi_src->src); in lower_phi_instr()
|
D | nir_loop_analyze.c | 169 nir_src_bit_size(alu->src[0].src) < 64) in instr_cost() 175 if (nir_src_bit_size(alu->src[i].src) == 64 && in instr_cost() 891 assert(nir_src_bit_size(alu->src[0].src) == in calculate_iterations() 892 nir_src_bit_size(alu->src[1].src)); in calculate_iterations() 893 unsigned bit_size = nir_src_bit_size(alu->src[0].src); in calculate_iterations()
|
D | nir_lower_to_source_mods.c | 94 if (nir_src_bit_size(alu->src[i].src) == 64 && in nir_lower_to_source_mods_block()
|
D | nir_lower_bool_to_int32.c | 76 assert(nir_src_bit_size(alu->src[0].src) == 32); in lower_alu_instr()
|
D | nir_instr_set.c | 466 if (nir_src_bit_size(alu1->src[src1].src) != in nir_alu_srcs_negative_equal() 467 nir_src_bit_size(alu2->src[src2].src)) in nir_alu_srcs_negative_equal() 471 nir_src_bit_size(alu1->src[src1].src); in nir_alu_srcs_negative_equal()
|
D | nir_search_helpers.h | 392 unsigned half_bit_size = nir_src_bit_size(instr->src[src].src) / 2; in is_upper_half_zero() 418 (1 << (nir_src_bit_size(instr->src[src].src) / 2)) - 1; in is_lower_half_zero()
|
D | nir_search.c | 283 nir_src_bit_size(instr->src[src].src) != value->bit_size) in match_value() 370 unsigned bit_size = nir_src_bit_size(instr->src[src].src); in match_value() 461 return nir_src_bit_size(state->variables[-value->bit_size - 1].src); in replace_bitsize()
|
D | nir_opt_phi_precision.c | 174 *bit_size = nir_src_bit_size(alu->src[0].src); in widening_conversion_op()
|
D | nir_gather_info.c | 794 shader->info.bit_sizes_float |= nir_src_bit_size(instr->src[i].src); in gather_alu_info() 796 shader->info.bit_sizes_int |= nir_src_bit_size(instr->src[i].src); in gather_alu_info()
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_nir_lower_image_bitsize.c | 57 if (nir_src_bit_size(intr->src[1]) == 16) in nir_lower_image_bitsize()
|
D | midgard_address.c | 237 bool force_sext = (nir_src_bit_size(*offset) < 64); in mir_set_offset() 244 ins->src_types[2] = nir_type_uint | nir_src_bit_size(*offset); in mir_set_offset()
|
D | midgard_compile.c | 279 int src_bit_size = nir_src_bit_size(alu->src[0].src); in midgard_vectorize_filter() 625 unsigned bits = nir_src_bit_size(src.src); in mir_copy_src() 720 ASSERTED unsigned src_bitsize = nir_src_bit_size(instr->src[0].src); in emit_alu() 920 && nir_src_bit_size(instr->src[0].src) == 32 in emit_alu() 1230 unsigned bitsize = nir_src_bit_size(intr->src[0]) * in emit_global() 1279 unsigned bitsize = nir_src_bit_size(instr->src[val_src]); in emit_atomic() 1429 ins.src_types[0] = base_type | nir_src_bit_size(instr->src[3]); in emit_image_op() 2199 nir_src_bit_size(instr->src[coord_idx].src); in set_tex_coord() 2368 unsigned sz = nir_src_bit_size(instr->src[i].src); in emit_texop_native()
|
/third_party/mesa3d/src/intel/compiler/ |
D | brw_fs_nir.cpp | 515 nir_src_bit_size(src0->src[0].src))); in optimize_extract_to_float() 700 nir_src_bit_size(instr->src[i].src))); in prepare_alu_destination_and_sources() 782 nir_src_bit_size(inot_instr->src[0].src) != 32) in try_emit_b2fi_of_inot() 831 nir_src_bit_size(fsign_instr->src[0].src)); in emit_fsign() 1424 const uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in nir_emit_alu() 1499 nir_src_bit_size(inot_src_instr->src[0].src))); in nir_emit_alu() 1503 nir_src_bit_size(inot_src_instr->src[1].src))); in nir_emit_alu() 1582 uint32_t bit_size = nir_src_bit_size(instr->src[0].src); in nir_emit_alu() 2079 if (nir_src_bit_size(src) == 64 && devinfo->ver == 7) { in get_nir_src() 2087 reg.type = brw_reg_type_from_bit_size(nir_src_bit_size(src), in get_nir_src() [all …]
|
D | brw_vec4_nir.cpp | 260 assert(nir_src_bit_size(src) == 32); in get_nir_src_imm() 425 assert(nir_src_bit_size(instr->src[0]) == 32); in nir_emit_intrinsic() 466 assert(nir_src_bit_size(instr->src[0]) == 32); in nir_emit_intrinsic() 825 unsigned bit_size = nir_src_bit_size(cmp_instr->src[i].src); in optimize_predicate() 957 nir_src_bit_size(instr->src[1].src) == 32 && in try_immediate_source() 961 nir_src_bit_size(instr->src[0].src) == 32 && in try_immediate_source() 1143 nir_src_bit_size(instr->src[i].src)); in nir_emit_alu() 1175 if (nir_src_bit_size(instr->src[0].src) == 64) in nir_emit_alu() 1474 if (nir_src_bit_size(instr->src[0].src) < 64) { in nir_emit_alu() 1571 if (nir_src_bit_size(instr->src[0].src) == 64) { in nir_emit_alu()
|
D | brw_nir_lower_conversions.c | 68 unsigned src_bit_size = nir_src_bit_size(alu->src[0].src); in lower_alu_instr()
|
D | brw_vec4_tcs.cpp | 291 assert(nir_src_bit_size(instr->src[0]) == 32); in nir_emit_intrinsic()
|
/third_party/mesa3d/src/gallium/auxiliary/gallivm/ |
D | lp_bld_nir.c | 1090 src_bit_size[i] = nir_src_bit_size(instr->src[i].src); in visit_alu() 1239 unsigned bit_size = nir_src_bit_size(instr->src[0]); in visit_store_output() 1300 unsigned bit_size = nir_src_bit_size(instr->src[1]); in visit_store_var() 1360 int bitsize = nir_src_bit_size(instr->src[0]); in visit_store_ssbo() 1380 int bitsize = nir_src_bit_size(instr->src[2]); in visit_ssbo_atomic() 1596 int bitsize = nir_src_bit_size(instr->src[0]); in visit_shared_store() 1607 int bitsize = nir_src_bit_size(instr->src[1]); in visit_shared_atomic() 1638 nir_src_bit_size(instr->src[0]), in visit_load_kernel_input() 1647 nir_src_bit_size(instr->src[0]), in visit_load_global() 1656 int bitsize = nir_src_bit_size(instr->src[0]); in visit_store_global() [all …]
|
/third_party/mesa3d/src/gallium/drivers/r600/sfn/ |
D | sfn_nir_lower_64bit.cpp | 128 if (nir_src_bit_size(intr->src[0]) != 64) in filter() 132 if (nir_src_bit_size(intr->src[1]) != 64) in filter() 156 return nir_src_bit_size(alu->src[1].src) == 64; in filter() 637 if (nir_src_bit_size(intr->src[1]) == 64) in filter() 844 *s = nir_src_bit_size(*src) == 64; in store_64bit_intr() 850 if (nir_src_bit_size(*src) != 64) in double2vec2()
|
/third_party/mesa3d/src/microsoft/compiler/ |
D | nir_to_dxil.c | 1500 const int bit_size = nir_src_bit_size(*src); in get_src() 1515 assert(nir_src_bit_size(*src) >= 16); in get_src() 1516 assert(nir_src_bit_size(*src) != 64 || (ctx->mod.feats.doubles && in get_src() 1580 unsigned op0_bit_size = nir_src_bit_size(alu->src[0].src); in emit_shift() 1581 unsigned op1_bit_size = nir_src_bit_size(alu->src[1].src); in emit_shift() 1614 unsigned src_bits = nir_src_bit_size(alu->src[0].src); in get_cast_op() 1727 if (is_double(info->input_types[0], nir_src_bit_size(alu->src[0].src))) in emit_cast() 1773 unsigned src_bits = nir_src_bit_size(alu->src[0].src); in emit_unary_intin() 1792 assert(nir_src_bit_size(alu->src[0].src) == dst_bits); in emit_binary_intin() 1793 assert(nir_src_bit_size(alu->src[1].src) == dst_bits); in emit_binary_intin() [all …]
|
/third_party/mesa3d/src/asahi/compiler/ |
D | agx_compiler.h | 430 agx_size_for_bits(nir_src_bit_size(*src))); in agx_src_index() 434 agx_size_for_bits(nir_src_bit_size(*src))); in agx_src_index()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bifrost_compile.c | 141 unsigned sz = nir_src_bit_size(intr->src[0]); in bi_varying_src0_for_barycentric() 744 return (nir_src_bit_size(*src) == 64) ? in bi_addr_high() 764 bi_store(b, instr->num_components * nir_src_bit_size(instr->src[0]), in bi_emit_store() 777 unsigned sz = nir_src_bit_size(*arg); in bi_emit_axchg_to() 815 unsigned sz = nir_src_bit_size(*arg_1); in bi_emit_acmpxchg_to() 1201 assert(nir_src_bit_size(instr->src[1]) == 32); in bi_emit_intrinsic() 1219 assert(nir_src_bit_size(instr->src[3]) == 32); in bi_emit_intrinsic() 1235 assert(nir_src_bit_size(instr->src[1]) == 32); in bi_emit_intrinsic() 1291 assert(nir_src_bit_size(instr->src[0]) == 1); in bi_emit_intrinsic() 1436 unsigned bitsize = nir_src_bit_size(src.src); in bi_alu_src_index() [all …]
|
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
D | nir_to_spirv.c | 1092 int bit_size = nir_src_bit_size(alu->src[src].src); in get_alu_src_raw() 1543 unsigned bit_size = nir_src_bit_size(alu->src[src].src); in get_alu_src() 1762 nir_src_bit_size(alu->src[0].src), in emit_alu() 1769 nir_src_bit_size(alu->src[0].src), in emit_alu() 1809 if (nir_src_bit_size(alu->src[0].src) == 1) \ in emit_alu() 2055 unsigned idx = MIN2(nir_src_bit_size(intr->src[0]), 32) >> 4; in emit_store_ssbo() 2058 emit_bo(ctx, ctx->ssbo_vars[const_block_index->u32], nir_src_bit_size(intr->src[0])); in emit_store_ssbo() 2061 unsigned bit_size = nir_src_bit_size(intr->src[0]); in emit_store_ssbo() 2261 bool qword = nir_src_bit_size(intr->src[0]) == 64; in emit_store_shared() 2501 unsigned bit_size = MIN2(nir_src_bit_size(intr->src[0]), 32); in emit_ssbo_atomic_intrinsic() [all …]
|
/third_party/mesa3d/src/freedreno/ir3/ |
D | ir3_context.h | 269 return utype_for_size(nir_src_bit_size(src)); in utype_src()
|
/third_party/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 195 bool is_64 = nir_src_bit_size(instr->src[0]) == 64; in ntt_output_decl() 692 if (nir_src_bit_size(src.src) == 64) { in ntt_get_alu_src() 847 int src_64 = nir_src_bit_size(instr->src[0].src) == 64; in ntt_emit_alu() 1155 if (nir_src_bit_size(instr->src[1].src) == 64) { in ntt_emit_alu() 1551 if (nir_src_bit_size(instr->src[0]) == 64) in ntt_emit_mem() 2489 int src_bit_size = nir_src_bit_size(alu->src[0].src); in ntt_should_vectorize_instr() 2599 nir_src_bit_size(alu->src[0].src) == 64); in scalarize_64bit() 2629 if (nir_src_bit_size(instr->src[0]) != 64) in nir_to_tgsi_lower_64bit_intrinsic()
|
/third_party/mesa3d/docs/relnotes/ |
D | 19.1.3.rst | 96 - nir: Use nir_src_bit_size instead of alu1->dest.dest.ssa.bit_size
|