| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_nir_lower_conversions.c | 31 unsigned dst_bit_size, 35 nir_alu_type dst_full_type = (nir_alu_type) (dst_type | dst_bit_size); 72 unsigned dst_bit_size = nir_dest_bit_size(alu->dest.dest); local in function:lower_instr 89 if ((src_full_type == nir_type_float16 && dst_bit_size == 64) || 95 dst_type, dst_bit_size, 115 if ((src_bit_size == 8 && dst_bit_size == 64) || 116 (src_bit_size == 64 && dst_bit_size == 8)) { 119 nir_op op2 = get_conversion_op(dst_type, 32, dst_type, dst_bit_size, 28 get_conversion_op(nir_alu_type src_type,unsigned src_bit_size,nir_alu_type dst_type,unsigned dst_bit_size,nir_rounding_mode rounding_mode) argument
|
| /xsrc/external/mit/MesaLib/dist/src/intel/compiler/ |
| H A D | brw_nir_lower_conversions.c | 31 unsigned dst_bit_size, 35 nir_alu_type dst_full_type = (nir_alu_type) (dst_type | dst_bit_size); 72 unsigned dst_bit_size = nir_dest_bit_size(alu->dest.dest); local in function:lower_alu_instr 89 if ((src_full_type == nir_type_float16 && dst_bit_size == 64) || 95 dst_type, dst_bit_size, 115 if ((src_bit_size == 8 && dst_bit_size == 64) || 116 (src_bit_size == 64 && dst_bit_size == 8)) { 119 nir_op op2 = get_conversion_op(dst_type, 32, dst_type, dst_bit_size, 28 get_conversion_op(nir_alu_type src_type,unsigned src_bit_size,nir_alu_type dst_type,unsigned dst_bit_size,nir_rounding_mode rounding_mode) argument
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/nir/ |
| H A D | nir_lower_bit_size.c | 52 unsigned dst_bit_size = alu->dest.dest.ssa.bit_size; local in function:lower_alu_instr 66 assert(util_is_power_of_two_nonzero(dst_bit_size)); 67 src = nir_iand(bld, src, nir_imm_int(bld, dst_bit_size - 1)); 76 assert(dst_bit_size * 2 <= bit_size); 79 lowered_dst = nir_ushr_imm(bld, lowered_dst, dst_bit_size); 81 lowered_dst = nir_ishr_imm(bld, lowered_dst, dst_bit_size); 89 const int64_t int_max = u_intN_max(dst_bit_size); 90 const int64_t int_min = u_intN_min(dst_bit_size); 96 const uint64_t uint_max = u_uintN_max(dst_bit_size); 106 dst_bit_size ! [all...] |
| H A D | nir_lower_bool_to_bitsize.c | 46 get_bool_convert_opcode(uint32_t dst_bit_size) argument 48 switch (dst_bit_size) { 371 uint32_t dst_bit_size = 0; local in function:lower_phi_instr 374 if (dst_bit_size == 0) { 375 dst_bit_size = src_bit_size; 376 } else if (src_bit_size != dst_bit_size) { 379 nir_op convert_op = get_bool_convert_opcode(dst_bit_size); 387 phi->dest.ssa.bit_size = dst_bit_size;
|
| H A D | nir_opcodes.py | 240 for dst_bit_size in type_sizes(dst_t): 241 if dst_bit_size == 16 and dst_t == tfloat and src_t == tfloat: 265 dst_bit_size, 267 dst_t + str(dst_bit_size), 269 elif dst_bit_size == 32 and dst_t == tfloat and src_t == tfloat: 278 dst_bit_size), 279 dst_t + str(dst_bit_size), src_t, conv_expr) 283 dst_bit_size), 284 dst_t + str(dst_bit_size), src_t, conv_expr)
|
| H A D | nir_search.c | 475 unsigned dst_bit_size = replace_bitsize(value, search_bitsize, state); local in function:construct_value 476 nir_op op = nir_op_for_search_op(expr->opcode, dst_bit_size); 483 dst_bit_size, NULL);
|
| H A D | nir_algebraic.py | 701 lambda dst_bit_size, unused: 704 val, dst_bit_size, nir_op.name, dst_type_bits))
|
| H A D | nir_builder.h | 1689 nir_mask(nir_builder *b, nir_ssa_def *bits, unsigned dst_bit_size) argument 1691 return nir_ushr(b, nir_imm_intN_t(b, -1, dst_bit_size), 1692 nir_isub_imm(b, dst_bit_size, nir_u2u32(b, bits)));
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_lower_bit_size.c | 71 unsigned dst_bit_size = alu->dest.dest.ssa.bit_size; local in function:lower_instr 73 nir_ssa_def *dst = convert_to_bit_size(bld, lowered_dst, type, dst_bit_size);
|
| H A D | nir_search.c | 442 unsigned dst_bit_size = replace_bitsize(value, search_bitsize, state); local in function:construct_value 443 nir_op op = nir_op_for_search_op(expr->opcode, dst_bit_size); 450 dst_bit_size, NULL);
|
| H A D | nir_algebraic.py | 624 lambda dst_bit_size, unused: 627 val, dst_bit_size, nir_op.name, dst_type_bits))
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| H A D | vtn_alu.c | 218 unsigned src_bit_size, unsigned dst_bit_size) 332 dst_type |= dst_bit_size; 524 unsigned dst_bit_size = glsl_get_bit_size(type); local in function:vtn_handle_alu 526 src_bit_size, dst_bit_size); 550 unsigned dst_bit_size = glsl_get_bit_size(type); local in function:vtn_handle_alu 552 src_bit_size, dst_bit_size); 585 unsigned dst_bit_size = glsl_get_bit_size(type); local in function:vtn_handle_alu 587 src0_bit_size, dst_bit_size); 628 unsigned dst_bit_size = glsl_get_bit_size(type); local in function:vtn_handle_alu 630 src_bit_size, dst_bit_size); 216 vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder * b,SpvOp opcode,bool * swap,unsigned src_bit_size,unsigned dst_bit_size) argument [all...] |
| H A D | vtn_private.h | 806 unsigned src_bit_size, unsigned dst_bit_size);
|
| /xsrc/external/mit/MesaLib.old/src/compiler/nir/ |
| H A D | nir_opcodes.c | 10 unsigned dst_bit_size = nir_alu_type_get_type_size(dst); local in function:nir_type_conversion_op 18 src_bit_size == dst_bit_size) { 31 switch (dst_bit_size) { 51 switch (dst_bit_size) { 65 switch (dst_bit_size) { 83 switch (dst_bit_size) { 103 switch (dst_bit_size) { 118 switch (dst_bit_size) { 134 switch (dst_bit_size) { 154 switch (dst_bit_size) { [all...] |
| /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/ |
| H A D | vtn_alu.c | 258 unsigned src_bit_size, unsigned dst_bit_size) 357 nir_alu_type dst_type = convert_op_dst_type(opcode) | dst_bit_size; 633 unsigned dst_bit_size = glsl_get_bit_size(dest_type); local in function:vtn_handle_alu 636 src_bit_size, dst_bit_size); 701 unsigned dst_bit_size = glsl_get_bit_size(dest_type); local in function:vtn_handle_alu 703 nir_alu_type dst_type = convert_op_dst_type(opcode) | dst_bit_size; 720 dest->def = nir_convert_alu_types(&b->nb, dst_bit_size, src[0], 745 unsigned dst_bit_size = glsl_get_bit_size(dest_type); local in function:vtn_handle_alu 747 src0_bit_size, dst_bit_size); 805 unsigned dst_bit_size local in function:vtn_handle_alu 256 vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder * b,SpvOp opcode,bool * swap,bool * exact,unsigned src_bit_size,unsigned dst_bit_size) argument [all...] |
| H A D | vtn_private.h | 956 unsigned src_bit_size, unsigned dst_bit_size);
|
| /xsrc/external/mit/MesaLib/src/compiler/nir/ |
| H A D | nir_opcodes.c | 10 unsigned dst_bit_size = nir_alu_type_get_type_size(dst); local in function:nir_type_conversion_op 18 src_bit_size == dst_bit_size) { 31 switch (dst_bit_size) { 51 switch (dst_bit_size) { 65 switch (dst_bit_size) { 89 switch (dst_bit_size) { 109 switch (dst_bit_size) { 124 switch (dst_bit_size) { 146 switch (dst_bit_size) { 166 switch (dst_bit_size) { [all...] |
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| H A D | dxil_nir.c | 41 unsigned dst_bit_size, 45 unsigned step = DIV_ROUND_UP(dst_bit_size, 32); 46 unsigned comps_per32b = 32 / dst_bit_size; 50 switch (dst_bit_size) { 63 tmp = nir_unpack_bits(b, nir_channel(b, vec32, i), dst_bit_size); 40 extract_comps_from_vec32(nir_builder * b,nir_ssa_def * vec32,unsigned dst_bit_size,nir_ssa_def ** dst_comps,unsigned num_dst_comps) argument
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| H A D | v3dv_meta_copy.c | 3311 const uint32_t dst_bit_size = local in function:get_color_blit_fs 3316 if (dst_bit_size >= src_bit_size) 3319 assert(dst_bit_size > 0); 3321 nir_ssa_def *max = nir_imm_int(&b, (1 << dst_bit_size) - 1); 3324 nir_ssa_def *max = nir_imm_int(&b, (1 << (dst_bit_size - 1)) - 1); 3325 nir_ssa_def *min = nir_imm_int(&b, -(1 << (dst_bit_size - 1)));
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/ |
| H A D | midgard_compile.c | 280 int dst_bit_size = nir_dest_bit_size(alu->dest.dest); local in function:midgard_vectorize_filter 282 if (src_bit_size == 64 || dst_bit_size == 64) {
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/nir/ |
| H A D | nir_to_tgsi.c | 2490 int dst_bit_size = nir_dest_bit_size(alu->dest.dest); local in function:ntt_should_vectorize_instr 2492 if (src_bit_size == 64 || dst_bit_size == 64) {
|