]>
Commit | Line | Data |
---|---|---|
38b2d076 DD |
1 | /* Target Prototypes for R8C/M16C/M32C |
2 | Copyright (C) 2005 | |
3 | Free Software Foundation, Inc. | |
4 | Contributed by Red Hat. | |
5 | ||
6 | This file is part of GCC. | |
7 | ||
8 | GCC is free software; you can redistribute it and/or modify it | |
9 | under the terms of the GNU General Public License as published | |
10 | by the Free Software Foundation; either version 2, or (at your | |
11 | option) any later version. | |
12 | ||
13 | GCC is distributed in the hope that it will be useful, but WITHOUT | |
14 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
15 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
16 | License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with GCC; see the file COPYING. If not, write to the Free | |
20 | Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA | |
21 | 02110-1301, USA. */ | |
22 | ||
23 | #define MM enum machine_mode | |
24 | #define UINT unsigned int | |
25 | ||
26 | int m32c_class_likely_spilled_p (int); | |
27 | void m32c_conditional_register_usage (void); | |
28 | int m32c_const_ok_for_constraint_p (HOST_WIDE_INT, char, const char *); | |
29 | UINT m32c_dwarf_frame_regnum (int); | |
30 | int m32c_eh_return_data_regno (int); | |
31 | void m32c_emit_epilogue (void); | |
32 | void m32c_emit_prologue (void); | |
33 | int m32c_epilogue_uses (int); | |
34 | int m32c_extra_address_constraint (char, const char *); | |
35 | int m32c_extra_memory_constraint (char, const char *); | |
36 | int m32c_function_arg_regno_p (int); | |
37 | void m32c_init_expanders (void); | |
38 | int m32c_initial_elimination_offset (int, int); | |
39 | void m32c_output_reg_pop (FILE *, int); | |
40 | void m32c_output_reg_push (FILE *, int); | |
41 | void m32c_override_options (void); | |
42 | int m32c_print_operand_punct_valid_p (int); | |
43 | int m32c_push_rounding (int); | |
44 | int m32c_reg_class_from_constraint (char, const char *); | |
45 | void m32c_register_pragmas (void); | |
46 | int m32c_regno_ok_for_base_p (int); | |
47 | int m32c_trampoline_alignment (void); | |
48 | int m32c_trampoline_size (void); | |
0166ff05 | 49 | void m32c_unpend_compare (void); |
38b2d076 DD |
50 | |
51 | #if defined(RTX_CODE) && defined(TREE_CODE) | |
52 | ||
53 | rtx m32c_function_arg (CUMULATIVE_ARGS *, MM, tree, int); | |
54 | rtx m32c_function_value (tree, tree); | |
55 | ||
56 | #endif | |
57 | ||
58 | #ifdef RTX_CODE | |
59 | ||
60 | int m32c_cannot_change_mode_class (MM, MM, int); | |
61 | int m32c_class_max_nregs (int, MM); | |
07127a0a | 62 | rtx m32c_cmp_flg_0 (rtx); |
38b2d076 DD |
63 | rtx m32c_eh_return_stackadj_rtx (void); |
64 | void m32c_emit_eh_epilogue (rtx); | |
07127a0a DD |
65 | int m32c_expand_cmpstr (rtx *); |
66 | int m32c_expand_insv (rtx *); | |
67 | int m32c_expand_movcc (rtx *); | |
68 | int m32c_expand_movmemhi (rtx *); | |
69 | int m32c_expand_movstr (rtx *); | |
70 | void m32c_expand_neg_mulpsi3 (rtx *); | |
71 | int m32c_expand_setmemhi (rtx *); | |
0166ff05 | 72 | void m32c_expand_scc (int, rtx *); |
38b2d076 DD |
73 | int m32c_extra_constraint_p (rtx, char, const char *); |
74 | int m32c_extra_constraint_p2 (rtx, char, const char *); | |
75 | int m32c_hard_regno_nregs (int, MM); | |
76 | int m32c_hard_regno_ok (int, MM); | |
f9b89438 | 77 | bool m32c_illegal_subreg_p (rtx); |
ff485e71 | 78 | bool m32c_immd_dbl_mov (rtx *, MM); |
38b2d076 DD |
79 | rtx m32c_incoming_return_addr_rtx (void); |
80 | void m32c_initialize_trampoline (rtx, rtx, rtx); | |
81 | int m32c_legitimate_address_p (MM, rtx, int); | |
82 | int m32c_legitimate_constant_p (rtx); | |
83 | int m32c_legitimize_address (rtx *, rtx, MM); | |
84 | int m32c_legitimize_reload_address (rtx *, MM, int, int, int); | |
85 | rtx m32c_libcall_value (MM); | |
86 | int m32c_limit_reload_class (MM, int); | |
87 | int m32c_memory_move_cost (MM, int, int); | |
38b2d076 DD |
88 | int m32c_modes_tieable_p (MM, MM); |
89 | bool m32c_mov_ok (rtx *, MM); | |
16659fcf | 90 | char * m32c_output_compare (rtx, rtx *); |
0166ff05 | 91 | void m32c_pend_compare (rtx *); |
38b2d076 DD |
92 | int m32c_preferred_output_reload_class (rtx, int); |
93 | int m32c_preferred_reload_class (rtx, int); | |
94 | int m32c_prepare_move (rtx *, MM); | |
95 | int m32c_prepare_shift (rtx *, int, int); | |
96 | void m32c_print_operand (FILE *, rtx, int); | |
97 | void m32c_print_operand_address (FILE *, rtx); | |
98 | int m32c_reg_ok_for_base_p (rtx, int); | |
99 | int m32c_register_move_cost (MM, int, int); | |
100 | MM m32c_regno_reg_class (int); | |
101 | rtx m32c_return_addr_rtx (int); | |
07127a0a | 102 | const char *m32c_scc_pattern (rtx *, RTX_CODE); |
38b2d076 DD |
103 | int m32c_secondary_reload_class (int, MM, rtx); |
104 | int m32c_split_move (rtx *, MM, int); | |
105 | int m32c_split_psi_p (rtx *); | |
106 | ||
107 | #endif | |
108 | ||
109 | #ifdef TREE_CODE | |
110 | ||
111 | void m32c_function_arg_advance (CUMULATIVE_ARGS *, MM, tree, int); | |
112 | tree m32c_gimplify_va_arg_expr (tree, tree, tree *, tree *); | |
113 | void m32c_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree, int); | |
114 | bool m32c_promote_function_return (tree); | |
5abd2125 | 115 | int m32c_special_page_vector_p (tree); |
38b2d076 DD |
116 | |
117 | #endif | |
118 | ||
119 | #undef MM | |
120 | #undef UINT |