1 /* Target Prototypes for R8C/M16C/M32C
2 Copyright (C) 2005-2017 Free Software Foundation, Inc.
3 Contributed by Red Hat.
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify it
8 under the terms of the GNU General Public License as published
9 by the Free Software Foundation; either version 3, or (at your
10 option) any later version.
12 GCC is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
15 License for more details.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 void m32c_conditional_register_usage (void);
22 unsigned int m32c_dwarf_frame_regnum (int);
23 int m32c_eh_return_data_regno (int);
24 void m32c_emit_epilogue (void);
25 void m32c_emit_prologue (void);
26 int m32c_epilogue_uses (int);
27 int m32c_function_arg_regno_p (int);
28 void m32c_init_expanders (void);
29 int m32c_initial_elimination_offset (int, int);
30 void m32c_output_reg_pop (FILE *, int);
31 void m32c_output_reg_push (FILE *, int);
32 unsigned int m32c_push_rounding (int);
33 void m32c_register_pragmas (void);
34 void m32c_note_pragma_address (const char *, unsigned);
35 int m32c_regno_ok_for_base_p (int);
36 int m32c_trampoline_alignment (void);
37 int m32c_trampoline_size (void);
41 int m32c_cannot_change_mode_class (machine_mode
, machine_mode
, int);
42 rtx
m32c_eh_return_stackadj_rtx (void);
43 void m32c_emit_eh_epilogue (rtx
);
44 int m32c_expand_cmpstr (rtx
*);
45 int m32c_expand_insv (rtx
*);
46 int m32c_expand_movcc (rtx
*);
47 int m32c_expand_movmemhi (rtx
*);
48 int m32c_expand_movstr (rtx
*);
49 void m32c_expand_neg_mulpsi3 (rtx
*);
50 int m32c_expand_setmemhi (rtx
*);
51 bool m32c_matches_constraint_p (rtx
, int);
52 int m32c_hard_regno_nregs (int, machine_mode
);
53 int m32c_hard_regno_ok (int, machine_mode
);
54 bool m32c_illegal_subreg_p (rtx
);
55 bool m32c_immd_dbl_mov (rtx
*, machine_mode
);
56 rtx
m32c_incoming_return_addr_rtx (void);
57 int m32c_legitimize_reload_address (rtx
*, machine_mode
, int, int, int);
58 int m32c_limit_reload_class (machine_mode
, int);
59 int m32c_modes_tieable_p (machine_mode
, machine_mode
);
60 bool m32c_mov_ok (rtx
*, machine_mode
);
61 char * m32c_output_compare (rtx_insn
*, rtx
*);
62 int m32c_prepare_move (rtx
*, machine_mode
);
63 int m32c_prepare_shift (rtx
*, int, int);
64 int m32c_reg_ok_for_base_p (rtx
, int);
65 enum reg_class
m32c_regno_reg_class (int);
66 rtx
m32c_return_addr_rtx (int);
67 const char *m32c_scc_pattern (rtx
*, RTX_CODE
);
68 int m32c_secondary_reload_class (int, machine_mode
, rtx
);
69 int m32c_split_move (rtx
*, machine_mode
, int);
70 int m32c_split_psi_p (rtx
*);
71 int current_function_special_page_vector (rtx
);
77 tree
m32c_gimplify_va_arg_expr (tree
, tree
, gimple_seq
*, gimple_seq
*);
78 void m32c_init_cumulative_args (CUMULATIVE_ARGS
*, tree
, rtx
, tree
, int);
79 bool m32c_promote_function_return (const_tree
);
80 int m32c_special_page_vector_p (tree
);
81 void m32c_output_aligned_common (FILE *, tree
, const char *,