Home
last modified time | relevance | path

Searched refs:bitsize (Results 1 – 25 of 120) sorted by relevance

12345

/dflybsd-src/contrib/gcc-8.0/gcc/
H A Dexpmed.c93 mask_rtx (scalar_int_mode mode, int bitpos, int bitsize, bool complement) in mask_rtx() argument
96 (wi::shifted_mask (bitpos, bitsize, complement, in mask_rtx()
436 unsigned HOST_WIDE_INT bitsize, in narrow_bit_field_mem() argument
452 HOST_WIDE_INT size = ((*new_bitnum + bitsize + BITS_PER_UNIT - 1) in narrow_bit_field_mem()
470 rtx op0, HOST_WIDE_INT bitsize, in adjust_bit_field_mem_for_reg() argument
477 bit_field_mode_iterator iter (bitsize, bitnum, bitregion_start, in adjust_bit_field_mem_for_reg()
503 return narrow_bit_field_mem (op0, best_mode, bitsize, bitnum, in adjust_bit_field_mem_for_reg()
514 lowpart_bit_field_p (poly_uint64 bitnum, poly_uint64 bitsize, in lowpart_bit_field_p() argument
520 && (known_eq (bitnum + bitsize, GET_MODE_BITSIZE (struct_mode)) in lowpart_bit_field_p()
521 || multiple_p (bitnum + bitsize, in lowpart_bit_field_p()
[all …]
H A Dgimple-ssa-store-merging.c357 poly_int64 bitsize, bitpos, bytepos; in find_bswap_or_nop_load() local
369 base_addr = get_inner_reference (ref, &bitsize, &bitpos, &offset, &mode, in find_bswap_or_nop_load()
408 if (!multiple_p (bitsize, BITS_PER_UNIT)) in find_bswap_or_nop_load()
587 unsigned HOST_WIDE_INT bitsize = tree_to_uhwi (TREE_OPERAND (rhs1, 1)); in find_bswap_or_nop_1() local
590 && bitsize % BITS_PER_UNIT == 0 in find_bswap_or_nop_1()
595 bitpos = TYPE_PRECISION (n->type) - bitpos - bitsize; in find_bswap_or_nop_1()
604 for (unsigned i = 0; i < bitsize / BITS_PER_UNIT; in find_bswap_or_nop_1()
1320 poly_uint64 bitsize; member
1330 : val (NULL_TREE), base_addr (NULL_TREE), bitsize (0), bitpos (0), in store_operand_info()
1341 unsigned HOST_WIDE_INT bitsize; member
[all …]
H A Dstor-layout.c316 if (known_eq (int_n_data[i].bitsize, size) in mode_for_size()
359 if (known_ge (int_n_data[i].bitsize, size) in smallest_mode_for_size()
360 && known_lt (int_n_data[i].bitsize, GET_MODE_PRECISION (mode)) in smallest_mode_for_size()
423 poly_int64 bitsize = GET_MODE_BITSIZE (mode); in bitwise_mode_for_mode() local
432 || mode_for_size (bitsize, MODE_COMPLEX_INT, false).exists (&trial)) in bitwise_mode_for_mode()
440 || maybe_gt (bitsize, MAX_FIXED_MODE_SIZE)) in bitwise_mode_for_mode()
444 || mode_for_size (bitsize, MODE_VECTOR_INT, 0).exists (&trial)) in bitwise_mode_for_mode()
451 return mode_for_size (bitsize, MODE_INT, true); in bitwise_mode_for_mode()
1472 HOST_WIDE_INT bitsize = tree_to_uhwi (DECL_SIZE (field)); in place_field() local
1474 if (rli->remaining_in_alignment < bitsize) in place_field()
[all …]
H A Dexpr.c2647 unsigned HOST_WIDE_INT bitsize = MIN (TYPE_ALIGN (type), BITS_PER_WORD); in copy_blkmode_from_reg() local
2715 opt_scalar_int_mode mem_mode = int_mode_for_size (bitsize, 1); in copy_blkmode_from_reg()
2724 bitpos += bitsize, xbitpos += bitsize) in copy_blkmode_from_reg()
2741 store_bit_field (dst, bitsize, bitpos % BITS_PER_WORD, 0, 0, copy_mode, in copy_blkmode_from_reg()
2742 extract_bit_field (src, bitsize, in copy_blkmode_from_reg()
2760 unsigned int bitsize; in copy_blkmode_to_reg() local
2793 bitsize = MIN (TYPE_ALIGN (TREE_TYPE (src)), BITS_PER_WORD); in copy_blkmode_to_reg()
2798 bitpos += bitsize, xbitpos += bitsize) in copy_blkmode_to_reg()
2821 store_bit_field (dst_word, bitsize, xbitpos % BITS_PER_WORD, in copy_blkmode_to_reg()
2823 extract_bit_field (src_word, bitsize, in copy_blkmode_to_reg()
[all …]
H A Dhsa-common.c412 hsa_bittype_for_bitsize (unsigned bitsize) in hsa_bittype_for_bitsize() argument
414 switch (bitsize) in hsa_bittype_for_bitsize()
436 hsa_uint_for_bitsize (unsigned bitsize) in hsa_uint_for_bitsize() argument
438 switch (bitsize) in hsa_uint_for_bitsize()
456 hsa_float_for_bitsize (unsigned bitsize) in hsa_float_for_bitsize() argument
458 switch (bitsize) in hsa_float_for_bitsize()
H A Dtree-vect-generic.c125 tree t, tree bitsize, tree bitpos) in tree_vec_extract() argument
141 = build_nonstandard_integer_type (tree_to_uhwi (bitsize), 0); in tree_vec_extract()
143 bitsize, bitpos); in tree_vec_extract()
148 return gimplify_build3 (gsi, BIT_FIELD_REF, type, t, bitsize, bitpos); in tree_vec_extract()
156 tree b ATTRIBUTE_UNUSED, tree bitpos, tree bitsize, in do_unop() argument
159 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_unop()
165 tree bitpos, tree bitsize, enum tree_code code, in do_binop() argument
169 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_binop()
171 b = tree_vec_extract (gsi, inner_type, b, bitsize, bitpos); in do_binop()
183 tree bitpos, tree bitsize, enum tree_code code, tree type) in do_compare() argument
[all …]
H A Dgimple-laddress.c103 poly_int64 bitsize, bitpos; in execute() local
107 base = get_inner_reference (TREE_OPERAND (expr, 0), &bitsize, in execute()
H A Dhsa-gen.c701 unsigned bitsize = hsa_type_bit_size (type); in mem_type_for_type() local
702 if (bitsize < 128) in mem_type_for_type()
703 return hsa_uint_for_bitsize (bitsize); in mem_type_for_type()
705 return hsa_bittype_for_bitsize (bitsize); in mem_type_for_type()
1957 HOST_WIDE_INT bitsize = 0, bitpos = 0; variable
1989 bitsize = pbitsize.to_constant ();
2120 && (bitsize >= BITS_PER_UNIT)
2121 && !(bitsize & (bitsize - 1)))
2122 bitsize = 0;
2124 if ((bitpos || bitsize) && (output_bitpos == NULL || output_bitsize == NULL))
[all …]
H A Dtree-dfa.c385 poly_offset_int bitsize = -1; in get_ref_base_and_extent() local
403 bitsize = GET_MODE_BITSIZE (mode); in get_ref_base_and_extent()
407 bitsize = wi::to_poly_offset (size_tree); in get_ref_base_and_extent()
413 maxsize = bitsize; in get_ref_base_and_extent()
540 bit_offset += bitsize; in get_ref_base_and_extent()
606 if (!bitsize.to_shwi (psize) || maybe_lt (*psize, 0)) in get_ref_base_and_extent()
H A Dtoplev.c2070 standard_type_bitsize (int bitsize) in standard_type_bitsize() argument
2073 if (bitsize == 128) in standard_type_bitsize()
2075 if (bitsize == CHAR_TYPE_SIZE in standard_type_bitsize()
2076 || bitsize == SHORT_TYPE_SIZE in standard_type_bitsize()
2077 || bitsize == INT_TYPE_SIZE in standard_type_bitsize()
2078 || bitsize == LONG_TYPE_SIZE in standard_type_bitsize()
2079 || bitsize == LONG_LONG_TYPE_SIZE) in standard_type_bitsize()
2108 && ! standard_type_bitsize (int_n_data[i].bitsize)) in do_compile()
H A Dtree-affine.c270 poly_int64 bitpos, bitsize, bytepos; in tree_to_aff_combination() local
324 core = get_inner_reference (TREE_OPERAND (expr, 0), &bitsize, &bitpos, in tree_to_aff_combination()
933 poly_int64 bitsize, bitpos; in get_inner_reference_aff() local
938 tree base = get_inner_reference (ref, &bitsize, &bitpos, &toff, &mode, in get_inner_reference_aff()
955 *size = bits_to_bytes_round_up (bitsize); in get_inner_reference_aff()
/dflybsd-src/contrib/gcc-4.7/gcc/
H A Dexpmed.c344 store_bit_field_1 (rtx str_rtx, unsigned HOST_WIDE_INT bitsize, in store_bit_field_1() argument
401 && bitsize == GET_MODE_BITSIZE (GET_MODE_INNER (GET_MODE (op0))) in store_bit_field_1()
430 && bitsize == GET_MODE_BITSIZE (fieldmode) in store_bit_field_1()
438 || (offset * BITS_PER_UNIT % bitsize == 0 in store_bit_field_1()
490 && (BYTES_BIG_ENDIAN ? bitpos + bitsize == unit : bitpos == 0) in store_bit_field_1()
491 && bitsize == GET_MODE_BITSIZE (fieldmode) in store_bit_field_1()
526 if (bitsize > BITS_PER_WORD) in store_bit_field_1()
535 unsigned int nwords = (bitsize + (BITS_PER_WORD - 1)) / BITS_PER_WORD; in store_bit_field_1()
558 ? MAX ((int) bitsize - ((int) i + 1) in store_bit_field_1()
564 MIN (BITS_PER_WORD, bitsize - i * BITS_PER_WORD); in store_bit_field_1()
[all …]
H A Dtree-vect-generic.c107 tree t, tree bitsize, tree bitpos) in tree_vec_extract() argument
110 return gimplify_build3 (gsi, BIT_FIELD_REF, type, t, bitsize, bitpos); in tree_vec_extract()
117 tree b ATTRIBUTE_UNUSED, tree bitpos, tree bitsize, in do_unop() argument
120 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_unop()
126 tree bitpos, tree bitsize, enum tree_code code) in do_binop() argument
129 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_binop()
131 b = tree_vec_extract (gsi, inner_type, b, bitsize, bitpos); in do_binop()
143 tree bitpos, tree bitsize, enum tree_code code) in do_compare() argument
147 a = tree_vec_extract (gsi, inner_type, a, bitsize, bitpos); in do_compare()
148 b = tree_vec_extract (gsi, inner_type, b, bitsize, bitpos); in do_compare()
[all …]
H A Dexpr.c2099 unsigned HOST_WIDE_INT bitsize = MIN (TYPE_ALIGN (type), BITS_PER_WORD); in copy_blkmode_from_reg() local
2147 enum machine_mode mem_mode = mode_for_size (bitsize, MODE_INT, 1); in copy_blkmode_from_reg()
2154 bitpos += bitsize, xbitpos += bitsize) in copy_blkmode_from_reg()
2171 store_bit_field (dst, bitsize, bitpos % BITS_PER_WORD, 0, 0, copy_mode, in copy_blkmode_from_reg()
2172 extract_bit_field (src, bitsize, in copy_blkmode_from_reg()
2190 unsigned int bitsize; in copy_blkmode_to_reg() local
2221 bitsize = MIN (TYPE_ALIGN (TREE_TYPE (src)), BITS_PER_WORD); in copy_blkmode_to_reg()
2226 bitpos += bitsize, xbitpos += bitsize) in copy_blkmode_to_reg()
2249 store_bit_field (dst_word, bitsize, xbitpos % BITS_PER_WORD, in copy_blkmode_to_reg()
2251 extract_bit_field (src_word, bitsize, in copy_blkmode_to_reg()
[all …]
H A Dstor-layout.c1303 HOST_WIDE_INT bitsize = tree_low_cst (DECL_SIZE (field), 1); in place_field() local
1305 if (rli->remaining_in_alignment < bitsize) in place_field()
1314 if (typesize < bitsize) in place_field()
1317 rli->remaining_in_alignment = typesize - bitsize; in place_field()
1320 rli->remaining_in_alignment -= bitsize; in place_field()
1382 unsigned HOST_WIDE_INT bitsize in place_field() local
1387 if (typesize < bitsize) in place_field()
1390 rli->remaining_in_alignment = typesize - bitsize; in place_field()
1756 unsigned HOST_WIDE_INT bitsize, maxbitsize; in finish_bitfield_representative() local
1763 bitsize = (tree_low_cst (size, 1) * BITS_PER_UNIT in finish_bitfield_representative()
[all …]
H A Dtree-dfa.c713 HOST_WIDE_INT bitsize = -1; in get_ref_base_and_extent() local
731 bitsize = GET_MODE_BITSIZE (mode); in get_ref_base_and_extent()
736 bitsize = -1; in get_ref_base_and_extent()
738 bitsize = TREE_INT_CST_LOW (size_tree); in get_ref_base_and_extent()
743 maxsize = bitsize; in get_ref_base_and_extent()
877 = double_int_add (bit_offset, uhwi_to_double_int (bitsize)); in get_ref_base_and_extent()
958 *psize = bitsize; in get_ref_base_and_extent()
989 *psize = bitsize; in get_ref_base_and_extent()
/dflybsd-src/contrib/gdb-7/gdb/
H A Dtarget-descriptions.c76 int bitsize; member
696 int bitsize, total_size; in tdesc_gdb_type() local
716 bitsize = f->end - f->start + 1; in tdesc_gdb_type()
719 SET_FIELD_BITPOS (fld[0], total_size - f->start - bitsize); in tdesc_gdb_type()
722 FIELD_BITSIZE (fld[0]) = bitsize; in tdesc_gdb_type()
905 return reg->bitsize; in tdesc_register_size()
983 if (reg->bitsize == gdbarch_float_bit (gdbarch)) in tdesc_register_type()
985 else if (reg->bitsize == gdbarch_double_bit (gdbarch)) in tdesc_register_type()
987 else if (reg->bitsize == gdbarch_long_double_bit (gdbarch)) in tdesc_register_type()
992 reg->name, reg->bitsize); in tdesc_register_type()
[all …]
H A Dvalue.c245 int bitsize; member
672 val->bitsize = 0; in allocate_value_lazy()
793 return value->bitsize; in value_bitsize()
798 value->bitsize = bit; in set_value_bitsize()
1384 val->bitsize = arg->bitsize; in value_copy()
1936 int bitsize, struct value *newval) in set_internalvar_component() argument
1945 if (bitsize) in set_internalvar_component()
1947 value_as_long (newval), bitpos, bitsize); in set_internalvar_component()
2644 v->bitsize = TYPE_FIELD_BITSIZE (arg_type, fieldno); in value_primitive_field()
2645 if ((bitpos % container_bitsize) + v->bitsize <= container_bitsize in value_primitive_field()
[all …]
H A Dada-typeprint.c331 int bitsize; in print_array_type() local
337 bitsize = 0; in print_array_type()
355 bitsize = 0; in print_array_type()
365 bitsize = TYPE_FIELD_BITSIZE (arr_type, 0); in print_array_type()
382 bitsize = TYPE_FIELD_BITSIZE (arr_type, 0); in print_array_type()
398 if (bitsize > 0) in print_array_type()
399 fprintf_filtered (stream, " <packed: %d-bit elements>", bitsize); in print_array_type()
H A Dada-valprint.c147 unsigned long bitsize = TYPE_FIELD_BITSIZE (type, 0); in val_print_packed_array_elements() local
189 (i0 * bitsize) / HOST_CHAR_BIT, in val_print_packed_array_elements()
190 (i0 * bitsize) % HOST_CHAR_BIT, in val_print_packed_array_elements()
191 bitsize, elttype); in val_print_packed_array_elements()
198 (i * bitsize) / HOST_CHAR_BIT, in val_print_packed_array_elements()
199 (i * bitsize) % HOST_CHAR_BIT, in val_print_packed_array_elements()
200 bitsize, elttype); in val_print_packed_array_elements()
/dflybsd-src/contrib/binutils-2.27/bfd/
H A Dreloc.c489 unsigned int bitsize, in bfd_check_overflow() argument
501 fieldmask = N_ONES (bitsize); in bfd_check_overflow()
807 howto->bitsize, in bfd_perform_relocation()
1188 howto->bitsize, in bfd_install_relocation()
1441 fieldmask = N_ONES (howto->bitsize); in _bfd_relocate_contents()
/dflybsd-src/contrib/binutils-2.34/bfd/
H A Dreloc.c461 unsigned int bitsize, in bfd_check_overflow() argument
473 fieldmask = N_ONES (bitsize); in bfd_check_overflow()
914 howto->bitsize, in bfd_perform_relocation()
1247 howto->bitsize, in bfd_install_relocation()
1422 fieldmask = N_ONES (howto->bitsize); in _bfd_relocate_contents()
/dflybsd-src/contrib/gdb-7/bfd/
H A Dreloc.c491 unsigned int bitsize, in bfd_check_overflow() argument
503 fieldmask = N_ONES (bitsize); in bfd_check_overflow()
805 howto->bitsize, in bfd_perform_relocation()
1184 howto->bitsize, in bfd_install_relocation()
1433 fieldmask = N_ONES (howto->bitsize); in _bfd_relocate_contents()
/dflybsd-src/contrib/binutils-2.27/binutils/
H A Drdcoff.c404 bfd_vma bitpos = 0, bitsize = 0; in parse_coff_struct_type() local
438 bitsize = 0; in parse_coff_struct_type()
443 bitsize = auxent.x_sym.x_misc.x_lnsz.x_size; in parse_coff_struct_type()
459 bitpos, bitsize, DEBUG_VISIBILITY_PUBLIC); in parse_coff_struct_type()
/dflybsd-src/contrib/binutils-2.34/binutils/
H A Drdcoff.c404 bfd_vma bitpos = 0, bitsize = 0; in parse_coff_struct_type() local
440 bitsize = 0; in parse_coff_struct_type()
445 bitsize = auxent.x_sym.x_misc.x_lnsz.x_size; in parse_coff_struct_type()
461 bitpos, bitsize, DEBUG_VISIBILITY_PUBLIC); in parse_coff_struct_type()

12345