diff options
author | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-30 18:47:43 +0000 |
---|---|---|
committer | amylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-06-30 18:47:43 +0000 |
commit | 964229b79f27a511c58e7907288a2dbc7c5afef3 (patch) | |
tree | 684be6242471aff6286aab4d1043e3360a5902af /gcc/targhooks.h | |
parent | 3ebac17a3e0668c5ddff7c1a4cf9d8d9613d3946 (diff) | |
download | gcc-964229b79f27a511c58e7907288a2dbc7c5afef3.tar.gz |
PR other/44566
* coretypes.h [!USED_FOR_TARGET] (reg_class_t): Define.
* target.def (struct gcc_target): Replace enum reg_class with
reg_class_t in hook argument / return types.
* doc/tm.texi.in (TARGET_SECONDARY_RELOAD): Likewise.
(TARGET_IRA_COVER_CLASSES, TARGET_MEMORY_MOVE_COST): Likewise.
(TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise.
* targhooks.h (default_branch_target_register_class): Likewise.
(default_ira_cover_classes, default_secondary_reload): Likewise.
(default_memory_move_cost, default_register_move_cost): Likewise.
* targhooks.c (default_branch_target_register_class): Likewise.
(default_ira_cover_classes, default_secondary_reload): Likewise.
(default_memory_move_cost, default_register_move_cost): Likewise.
* reload.c (push_secondary_reload, secondary_reload_class): Likewise.
* bt-load.c (branch_target_load_optimize): Likewise.
* ira.c (setup_cover_and_important_classes): Likewise.
* ira-costs.c (copy_cost): Likewise.
* reload1.c (emit_input_reload_insns): Likewise.
* config/alpha/alpha.c (alpha_secondary_reload): Likewise.
* config/frv/frv.c (frv_secondary_reload): Likewise.
* config/s390/s390.c (s390_secondary_reload): Likewise.
* config/i386/i386.c (i386_ira_cover_classes): Likewise.
(ix86_secondary_reload, ix86_memory_move_cost): Likewise.
(ix86_register_move_cost): Likewise.
* config/sh/sh-protos.h (sh_secondary_reload): Likewise.
* config/sh/sh.c (sh_target_reg_class, sh_secondary_reload): Likewise.
* config/xtensa/xtensa.c (xtensa_secondary_reload): Likewise.
* config/xtensa/xtensa-protos.h (xtensa_secondary_reload): Likewise.
* config/rs6000/rs6000.c (rs6000_secondary_reload): Likewise.
(rs6000_ira_cover_classes): Likewise.
* config/picochip/picochip.c (picochip_secondary_reload): Likewise.
* config/picochip/picochip-protos.h (picochip_secondary_reload):
Likewise.
* config/pa/pa.c (pa_secondary_reload): Likewise.
* config/mips/mips.c (mips_ira_cover_classes): Likewise.
* config/bfin/bfin.c (bfin_secondary_reload): Likewise.
* config/ia64/ia64.c (ia64_register_move_cost): Likewise.
* doc/tm.texi: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@161633 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/targhooks.h')
-rw-r--r-- | gcc/targhooks.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/targhooks.h b/gcc/targhooks.h index f6e1ddce00f..f491dbd4d29 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -115,13 +115,13 @@ extern rtx default_internal_arg_pointer (void); extern rtx default_static_chain (const_tree, bool); extern void default_trampoline_init (rtx, tree, rtx); extern int default_return_pops_args (tree, tree, int); -extern enum reg_class default_branch_target_register_class (void); +extern reg_class_t default_branch_target_register_class (void); #ifdef IRA_COVER_CLASSES -extern const enum reg_class *default_ira_cover_classes (void); +extern const reg_class_t *default_ira_cover_classes (void); #endif -extern enum reg_class default_secondary_reload (bool, rtx, enum reg_class, - enum machine_mode, - secondary_reload_info *); +extern reg_class_t default_secondary_reload (bool, rtx, reg_class_t, + enum machine_mode, + secondary_reload_info *); extern void default_target_option_override (void); extern void hook_void_bitmap (bitmap); extern bool default_handle_c_option (size_t, const char *, int); @@ -147,7 +147,7 @@ extern bool default_addr_space_subset_p (addr_space_t, addr_space_t); extern rtx default_addr_space_convert (rtx, tree, tree); extern unsigned int default_case_values_threshold (void); extern bool default_have_conditional_execution (void); -extern int default_memory_move_cost (enum machine_mode, enum reg_class, bool); -extern int default_register_move_cost (enum machine_mode, enum reg_class, - enum reg_class); +extern int default_memory_move_cost (enum machine_mode, reg_class_t, bool); +extern int default_register_move_cost (enum machine_mode, reg_class_t, + reg_class_t); |