| /xsrc/external/mit/MesaLib.old/dist/src/intel/compiler/ |
| H A D | brw_nir_lower_conversions.c | 29 unsigned src_bit_size, 34 nir_alu_type src_full_type = (nir_alu_type) (src_type | src_bit_size); 68 unsigned src_bit_size = nir_src_bit_size(alu->src[0].src); local in function:lower_instr 70 nir_alu_type src_full_type = (nir_alu_type) (src_type | src_bit_size); 90 (src_bit_size == 64 && dst_full_type == nir_type_float16)) { 91 nir_op op1 = get_conversion_op(src_type, src_bit_size, 115 if ((src_bit_size == 8 && dst_bit_size == 64) || 116 (src_bit_size == 64 && dst_bit_size == 8)) { 117 nir_op op1 = get_conversion_op(src_type, src_bit_size, dst_type, 32, 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 | 29 unsigned src_bit_size, 34 nir_alu_type src_full_type = (nir_alu_type) (src_type | src_bit_size); 68 unsigned src_bit_size = nir_src_bit_size(alu->src[0].src); local in function:lower_alu_instr 70 nir_alu_type src_full_type = (nir_alu_type) (src_type | src_bit_size); 90 (src_bit_size == 64 && dst_full_type == nir_type_float16)) { 91 nir_op op1 = get_conversion_op(src_type, src_bit_size, 115 if ((src_bit_size == 8 && dst_bit_size == 64) || 116 (src_bit_size == 64 && dst_bit_size == 8)) { 117 nir_op op1 = get_conversion_op(src_type, src_bit_size, dst_type, 32, 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_conversion_builder.h | 61 unsigned src_bit_size = src->bit_size; local in function:nir_round_float_to_float 62 if (dest_bit_size > src_bit_size) 65 nir_op low_conv = nir_type_conversion_op(nir_type_float | src_bit_size, 69 nir_type_float | src_bit_size, 237 unsigned src_bit_size = nir_alu_type_get_type_size(src_type); local in function:nir_get_clamp_limits 239 assert(dest_bit_size != 0 && src_bit_size != 0); 257 *low = nir_imm_intN_t(b, ilow, src_bit_size); 258 *high = nir_imm_intN_t(b, ihigh, src_bit_size); 260 assert(src_bit_size >= dest_bit_size); 261 *high = nir_imm_intN_t(b, ihigh, src_bit_size); 401 unsigned src_bit_size = nir_alu_type_get_type_size(src_type); local in function:nir_simplify_conversion_rounding [all...] |
| H A D | nir_opt_phi_precision.c | 320 unsigned src_bit_size; local in function:find_widening_op 321 nir_op src_op = widening_conversion_op(instr, &src_bit_size); 333 if (*bit_size && (*bit_size != src_bit_size)) 337 *bit_size = src_bit_size;
|
| H A D | nir_algebraic.py | 656 lambda first_unsized_src_bit_size, src_bit_size: 660 src, src_bit_size)) 663 lambda first_unsized_src_bit_size, src_bit_size: 668 src_bit_size, val)) 672 lambda src_bit_size, unused: 675 src, src_bit_size, nir_op.name, src_type_bits)) 678 lambda src_bit_size, unused: 682 src, src_bit_size, nir_op.name, src_type_bits)) 688 lambda val_bit_size, src_bit_size: 691 val, val_bit_size, first_unsized_src, src_bit_size)) [all...] |
| H A D | nir_lower_bool_to_bitsize.c | 373 uint32_t src_bit_size = nir_src_bit_size(phi_src->src); local in function:lower_phi_instr 375 dst_bit_size = src_bit_size; 376 } else if (src_bit_size != dst_bit_size) {
|
| H A D | nir_validate.c | 371 unsigned src_bit_size = nir_src_bit_size(instr->src[i].src); local in function:validate_alu_instr 373 validate_assert(state, src_bit_size == nir_alu_type_get_type_size(src_type)); 375 validate_assert(state, src_bit_size == instr_bit_size); 377 instr_bit_size = src_bit_size; 382 validate_assert(state, src_bit_size == 16 || src_bit_size == 32 || 383 src_bit_size == 64);
|
| H A D | nir_builder.h | 467 unsigned src_bit_size = instr->src[i].src.ssa->bit_size; local in function:nir_builder_alu_instr_finish_and_insert 470 assert(src_bit_size == bit_size); 472 bit_size = src_bit_size; 474 assert(src_bit_size == 1128 const unsigned src_bit_size = srcs[src_idx]->bit_size; local in function:nir_extract_bits 1131 rel_bit / src_bit_size); 1134 comp = nir_channel(b, unpacked, (rel_bit % src_bit_size) /
|
| /xsrc/external/mit/MesaLib/dist/src/gallium/auxiliary/gallivm/ |
| H A D | lp_bld_nir.c | 205 uint32_t src_bit_size, 210 struct lp_build_context *int_bld = get_int_bld(bld_base, is_unsigned, src_bit_size); 212 if (src_bit_size == 16) 214 else if (src_bit_size == 64) 220 uint32_t src_bit_size, 224 struct lp_build_context *flt_bld = get_flt_bld(bld_base, src_bit_size); 226 if (src_bit_size == 64) 228 if (src_bit_size == 16) 235 uint32_t src_bit_size, 239 struct lp_build_context *flt_bld = get_flt_bld(bld_base, src_bit_size); 204 int_to_bool32(struct lp_build_nir_context * bld_base,uint32_t src_bit_size,bool is_unsigned,LLVMValueRef val) argument 219 flt_to_bool32(struct lp_build_nir_context * bld_base,uint32_t src_bit_size,LLVMValueRef val) argument 233 fcmp32(struct lp_build_nir_context * bld_base,enum pipe_compare_func compare,uint32_t src_bit_size,LLVMValueRef src[NIR_MAX_VEC_COMPONENTS]) argument 253 icmp32(struct lp_build_nir_context * bld_base,enum pipe_compare_func compare,bool is_unsigned,uint32_t src_bit_size,LLVMValueRef src[NIR_MAX_VEC_COMPONENTS]) argument 351 emit_b32csel(struct lp_build_nir_context * bld_base,unsigned src_bit_size[NIR_MAX_VEC_COMPONENTS],LLVMValueRef src[NIR_MAX_VEC_COMPONENTS]) argument 460 get_signed_divisor(struct gallivm_state * gallivm,struct lp_build_context * int_bld,struct lp_build_context * mask_bld,int src_bit_size,LLVMValueRef src,LLVMValueRef divisor) argument 498 do_int_divide(struct lp_build_nir_context * bld_base,bool is_unsigned,unsigned src_bit_size,LLVMValueRef src,LLVMValueRef src2) argument 528 do_int_mod(struct lp_build_nir_context * bld_base,bool is_unsigned,unsigned src_bit_size,LLVMValueRef src,LLVMValueRef src2) argument 570 do_alu_action(struct lp_build_nir_context * bld_base,const nir_alu_instr * instr,unsigned src_bit_size[NIR_MAX_VEC_COMPONENTS],LLVMValueRef src[NIR_MAX_VEC_COMPONENTS]) argument 1057 unsigned src_bit_size[NIR_MAX_VEC_COMPONENTS]; local in function:visit_alu [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/spirv/ |
| H A D | vtn_alu.c | 218 unsigned src_bit_size, unsigned dst_bit_size) 331 src_type |= src_bit_size; 523 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); local in function:vtn_handle_alu 526 src_bit_size, dst_bit_size); 549 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); local in function:vtn_handle_alu 552 src_bit_size, dst_bit_size); 594 unsigned src_bit_size = local in function:vtn_handle_alu 596 if (src_bit_size == 0) 598 if (src_bit_size != src[i]->bit_size) { 599 assert(src_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 613 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); local in function:vtn_handle_alu 627 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); local in function:vtn_handle_alu [all...] |
| H A D | vtn_private.h | 806 unsigned src_bit_size, unsigned dst_bit_size);
|
| /xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/ |
| H A D | nir_algebraic.py | 579 lambda first_unsized_src_bit_size, src_bit_size: 583 src, src_bit_size)) 586 lambda first_unsized_src_bit_size, src_bit_size: 591 src_bit_size, val)) 595 lambda src_bit_size, unused: 598 src, src_bit_size, nir_op.name, src_type_bits)) 601 lambda src_bit_size, unused: 605 src, src_bit_size, nir_op.name, src_type_bits)) 611 lambda val_bit_size, src_bit_size: 614 val, val_bit_size, first_unsized_src, src_bit_size)) [all...] |
| H A D | nir_validate.c | 346 unsigned src_bit_size = nir_src_bit_size(instr->src[i].src); local in function:validate_alu_instr 348 validate_assert(state, src_bit_size == nir_alu_type_get_type_size(src_type)); 350 validate_assert(state, src_bit_size == instr_bit_size); 352 instr_bit_size = src_bit_size; 357 validate_assert(state, src_bit_size == 16 || src_bit_size == 32 || 358 src_bit_size == 64);
|
| H A D | nir_builder.h | 417 unsigned src_bit_size = instr->src[i].src.ssa->bit_size; local in function:nir_builder_alu_instr_finish_and_insert 420 assert(src_bit_size == bit_size); 422 bit_size = src_bit_size; 424 assert(src_bit_size ==
|
| /xsrc/external/mit/MesaLib/dist/src/compiler/spirv/ |
| H A D | vtn_alu.c | 258 unsigned src_bit_size, unsigned dst_bit_size) 356 nir_alu_type src_type = convert_op_src_type(opcode) | src_bit_size; 632 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); local in function:vtn_handle_alu 636 src_bit_size, dst_bit_size); 700 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); local in function:vtn_handle_alu 702 nir_alu_type src_type = convert_op_src_type(opcode) | src_bit_size; 756 unsigned src_bit_size = local in function:vtn_handle_alu 758 if (src_bit_size == 0) 760 if (src_bit_size != src[i]->bit_size) { 761 assert(src_bit_size 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 804 unsigned src_bit_size = glsl_get_bit_size(vtn_src[0]->type); local in function:vtn_handle_alu [all...] |
| H A D | vtn_private.h | 956 unsigned src_bit_size, unsigned dst_bit_size);
|
| /xsrc/external/mit/MesaLib/dist/src/microsoft/compiler/ |
| H A D | dxil_nir.c | 74 load_comps_to_vec32(nir_builder *b, unsigned src_bit_size, argument 77 unsigned num_vec32comps = DIV_ROUND_UP(num_src_comps * src_bit_size, 32); 78 unsigned step = DIV_ROUND_UP(src_bit_size, 32); 79 unsigned comps_per32b = 32 / src_bit_size; 83 switch (src_bit_size) { 98 nir_imm_int(b, j * src_bit_size));
|
| /xsrc/external/mit/MesaLib.old/src/compiler/nir/ |
| H A D | nir_opcodes.c | 9 unsigned src_bit_size = nir_alu_type_get_type_size(src); local in function:nir_type_conversion_op 18 src_bit_size == dst_bit_size) {
|
| /xsrc/external/mit/MesaLib/src/compiler/nir/ |
| H A D | nir_opcodes.c | 9 unsigned src_bit_size = nir_alu_type_get_type_size(src); local in function:nir_type_conversion_op 18 src_bit_size == dst_bit_size) {
|
| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| H A D | v3dv_meta_copy.c | 3307 const uint32_t src_bit_size = local in function:get_color_blit_fs 3316 if (dst_bit_size >= src_bit_size)
|
| /xsrc/external/mit/MesaLib/dist/src/panfrost/midgard/ |
| H A D | midgard_compile.c | 279 int src_bit_size = nir_src_bit_size(alu->src[0].src); 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 | 2489 int src_bit_size = nir_src_bit_size(alu->src[0].src); local in function:ntt_should_vectorize_instr 2492 if (src_bit_size == 64 || dst_bit_size == 64) {
|