Home
last modified time | relevance | path

Searched refs:DECL_ALIGN (Results 1 – 25 of 42) sorted by relevance

12

/freebsd-12.1/contrib/gcc/
H A Dstor-layout.c273 if (TYPE_ALIGN (type) > DECL_ALIGN (decl)) in do_type_align()
275 DECL_ALIGN (decl) = TYPE_ALIGN (type); in do_type_align()
366 if (EMPTY_FIELD_BOUNDARY > DECL_ALIGN (decl)) in layout_decl()
368 DECL_ALIGN (decl) = EMPTY_FIELD_BOUNDARY; in layout_decl()
390 DECL_ALIGN (decl)); in layout_decl()
422 DECL_ALIGN (decl) = MIN (DECL_ALIGN (decl), BITS_PER_UNIT); in layout_decl()
430 DECL_ALIGN (decl) in layout_decl()
434 DECL_ALIGN (decl) = ADJUST_FIELD_ALIGN (decl, DECL_ALIGN (decl)); in layout_decl()
444 DECL_ALIGN (decl) = MIN (DECL_ALIGN (decl), mfa); in layout_decl()
493 DECL_ALIGN (decl) = 0; in relayout_decl()
[all …]
H A Dtree-nrv.c161 || DECL_ALIGN (found) > DECL_ALIGN (result) in tree_nrv()
H A DChangeLog.gcc439 * builtins.c (get_pointer_alignment): Honor DECL_ALIGN on a
13 (expr_align): Honor DECL_ALIGN on a FUNCTION_DECL. Add comment
14 about using DECL_ALIGN of LABEL_DECL and CONST_DECL.
16 * varasm.c (assemble_start_function): Use DECL_ALIGN instead of
22 * c-common.c (c_alignof_expr): Look at DECL_ALIGN of
25 * varasm.c (assemble_start_function): Honor DECL_ALIGN
28 * print-tree.c (print_node): Print DECL_ALIGN and DECL_USER_ALIGN
30 * c-decl.c (merge_decls): Propagate DECL_ALIGN even for
32 * tree.h (DECL_ALIGN): Update for new location of 'align'.
41 * tree.c (build_decl_stat): Set initial value of DECL_ALIGN.
H A Dtree-nested.c199 if (DECL_ALIGN (field) >= DECL_ALIGN (*p)) in insert_field_into_struct()
291 DECL_ALIGN (field) = TYPE_ALIGN (TREE_TYPE (field)); in lookup_field_for_decl()
298 DECL_ALIGN (field) = DECL_ALIGN (decl); in lookup_field_for_decl()
372 DECL_ALIGN (field) = TYPE_ALIGN (type); in get_chain_field()
453 DECL_ALIGN (t) = align; in get_trampoline_type()
538 DECL_ALIGN (field) = TYPE_ALIGN (type); in get_nl_goto_field()
H A Dvarasm.c587 DECL_ALIGN (current_function_decl)); in current_function_section()
839 unsigned int align = DECL_ALIGN (decl); in align_variable()
872 DECL_ALIGN (decl) = align; in align_variable()
1386 assemble_align (DECL_ALIGN (decl)); in assemble_start_function()
1396 assemble_align (DECL_ALIGN (decl)); in assemble_start_function()
1581 size, DECL_ALIGN (decl)); in emit_local()
1621 size, DECL_ALIGN (decl)); in emit_common()
1702 DECL_ALIGN (decl)); in assemble_variable_contents()
1805 set_mem_align (decl_rtl, DECL_ALIGN (decl)); in assemble_variable()
1841 if (DECL_ALIGN (decl) > BITS_PER_UNIT) in assemble_variable()
[all …]
H A Dstmt.c1867 DECL_ALIGN (decl) = TYPE_ALIGN (type); in expand_decl()
1951 DECL_ALIGN (decl) = (DECL_MODE (decl) == BLKmode ? BIGGEST_ALIGNMENT in expand_decl()
1995 DECL_ALIGN (decl) = STACK_BOUNDARY; in expand_decl()
1997 DECL_ALIGN (decl) = BIGGEST_ALIGNMENT; in expand_decl()
2058 DECL_ALIGN (decl_elt) = DECL_ALIGN (decl); in expand_anon_union_decl()
H A Ddefaults.h124 (SIZE), DECL_ALIGN (DECL) / BITS_PER_UNIT); \
H A Dexplow.c692 align = DECL_ALIGN (SYMBOL_REF_DECL (x)); in force_reg()
707 sa = DECL_ALIGN (SYMBOL_REF_DECL (s)); in force_reg()
H A Dcfgexpand.c160 align = DECL_ALIGN (decl); in get_decl_align_unit()
539 DECL_ALIGN (decl) = align; in expand_one_stack_var_at()
H A Dcgraphunit.c1664 if (DECL_ALIGN (decl) >= alignment) in cgraph_increase_alignment()
1669 DECL_ALIGN (decl) = TYPE_ALIGN (vectype); in cgraph_increase_alignment()
H A Dtree-vect-analyze.c776 DECL_ALIGN (base) = TYPE_ALIGN (vectype); in vect_compute_data_ref_alignment()
783 && DECL_ALIGN (base) >= TYPE_ALIGN (vectype))); in vect_compute_data_ref_alignment()
H A Dcoverage.c403 DECL_ALIGN (tree_ctr_tables[counter]) = TYPE_ALIGN (gcov_type_node); in coverage_counter_alloc()
H A Dprint-tree.c449 fprintf (file, " align %d", DECL_ALIGN (node)); in print_node()
H A Dtree-dump.c509 dump_int (di, "algn", DECL_ALIGN (t)); in dequeue_and_dump()
H A Dc-decl.c1702 if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl)) in merge_decls()
1704 DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl); in merge_decls()
1705 DECL_USER_ALIGN (newdecl) |= DECL_ALIGN (olddecl); in merge_decls()
3732 …int align = exact_log2 ((DECL_ALIGN (decl)+TYPE_ALIGN (ptr_type_node)-1) / TYPE_ALIGN (ptr_type_no… in init_byref_decl()
H A Dc-common.c4880 && DECL_ALIGN (decl) > (1 << i) * BITS_PER_UNIT) in handle_aligned_attribute()
4885 DECL_ALIGN (decl) / BITS_PER_UNIT); in handle_aligned_attribute()
4888 DECL_ALIGN (decl) / BITS_PER_UNIT); in handle_aligned_attribute()
4893 DECL_ALIGN (decl) = (1 << i) * BITS_PER_UNIT; in handle_aligned_attribute()
H A Dtree.c550 DECL_ALIGN (t) = FUNCTION_BOUNDARY; in make_node_stat()
554 DECL_ALIGN (t) = 1; in make_node_stat()
1897 gcc_assert (DECL_ALIGN (t) != 0); in expr_align()
1898 return DECL_ALIGN (t); in expr_align()
H A Dfunction.c2544 DECL_ALIGN (parm) = MAX (DECL_ALIGN (parm), BITS_PER_WORD); in assign_parm_setup_block()
2546 DECL_ALIGN (parm)); in assign_parm_setup_block()
H A Dgimplify.c3054 align = DECL_ALIGN (object); in gimplify_init_constructor()
3066 if (align > DECL_ALIGN (new)) in gimplify_init_constructor()
3068 DECL_ALIGN (new) = align; in gimplify_init_constructor()
H A Demit-rtl.c1551 align = DECL_ALIGN (t); in set_mem_attributes_minus_bitpos()
1617 align = DECL_ALIGN (t2); in set_mem_attributes_minus_bitpos()
H A Dtree.h2468 #define DECL_ALIGN(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.align) macro
2470 #define DECL_ALIGN_UNIT(NODE) (DECL_ALIGN (NODE) / BITS_PER_UNIT)
H A DChangeLog.apple932 * stmt.c (label_rtx): Set CODE_LABEL's alignment from DECL_ALIGN.
/freebsd-12.1/contrib/gcc/cp/
H A Dclass.c697 DECL_ALIGN (decl) = TARGET_VTABLE_ENTRY_ALIGN; in build_vtable()
701 DECL_ALIGN (decl) = MAX (TYPE_ALIGN (double_type_node), in build_vtable()
702 DECL_ALIGN (decl)); in build_vtable()
3615 DECL_ALIGN (decl) = CLASSTYPE_ALIGN (basetype); in build_base_field()
4725 DECL_ALIGN (field) = TYPE_ALIGN (integer_type); in layout_class_type()
H A Ddecl.c5484 …int align = exact_log2 ((DECL_ALIGN (decl)+TYPE_ALIGN (ptr_type_node)-1) / TYPE_ALIGN (ptr_type_no… in init_byref_decl()
6517 && DECL_ALIGN (decl) < 2 * BITS_PER_UNIT) in grokfndecl()
6518 DECL_ALIGN (decl) = 2 * BITS_PER_UNIT; in grokfndecl()
/freebsd-12.1/contrib/gcc/doc/
H A Dc-tree.texi841 @findex DECL_ALIGN
923 @code{DECL_SIZE} and @code{DECL_ALIGN} on a @code{RESULT_DECL}, just as
933 as static data members. The @code{DECL_SIZE} and @code{DECL_ALIGN} are
935 you should always use the @code{DECL_SIZE} and @code{DECL_ALIGN} rather
970 @code{DECL_ALIGN} behave as for @code{VAR_DECL} nodes.

12