Lines Matching refs:decl
465 static void update_decl_size(tree decl) in update_decl_size() argument
470 type = TREE_TYPE(decl); in update_decl_size()
475 init = DECL_INITIAL(decl); in update_decl_size()
489 for (field = TYPE_FIELDS(TREE_TYPE(decl)); TREE_CHAIN(field); field = TREE_CHAIN(field)) in update_decl_size()
504 DECL_SIZE(decl) = size_binop(PLUS_EXPR, TYPE_SIZE(type), flexsize); in update_decl_size()
512 tree decl = (tree)event_data; in randomize_layout_finish_decl() local
515 if (decl == NULL_TREE || decl == error_mark_node) in randomize_layout_finish_decl()
518 type = TREE_TYPE(decl); in randomize_layout_finish_decl()
520 if (TREE_CODE(decl) != VAR_DECL) in randomize_layout_finish_decl()
529 DECL_SIZE(decl) = 0; in randomize_layout_finish_decl()
530 DECL_SIZE_UNIT(decl) = 0; in randomize_layout_finish_decl()
531 SET_DECL_ALIGN(decl, 0); in randomize_layout_finish_decl()
532 SET_DECL_MODE (decl, VOIDmode); in randomize_layout_finish_decl()
533 SET_DECL_RTL(decl, 0); in randomize_layout_finish_decl()
534 update_decl_size(decl); in randomize_layout_finish_decl()
535 layout_decl(decl, 0); in randomize_layout_finish_decl()