Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/mep/mep-protos.h @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | 77e2b8dfacca |
children |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 /* Prototypes for exported functions defined in mep.c | 1 /* Prototypes for exported functions defined in mep.c |
2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009 Free | 2 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 Free |
3 Software Foundation, Inc. | 3 Software Foundation, Inc. |
4 Contributed by Red Hat Inc (dj@redhat.com) | 4 Contributed by Red Hat Inc (dj@redhat.com) |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
17 | 17 |
18 You should have received a copy of the GNU General Public License | 18 You should have received a copy of the GNU General Public License |
19 along with GCC; see the file COPYING3. If not see | 19 along with GCC; see the file COPYING3. If not see |
20 <http://www.gnu.org/licenses/>. */ | 20 <http://www.gnu.org/licenses/>. */ |
21 | 21 |
22 extern void mep_conditional_register_usage (char *, char *); | |
23 extern void mep_optimization_options (void); | |
24 extern void mep_override_options (void); | |
25 extern int mep_regno_reg_class (int); | 22 extern int mep_regno_reg_class (int); |
26 extern int mep_reg_class_from_constraint (int, const char *); | 23 extern int mep_reg_class_from_constraint (int, const char *); |
27 extern bool mep_const_ok_for_letter_p (HOST_WIDE_INT, int); | 24 extern bool mep_const_ok_for_letter_p (HOST_WIDE_INT, int); |
28 extern bool mep_extra_constraint (rtx, int); | 25 extern bool mep_extra_constraint (rtx, int); |
29 extern rtx mep_mulr_source (rtx, rtx, rtx, rtx); | 26 extern rtx mep_mulr_source (rtx, rtx, rtx, rtx); |
35 extern bool mep_vliw_mode_match (rtx); | 32 extern bool mep_vliw_mode_match (rtx); |
36 extern bool mep_vliw_jmp_match (rtx); | 33 extern bool mep_vliw_jmp_match (rtx); |
37 extern bool mep_multi_slot (rtx); | 34 extern bool mep_multi_slot (rtx); |
38 extern bool mep_legitimate_address (enum machine_mode, rtx, int); | 35 extern bool mep_legitimate_address (enum machine_mode, rtx, int); |
39 extern int mep_legitimize_address (rtx *, rtx, enum machine_mode); | 36 extern int mep_legitimize_address (rtx *, rtx, enum machine_mode); |
40 #ifdef MAX_RELOADS | 37 extern int mep_legitimize_reload_address (rtx *, enum machine_mode, int, /*enum reload_type*/ int, int); |
41 extern int mep_legitimize_reload_address (rtx *, enum machine_mode, int, enum reload_type, int); | |
42 #endif | |
43 extern int mep_core_address_length (rtx, int); | 38 extern int mep_core_address_length (rtx, int); |
44 extern int mep_cop_address_length (rtx, int); | 39 extern int mep_cop_address_length (rtx, int); |
45 extern bool mep_expand_mov (rtx *, enum machine_mode); | 40 extern bool mep_expand_mov (rtx *, enum machine_mode); |
46 extern bool mep_mov_ok (rtx *, enum machine_mode); | 41 extern bool mep_mov_ok (rtx *, enum machine_mode); |
47 extern void mep_split_wide_move (rtx *, enum machine_mode); | 42 extern void mep_split_wide_move (rtx *, enum machine_mode); |
51 extern bool mep_legitimate_constant_p (rtx); | 46 extern bool mep_legitimate_constant_p (rtx); |
52 #endif | 47 #endif |
53 extern const char *mep_emit_cbranch (rtx *, int); | 48 extern const char *mep_emit_cbranch (rtx *, int); |
54 extern void mep_expand_call (rtx *, int); | 49 extern void mep_expand_call (rtx *, int); |
55 extern rtx mep_find_base_term (rtx); | 50 extern rtx mep_find_base_term (rtx); |
56 extern int mep_secondary_input_reload_class (enum reg_class, enum machine_mode, rtx); | 51 extern enum reg_class mep_secondary_input_reload_class (enum reg_class, enum machine_mode, rtx); |
57 extern int mep_secondary_output_reload_class (enum reg_class, enum machine_mode, rtx); | 52 extern enum reg_class mep_secondary_output_reload_class (enum reg_class, enum machine_mode, rtx); |
58 extern bool mep_secondary_memory_needed (enum reg_class, enum reg_class, | 53 extern bool mep_secondary_memory_needed (enum reg_class, enum reg_class, |
59 enum machine_mode); | 54 enum machine_mode); |
60 extern void mep_expand_reload (rtx *, enum machine_mode); | 55 extern void mep_expand_reload (rtx *, enum machine_mode); |
61 extern enum reg_class mep_preferred_reload_class (rtx, enum reg_class); | 56 extern enum reg_class mep_preferred_reload_class (rtx, enum reg_class); |
62 extern int mep_register_move_cost (enum machine_mode, enum reg_class, enum reg_class); | 57 extern int mep_register_move_cost (enum machine_mode, enum reg_class, enum reg_class); |
75 extern const char *mep_emit_bb_trace_ret (void); | 70 extern const char *mep_emit_bb_trace_ret (void); |
76 extern void mep_print_operand_address (FILE *, rtx); | 71 extern void mep_print_operand_address (FILE *, rtx); |
77 extern void mep_print_operand (FILE *, rtx, int); | 72 extern void mep_print_operand (FILE *, rtx, int); |
78 extern void mep_final_prescan_insn (rtx, rtx *, int); | 73 extern void mep_final_prescan_insn (rtx, rtx *, int); |
79 extern void mep_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree); | 74 extern void mep_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree); |
80 extern rtx mep_function_arg (CUMULATIVE_ARGS, enum machine_mode, tree, int); | |
81 extern void mep_arg_advance (CUMULATIVE_ARGS *, enum machine_mode, tree, int); | |
82 extern bool mep_return_in_memory (const_tree, const_tree); | 75 extern bool mep_return_in_memory (const_tree, const_tree); |
83 extern rtx mep_function_value (tree, tree); | 76 extern rtx mep_function_value (const_tree, const_tree); |
84 extern rtx mep_libcall_value (enum machine_mode); | 77 extern rtx mep_libcall_value (enum machine_mode); |
85 extern void mep_asm_output_opcode (FILE *, const char *); | 78 extern void mep_asm_output_opcode (FILE *, const char *); |
86 extern void mep_note_pragma_disinterrupt (const char *); | 79 extern void mep_note_pragma_disinterrupt (const char *); |
87 extern void mep_note_pragma_call (const char *); | 80 extern void mep_note_pragma_call (const char *); |
88 extern void mep_file_cleanups (void); | 81 extern void mep_file_cleanups (void); |
106 extern bool mep_have_copro_copro_moves_p; | 99 extern bool mep_have_copro_copro_moves_p; |
107 | 100 |
108 extern bool mep_cannot_change_mode_class (enum machine_mode, enum machine_mode, | 101 extern bool mep_cannot_change_mode_class (enum machine_mode, enum machine_mode, |
109 enum reg_class); | 102 enum reg_class); |
110 | 103 |
104 /* These are called from mep-pragmas (front end) and then call into | |
105 the RTL layer to re-initialize the register tables once we're done | |
106 changing them via pragmas. */ | |
107 extern void mep_save_register_info (void); | |
108 extern void mep_reinit_regs (void); | |
109 extern void mep_init_regs (void); | |
110 | |
111 | |
111 extern int cgen_h_uint_6a1_immediate (rtx, enum machine_mode); | 112 extern int cgen_h_uint_6a1_immediate (rtx, enum machine_mode); |
112 extern int cgen_h_uint_7a1_immediate (rtx, enum machine_mode); | 113 extern int cgen_h_uint_7a1_immediate (rtx, enum machine_mode); |
113 extern int cgen_h_uint_8a1_immediate (rtx, enum machine_mode); | 114 extern int cgen_h_uint_8a1_immediate (rtx, enum machine_mode); |
114 extern int cgen_h_uint_6a2_immediate (rtx, enum machine_mode); | 115 extern int cgen_h_uint_6a2_immediate (rtx, enum machine_mode); |
115 extern int cgen_h_uint_22a4_immediate (rtx, enum machine_mode); | 116 extern int cgen_h_uint_22a4_immediate (rtx, enum machine_mode); |