Lines Matching refs:decl
439 static void update_decl_size(tree decl) in update_decl_size() argument
444 type = TREE_TYPE(decl); in update_decl_size()
449 init = DECL_INITIAL(decl); in update_decl_size()
463 for (field = TYPE_FIELDS(TREE_TYPE(decl)); TREE_CHAIN(field); field = TREE_CHAIN(field)) in update_decl_size()
478 DECL_SIZE(decl) = size_binop(PLUS_EXPR, TYPE_SIZE(type), flexsize); in update_decl_size()
486 tree decl = (tree)event_data; in randomize_layout_finish_decl() local
489 if (decl == NULL_TREE || decl == error_mark_node) in randomize_layout_finish_decl()
492 type = TREE_TYPE(decl); in randomize_layout_finish_decl()
494 if (TREE_CODE(decl) != VAR_DECL) in randomize_layout_finish_decl()
503 DECL_SIZE(decl) = 0; in randomize_layout_finish_decl()
504 DECL_SIZE_UNIT(decl) = 0; in randomize_layout_finish_decl()
505 SET_DECL_ALIGN(decl, 0); in randomize_layout_finish_decl()
506 SET_DECL_MODE (decl, VOIDmode); in randomize_layout_finish_decl()
507 SET_DECL_RTL(decl, 0); in randomize_layout_finish_decl()
508 update_decl_size(decl); in randomize_layout_finish_decl()
509 layout_decl(decl, 0); in randomize_layout_finish_decl()