Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / config / mn10300 / mn10300-protos.h
blobebf915e8e7e35c8b1200710ae442203a17b440b6
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 bool mn10300_function_value_regno_p (const unsigned int);
30 extern void mn10300_gen_multiple_store (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_cmp (rtx, rtx);
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 Rclas mn10300_secondary_reload_class (Rclas, Mmode, rtx);
40 extern Mmode mn10300_select_cc_mode (rtx);
41 extern int mn10300_store_multiple_operation (rtx, Mmode);
42 extern int mn10300_symbolic_operand (rtx, Mmode);
43 extern bool mn10300_wide_const_load_uses_clr (rtx operands[2]);
44 #endif /* RTX_CODE */
46 extern int mn10300_can_use_return_insn (void);
47 extern void mn10300_expand_prologue (void);
48 extern void mn10300_expand_epilogue (void);
49 extern int mn10300_initial_offset (int, int);
50 extern int mn10300_mask_ok_for_mem_btst (int, int);
52 #undef Mmode
53 #undef Cstar
54 #undef Rclas