Home
last modified time | relevance | path

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

12

/freebsd-9-stable/contrib/gcc/
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()
389 DECL_ALIGN (decl) = MAX (GET_MODE_ALIGNMENT (xmode), in layout_decl()
390 DECL_ALIGN (decl)); in layout_decl()
399 && DECL_ALIGN (decl) >= TYPE_ALIGN (type)) in layout_decl()
422 DECL_ALIGN (decl) = MIN (DECL_ALIGN (decl), BITS_PER_UNIT); in layout_decl()
430 DECL_ALIGN (decl) in layout_decl()
431 = MIN (DECL_ALIGN (decl), (unsigned) BIGGEST_FIELD_ALIGNMENT); in layout_decl()
[all …]
Dtree-nrv.c161 || DECL_ALIGN (found) > DECL_ALIGN (result) in tree_nrv()
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.
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()
Dvarasm.c569 return targetm.asm_out.select_section (decl, reloc, DECL_ALIGN (decl)); in function_section()
587 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()
915 return targetm.asm_out.select_section (decl, reloc, DECL_ALIGN (decl)); in get_variable_section()
1386 assemble_align (DECL_ALIGN (decl)); in assemble_start_function()
1396 assemble_align (DECL_ALIGN (decl)); in assemble_start_function()
1427 align = floor_log2 (DECL_ALIGN (decl) / BITS_PER_UNIT); in assemble_start_function()
1581 size, DECL_ALIGN (decl)); in emit_local()
1584 ASM_OUTPUT_ALIGNED_LOCAL (asm_out_file, name, size, DECL_ALIGN (decl)); in emit_local()
[all …]
DChangeLog.apple32 * stmt.c (label_rtx): Set CODE_LABEL's alignment from DECL_ALIGN.
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()
Ddefaults.h124 (SIZE), DECL_ALIGN (DECL) / BITS_PER_UNIT); \
Dexplow.c692 align = DECL_ALIGN (SYMBOL_REF_DECL (x)); in force_reg()
707 sa = DECL_ALIGN (SYMBOL_REF_DECL (s)); in force_reg()
Dcfgexpand.c160 align = DECL_ALIGN (decl); in get_decl_align_unit()
539 DECL_ALIGN (decl) = align; in expand_one_stack_var_at()
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()
Dcgraphunit.c1650 if (DECL_ALIGN (decl) >= alignment) in cgraph_increase_alignment()
1655 DECL_ALIGN (decl) = TYPE_ALIGN (vectype); in cgraph_increase_alignment()
Dcoverage.c403 DECL_ALIGN (tree_ctr_tables[counter]) = TYPE_ALIGN (gcov_type_node); in coverage_counter_alloc()
Dprint-tree.c449 fprintf (file, " align %d", DECL_ALIGN (node)); in print_node()
Dtree-dump.c509 dump_int (di, "algn", DECL_ALIGN (t)); in dequeue_and_dump()
Dc-decl.c1700 if (DECL_ALIGN (olddecl) > DECL_ALIGN (newdecl)) in merge_decls()
1702 DECL_ALIGN (newdecl) = DECL_ALIGN (olddecl); in merge_decls()
1703 DECL_USER_ALIGN (newdecl) |= DECL_ALIGN (olddecl); in merge_decls()
Dc-common.c4864 && DECL_ALIGN (decl) > (1 << i) * BITS_PER_UNIT) in handle_aligned_attribute()
4869 DECL_ALIGN (decl) / BITS_PER_UNIT); in handle_aligned_attribute()
4872 DECL_ALIGN (decl) / BITS_PER_UNIT); in handle_aligned_attribute()
4877 DECL_ALIGN (decl) = (1 << i) * BITS_PER_UNIT; in handle_aligned_attribute()
Dfunction.c2538 DECL_ALIGN (parm) = MAX (DECL_ALIGN (parm), BITS_PER_WORD); in assign_parm_setup_block()
2540 DECL_ALIGN (parm)); in assign_parm_setup_block()
Dtree.c546 DECL_ALIGN (t) = FUNCTION_BOUNDARY; in make_node_stat()
550 DECL_ALIGN (t) = 1; in make_node_stat()
1893 gcc_assert (DECL_ALIGN (t) != 0); in expr_align()
1894 return DECL_ALIGN (t); in expr_align()
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()
Dtree.h2444 #define DECL_ALIGN(NODE) (DECL_COMMON_CHECK (NODE)->decl_common.align) macro
2446 #define DECL_ALIGN_UNIT(NODE) (DECL_ALIGN (NODE) / BITS_PER_UNIT)
Demit-rtl.c1551 align = DECL_ALIGN (t); in set_mem_attributes_minus_bitpos()
1617 align = DECL_ALIGN (t2); in set_mem_attributes_minus_bitpos()
/freebsd-9-stable/contrib/gcc/cp/
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()
3595 DECL_ALIGN (decl) = CLASSTYPE_ALIGN (basetype); in build_base_field()
4696 DECL_ALIGN (field) = TYPE_ALIGN (integer_type); in layout_class_type()
Dtypeck.c6658 && (DECL_ALIGN (retval) in check_return_expr()
6659 >= DECL_ALIGN (DECL_RESULT (current_function_decl))) in check_return_expr()
/freebsd-9-stable/contrib/gcc/doc/
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