Lines Matching refs:decl
455 static void update_decl_size(tree decl) in update_decl_size() argument
460 type = TREE_TYPE(decl); in update_decl_size()
465 init = DECL_INITIAL(decl); in update_decl_size()
479 for (field = TYPE_FIELDS(TREE_TYPE(decl)); TREE_CHAIN(field); field = TREE_CHAIN(field)) in update_decl_size()
494 DECL_SIZE(decl) = size_binop(PLUS_EXPR, TYPE_SIZE(type), flexsize); in update_decl_size()
502 tree decl = (tree)event_data; in randomize_layout_finish_decl() local
505 if (decl == NULL_TREE || decl == error_mark_node) in randomize_layout_finish_decl()
508 type = TREE_TYPE(decl); in randomize_layout_finish_decl()
510 if (TREE_CODE(decl) != VAR_DECL) in randomize_layout_finish_decl()
519 DECL_SIZE(decl) = 0; in randomize_layout_finish_decl()
520 DECL_SIZE_UNIT(decl) = 0; in randomize_layout_finish_decl()
521 SET_DECL_ALIGN(decl, 0); in randomize_layout_finish_decl()
522 SET_DECL_MODE (decl, VOIDmode); in randomize_layout_finish_decl()
523 SET_DECL_RTL(decl, 0); in randomize_layout_finish_decl()
524 update_decl_size(decl); in randomize_layout_finish_decl()
525 layout_decl(decl, 0); in randomize_layout_finish_decl()