20 #ifndef TARGET_GLOBALS_H
21 #define TARGET_GLOBALS_H 1
41 struct GTY(()) target_globals {
60 extern struct target_globals default_target_globals;
62 extern struct target_globals *save_target_globals (
void);
63 extern struct target_globals *save_target_globals_default_opts (
void);
66 restore_target_globals (struct target_globals *
g)
68 this_target_flag_state = g->flag_state;
69 this_target_regs = g->regs;
70 this_target_rtl = g->rtl;
71 this_target_hard_regs = g->hard_regs;
72 this_target_reload = g->reload;
73 this_target_expmed = g->expmed;
74 this_target_optabs = g->optabs;
75 this_target_libfuncs = g->libfuncs;
76 this_target_cfgloop = g->cfgloop;
77 this_target_ira = g->ira;
78 this_target_ira_int = g->ira_int;
79 this_target_lra_int = g->lra_int;
80 this_target_builtins = g->builtins;
81 this_target_gcse = g->gcse;
82 this_target_bb_reorder = g->bb_reorder;
83 this_target_lower_subreg = g->lower_subreg;