Home
last modified time | relevance | path

Searched refs:type_align (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dstor-layout.cc1079 unsigned int type_align = TYPE_ALIGN (type); in update_alignment_for_field() local
1081 type_align = desired_align; in update_alignment_for_field()
1083 type_align = MAX (type_align, desired_align); in update_alignment_for_field()
1085 type_align = MIN (type_align, maximum_field_alignment); in update_alignment_for_field()
1086 rli->record_align = MAX (rli->record_align, type_align); in update_alignment_for_field()
1098 unsigned int type_align = TYPE_ALIGN (type); in update_alignment_for_field() local
1102 type_align = ADJUST_FIELD_ALIGN (field, type, type_align); in update_alignment_for_field()
1111 type_align = MIN (type_align, in update_alignment_for_field()
1115 type_align = MIN (type_align, maximum_field_alignment); in update_alignment_for_field()
1117 type_align = MIN (type_align, BITS_PER_UNIT); in update_alignment_for_field()
[all …]
H A Dbuiltins.cc6473 unsigned int mode_align, type_align; in fold_builtin_atomic_always_lock_free() local
6495 type_align = mode_align; in fold_builtin_atomic_always_lock_free()
6497 type_align = val; in fold_builtin_atomic_always_lock_free()
6518 type_align = TYPE_ALIGN (ttype); in fold_builtin_atomic_always_lock_free()
6523 if (type_align < mode_align) in fold_builtin_atomic_always_lock_free()
H A DFSFChangeLog.103602 compute bitpos using field_size % type_align instead of field_size.
H A DFSFChangeLog.117855 its unit of alignment in case where field_size == type_align.
H A DChangeLog-201828520 only desired_align instead of MAX (type_align, desired_align)
28526 use type_align of BITS_PER_UNIT.
H A DChangeLog-200210926 to type_align when PCC_BITFIELD_TYPE_MATTERS. Only apply
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dstor-layout.c1076 unsigned int type_align = TYPE_ALIGN (type); in update_alignment_for_field() local
1078 type_align = desired_align; in update_alignment_for_field()
1080 type_align = MAX (type_align, desired_align); in update_alignment_for_field()
1082 type_align = MIN (type_align, maximum_field_alignment); in update_alignment_for_field()
1083 rli->record_align = MAX (rli->record_align, type_align); in update_alignment_for_field()
1095 unsigned int type_align = TYPE_ALIGN (type); in update_alignment_for_field() local
1099 type_align = ADJUST_FIELD_ALIGN (field, type, type_align); in update_alignment_for_field()
1108 type_align = MIN (type_align, in update_alignment_for_field()
1112 type_align = MIN (type_align, maximum_field_alignment); in update_alignment_for_field()
1114 type_align = MIN (type_align, BITS_PER_UNIT); in update_alignment_for_field()
[all …]
H A Dtarghooks.c313 tree type_align; in default_cxx_get_cookie_size() local
316 type_align = size_int (TYPE_ALIGN_UNIT (type)); in default_cxx_get_cookie_size()
317 if (tree_int_cst_lt (type_align, sizetype_size)) in default_cxx_get_cookie_size()
320 cookie_size = type_align; in default_cxx_get_cookie_size()
H A Dbuiltins.c7235 unsigned int mode_align, type_align; in fold_builtin_atomic_always_lock_free() local
7257 type_align = mode_align; in fold_builtin_atomic_always_lock_free()
7259 type_align = val; in fold_builtin_atomic_always_lock_free()
7280 type_align = TYPE_ALIGN (ttype); in fold_builtin_atomic_always_lock_free()
7285 if (type_align < mode_align) in fold_builtin_atomic_always_lock_free()
H A DFSFChangeLog.103602 compute bitpos using field_size % type_align instead of field_size.
H A DFSFChangeLog.117855 its unit of alignment in case where field_size == type_align.
/netbsd-src/external/gpl3/gcc.old/dist/libobjc/
H A Dencoding.c1202 int type_align = bfld_type_align; in objc_layout_structure_next_member() local
1205 type_align = MIN (type_align, maximum_field_alignment); in objc_layout_structure_next_member()
1207 type_align = MIN (type_align, __CHAR_BIT__); in objc_layout_structure_next_member()
1210 layout->record_align = MAX (layout->record_align, type_align); in objc_layout_structure_next_member()
/netbsd-src/external/gpl3/gcc/dist/libobjc/
H A Dencoding.c1202 int type_align = bfld_type_align; in objc_layout_structure_next_member() local
1205 type_align = MIN (type_align, maximum_field_alignment); in objc_layout_structure_next_member()
1207 type_align = MIN (type_align, __CHAR_BIT__); in objc_layout_structure_next_member()
1210 layout->record_align = MAX (layout->record_align, type_align); in objc_layout_structure_next_member()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/c-family/
H A Dc-warn.c2964 unsigned int type_align = min_align_of_type (type); in check_alignment_of_packed_member() local
2967 if (record_align < type_align) in check_alignment_of_packed_member()
2971 size_int (type_align))) in check_alignment_of_packed_member()
3031 unsigned int type_align = min_align_of_type (type); in check_address_or_pointer_of_packed_member() local
3033 if (rhs_align < type_align) in check_address_or_pointer_of_packed_member()
3041 rhstype, rhs_align, type, type_align)) in check_address_or_pointer_of_packed_member()
/netbsd-src/external/gpl3/gcc/dist/gcc/c-family/
H A Dc-warn.cc2955 unsigned int type_align = min_align_of_type (type); in check_alignment_of_packed_member() local
2958 if (record_align < type_align) in check_alignment_of_packed_member()
2962 size_int (type_align))) in check_alignment_of_packed_member()
3026 unsigned int type_align = min_align_of_type (type); in check_address_or_pointer_of_packed_member() local
3028 if (rhs_align < type_align) in check_address_or_pointer_of_packed_member()
3036 rhstype, rhs_align, type, type_align)) in check_address_or_pointer_of_packed_member()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/i386/
H A Di386.c4285 unsigned int type_align; in ix86_gimplify_va_arg() local
4343 type_align = TYPE_ALIGN (type); in ix86_gimplify_va_arg()
4516 type_align = MIN (type_align, 64); in ix86_gimplify_va_arg()
4561 type = build_aligned_type (type, type_align); in ix86_gimplify_va_arg()
/netbsd-src/external/gpl3/gdb/dist/gdb/
H A DChangeLog-20196314 (s390_gdbarch_init): Set it as type_align gdbarch method.
11740 (nds32_push_dummy_call): Use type_align instead.
11745 (arm_push_dummy_call): Use type_align.
11752 (pass_on_stack): Use type_align.
12012 (riscv_arg_location): Use 'type_align'.
12017 * gdbtypes.c (type_align): A struct with no non-static fields also
14956 * gdbtypes.c (type_align): Don't consider static members when
14965 * gdbarch.sh (type_align): Extend comment.
14966 * gdbtypes.c (type_align): Add additional comments, always call
15098 * gdbtypes.c (type_align): Allow alignment of TYPE_CODE_METHODPTR
[all …]
H A DChangeLog-20183757 (nios2_gdb_arch_init): Install type_align hook.
8590 * gdbtypes.c (type_align): Use type_length_units.
12390 * jit.c (jit_read_code_entry): Use type_align.
12402 (rust_composite_type): Use type_align.
12427 * gdbarch.sh (type_align): New method.
12435 (type_align, type_raw_align, set_type_align): Declare.
12436 * gdbtypes.c (type_align, type_raw_align, set_type_align): New
H A DChangeLog-2021694 type_align, and spot case where the alignment is unknown.
/netbsd-src/external/gpl3/gdb.old/dist/gdb/
H A DChangeLog-20196314 (s390_gdbarch_init): Set it as type_align gdbarch method.
11740 (nds32_push_dummy_call): Use type_align instead.
11745 (arm_push_dummy_call): Use type_align.
11752 (pass_on_stack): Use type_align.
12012 (riscv_arg_location): Use 'type_align'.
12017 * gdbtypes.c (type_align): A struct with no non-static fields also
14956 * gdbtypes.c (type_align): Don't consider static members when
14965 * gdbarch.sh (type_align): Extend comment.
14966 * gdbtypes.c (type_align): Add additional comments, always call
15098 * gdbtypes.c (type_align): Allow alignment of TYPE_CODE_METHODPTR
[all …]
H A DChangeLog-20183757 (nios2_gdb_arch_init): Install type_align hook.
8590 * gdbtypes.c (type_align): Use type_length_units.
12390 * jit.c (jit_read_code_entry): Use type_align.
12402 (rust_composite_type): Use type_align.
12427 * gdbarch.sh (type_align): New method.
12435 (type_align, type_raw_align, set_type_align): Declare.
12436 * gdbtypes.c (type_align, type_raw_align, set_type_align): New
/netbsd-src/external/gpl3/gcc/dist/gcc/config/i386/
H A Di386.cc4710 unsigned int type_align; in ix86_gimplify_va_arg() local
4770 type_align = TYPE_ALIGN (type); in ix86_gimplify_va_arg()
4944 type_align = MIN (type_align, 64); in ix86_gimplify_va_arg()
4989 type = build_aligned_type (type, type_align); in ix86_gimplify_va_arg()