2016-11-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / config / mn10300 / mn10300-protos.h
blob46f4a1f65ba20ecb5c8fc722b7dbbe4a8de7d68b
1 /* Definitions of target machine for GNU compiler. Matsushita MN10300 series
2 Copyright (C) 2000-2016 Free Software Foundation, Inc.
3 Contributed by Jeff Law (law@cygnus.com).
5 This file is part of GCC.
7 GCC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3, or (at your option)
10 any later version.
12 GCC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public 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 #ifdef RTX_CODE
22 extern rtx mn10300_legitimize_pic_address (rtx, rtx);
23 extern int mn10300_legitimate_pic_operand_p (rtx);
24 extern rtx mn10300_legitimize_reload_address (rtx, machine_mode,
25 int, int, int);
26 extern bool mn10300_function_value_regno_p (const unsigned int);
27 extern unsigned int mn10300_get_live_callee_saved_regs (unsigned int *);
28 extern bool mn10300_hard_regno_mode_ok (unsigned int, machine_mode);
29 extern bool mn10300_modes_tieable (machine_mode, machine_mode);
30 extern const char *mn10300_output_add (rtx[3], bool);
31 extern void mn10300_print_operand (FILE *, rtx, int);
32 extern void mn10300_print_operand_address (FILE *, rtx);
33 extern void mn10300_print_reg_list (FILE *, int);
34 extern machine_mode mn10300_select_cc_mode (enum rtx_code, rtx, rtx);
35 extern unsigned int mn10300_store_multiple_regs (rtx);
36 extern int mn10300_symbolic_operand (rtx, machine_mode);
37 extern void mn10300_split_cbranch (machine_mode, rtx, rtx);
38 extern int mn10300_split_and_operand_count (rtx);
39 extern bool mn10300_match_ccmode (rtx, machine_mode);
40 #endif /* RTX_CODE */
42 extern bool mn10300_regno_in_class_p (unsigned, int, bool);
43 extern bool mn10300_can_use_rets_insn (void);
44 extern bool mn10300_can_use_retf_insn (void);
45 extern void mn10300_expand_prologue (void);
46 extern void mn10300_expand_epilogue (void);
47 extern int mn10300_initial_offset (int, int);
48 extern int mn10300_frame_size (void);