OSDN Git Service

0810dad6860299bd13e532ef6c2b2d1ee2f9188e
[pf3gnuchains/gcc-fork.git] / gcc / config / mn10300 / mn10300-protos.h
1 /* Definitions of target machine for GNU compiler. Matsushita MN10300 series
2    Copyright (C) 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
3    Contributed by Jeff Law (law@cygnus.com).
4
5 This file is part of GCC.
6
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 2, or (at your option)
10 any later version.
11
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.
16
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20 Boston, MA 02110-1301, USA.  */
21
22 #ifdef RTX_CODE
23
24 #ifdef TREE_CODE
25 extern void mn10300_va_start (tree, rtx);
26 #endif /* TREE_CODE */
27
28 extern void mn10300_override_options (void);
29 extern struct rtx_def *legitimize_address (rtx, rtx, enum machine_mode);
30 extern rtx legitimize_pic_address (rtx, rtx);
31 extern int legitimate_pic_operand_p (rtx);
32 extern bool legitimate_address_p (enum machine_mode, rtx, int);
33 extern void print_operand (FILE *, rtx, int);
34 extern void print_operand_address (FILE *, rtx);
35 extern void mn10300_print_reg_list (FILE *, int);
36 extern int mn10300_get_live_callee_saved_regs (void);
37 extern void mn10300_gen_multiple_store (int);
38 extern void notice_update_cc (rtx, rtx);
39 extern enum reg_class secondary_reload_class (enum reg_class,
40                                               enum machine_mode, rtx);
41 extern const char *output_tst (rtx, rtx);
42 extern int store_multiple_operation (rtx, enum machine_mode);
43 extern int symbolic_operand (rtx, enum machine_mode);
44 extern int impossible_plus_operand (rtx, enum machine_mode);
45
46 extern bool mn10300_wide_const_load_uses_clr (rtx operands[2]);
47 #endif /* RTX_CODE */
48
49 #ifdef TREE_CODE
50 extern struct rtx_def *function_arg (CUMULATIVE_ARGS *,
51                                      enum machine_mode, tree, int);
52 #endif /* TREE_CODE */
53
54 extern void expand_prologue (void);
55 extern void expand_epilogue (void);
56 extern int initial_offset (int, int);
57 extern int can_use_return_insn (void);
58 extern int mask_ok_for_mem_btst (int, int);