/external/mesa3d/src/intel/compiler/ |
D | brw_nir_lower_conversions.c | 31 unsigned dst_bit_size, in get_conversion_op() argument 35 nir_alu_type dst_full_type = (nir_alu_type) (dst_type | dst_bit_size); in get_conversion_op() 72 unsigned dst_bit_size = nir_dest_bit_size(alu->dest.dest); in lower_instr() local 89 if ((src_full_type == nir_type_float16 && dst_bit_size == 64) || in lower_instr() 95 dst_type, dst_bit_size, in lower_instr() 115 if ((src_bit_size == 8 && dst_bit_size == 64) || in lower_instr() 116 (src_bit_size == 64 && dst_bit_size == 8)) { in lower_instr() 119 nir_op op2 = get_conversion_op(dst_type, 32, dst_type, dst_bit_size, in lower_instr()
|
/external/mesa3d/src/compiler/nir/ |
D | nir_lower_bool_to_bitsize.c | 46 get_bool_convert_opcode(uint32_t dst_bit_size) in get_bool_convert_opcode() argument 48 switch (dst_bit_size) { in get_bool_convert_opcode() 369 uint32_t dst_bit_size = 0; in lower_phi_instr() local 372 if (dst_bit_size == 0) { in lower_phi_instr() 373 dst_bit_size = src_bit_size; in lower_phi_instr() 374 } else if (src_bit_size != dst_bit_size) { in lower_phi_instr() 377 nir_op convert_op = get_bool_convert_opcode(dst_bit_size); in lower_phi_instr() 385 phi->dest.ssa.bit_size = dst_bit_size; in lower_phi_instr()
|
D | nir_lower_bit_size.c | 52 unsigned dst_bit_size = alu->dest.dest.ssa.bit_size; in lower_alu_instr() local 66 assert(util_is_power_of_two_nonzero(dst_bit_size)); in lower_alu_instr() 67 src = nir_iand(bld, src, nir_imm_int(bld, dst_bit_size - 1)); in lower_alu_instr() 76 assert(dst_bit_size * 2 <= bit_size); in lower_alu_instr() 79 lowered_dst = nir_ushr_imm(bld, lowered_dst, dst_bit_size); in lower_alu_instr() 81 lowered_dst = nir_ishr_imm(bld, lowered_dst, dst_bit_size); in lower_alu_instr() 89 dst_bit_size != bit_size) { in lower_alu_instr() 91 nir_ssa_def *dst = nir_convert_to_bit_size(bld, lowered_dst, type, dst_bit_size); in lower_alu_instr()
|
D | nir_opcodes.py | 225 for dst_bit_size in type_sizes(dst_t): 226 if dst_bit_size == 16 and dst_t == tfloat and src_t == tfloat: 250 dst_bit_size, 252 dst_t + str(dst_bit_size), 254 elif dst_bit_size == 32 and dst_t == tfloat and src_t == tfloat: 263 dst_bit_size), 264 dst_t + str(dst_bit_size), src_t, conv_expr) 268 dst_bit_size), 269 dst_t + str(dst_bit_size), src_t, conv_expr)
|
D | nir_search.c | 475 unsigned dst_bit_size = replace_bitsize(value, search_bitsize, state); in construct_value() local 476 nir_op op = nir_op_for_search_op(expr->opcode, dst_bit_size); in construct_value() 483 dst_bit_size, NULL); in construct_value()
|
D | nir_algebraic.py | 720 lambda dst_bit_size, unused: 723 val, dst_bit_size, nir_op.name, dst_type_bits))
|
/external/mesa3d/src/compiler/spirv/ |
D | vtn_alu.c | 258 unsigned src_bit_size, unsigned dst_bit_size) in vtn_nir_alu_op_for_spirv_opcode() argument 357 nir_alu_type dst_type = convert_op_dst_type(opcode) | dst_bit_size; in vtn_nir_alu_op_for_spirv_opcode() 603 unsigned dst_bit_size = glsl_get_bit_size(dest_type); in vtn_handle_alu() local 606 src_bit_size, dst_bit_size); in vtn_handle_alu() 638 unsigned dst_bit_size = glsl_get_bit_size(dest_type); in vtn_handle_alu() local 640 src_bit_size, dst_bit_size); in vtn_handle_alu() 670 unsigned dst_bit_size = glsl_get_bit_size(dest_type); in vtn_handle_alu() local 672 nir_alu_type dst_type = convert_op_dst_type(opcode) | dst_bit_size; in vtn_handle_alu() 714 unsigned dst_bit_size = glsl_get_bit_size(dest_type); in vtn_handle_alu() local 716 src0_bit_size, dst_bit_size); in vtn_handle_alu() [all …]
|
D | vtn_private.h | 907 unsigned src_bit_size, unsigned dst_bit_size);
|
/external/mesa3d/prebuilt-intermediates/nir/ |
D | nir_opcodes.c | 10 unsigned dst_bit_size = nir_alu_type_get_type_size(dst); in nir_type_conversion_op() local 18 src_bit_size == dst_bit_size) { in nir_type_conversion_op() 31 switch (dst_bit_size) { in nir_type_conversion_op() 51 switch (dst_bit_size) { in nir_type_conversion_op() 65 switch (dst_bit_size) { in nir_type_conversion_op() 89 switch (dst_bit_size) { in nir_type_conversion_op() 109 switch (dst_bit_size) { in nir_type_conversion_op() 124 switch (dst_bit_size) { in nir_type_conversion_op() 146 switch (dst_bit_size) { in nir_type_conversion_op() 166 switch (dst_bit_size) { in nir_type_conversion_op() [all …]
|
/external/mesa3d/src/broadcom/vulkan/ |
D | v3dv_meta_copy.c | 3593 const uint32_t dst_bit_size = in get_color_blit_fs() local 3598 if (dst_bit_size >= src_bit_size) in get_color_blit_fs() 3602 nir_ssa_def *max = nir_imm_int(&b, (1 << dst_bit_size) - 1); in get_color_blit_fs() 3605 nir_ssa_def *max = nir_imm_int(&b, (1 << (dst_bit_size - 1)) - 1); in get_color_blit_fs() 3606 nir_ssa_def *min = nir_imm_int(&b, -(1 << (dst_bit_size - 1))); in get_color_blit_fs()
|
/external/mesa3d/src/gallium/auxiliary/nir/ |
D | nir_to_tgsi.c | 2216 int dst_bit_size = nir_dest_bit_size(a->dest.dest); in ntt_should_vectorize_instr() local 2218 if (src_bit_size == 64 || dst_bit_size == 64) { in ntt_should_vectorize_instr()
|