Daily bump.
[official-gcc.git] / gcc / config / mn10300 / mn10300-protos.h
blob058f5df87511bcb5f07a8e8516e3b802fc54dde3
1 /* Definitions of target machine for GNU compiler. Matsushita MN10300 series
2 Copyright (C) 2000, 2003, 2004, 2005, 2007, 2009, 2010
3 Free Software Foundation, Inc.
4 Contributed by Jeff Law (law@cygnus.com).
6 This file is part of GCC.
8 GCC is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3, or (at your option)
11 any later version.
13 GCC is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with GCC; see the file COPYING3. If not see
20 <http://www.gnu.org/licenses/>. */
22 #define Mmode enum machine_mode
23 #define Cstar const char *
24 #define Rclas enum reg_class
26 #ifdef RTX_CODE
27 extern rtx mn10300_legitimize_pic_address (rtx, rtx);
28 extern int mn10300_legitimate_pic_operand_p (rtx);
29 extern rtx mn10300_legitimize_reload_address (rtx, Mmode, int, int, int);
30 extern bool mn10300_function_value_regno_p (const unsigned int);
31 extern int mn10300_get_live_callee_saved_regs (void);
32 extern bool mn10300_hard_regno_mode_ok (unsigned int, Mmode);
33 extern bool mn10300_legitimate_constant_p (rtx);
34 extern bool mn10300_modes_tieable (Mmode, Mmode);
35 extern Cstar mn10300_output_add (rtx[3], bool);
36 extern void mn10300_print_operand (FILE *, rtx, int);
37 extern void mn10300_print_operand_address (FILE *, rtx);
38 extern void mn10300_print_reg_list (FILE *, int);
39 extern Mmode mn10300_select_cc_mode (enum rtx_code, rtx, rtx);
40 extern int mn10300_store_multiple_operation (rtx, Mmode);
41 extern int mn10300_symbolic_operand (rtx, Mmode);
42 extern void mn10300_split_cbranch (Mmode, rtx, rtx);
43 extern int mn10300_split_and_operand_count (rtx);
44 extern bool mn10300_match_ccmode (rtx, Mmode);
45 #endif /* RTX_CODE */
47 extern bool mn10300_regno_in_class_p (unsigned, int, bool);
48 extern bool mn10300_can_use_rets_insn (void);
49 extern bool mn10300_can_use_retf_insn (void);
50 extern void mn10300_expand_prologue (void);
51 extern void mn10300_expand_epilogue (void);
52 extern int mn10300_initial_offset (int, int);
53 extern int mn10300_frame_size (void);
55 #undef Mmode
56 #undef Cstar
57 #undef Rclas