Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / config / mn10300 / mn10300-protos.h
blob77af9a9b131f41d42176a701e50efc61489454dc
1 /* Definitions of target machine for GNU compiler. Matsushita MN10300 series
2 Copyright (C) 2000, 2003, 2004 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 2, 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 COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 #ifdef RTX_CODE
24 #ifdef TREE_CODE
25 extern void mn10300_va_start (tree, rtx);
26 #endif /* TREE_CODE */
28 extern struct rtx_def *legitimize_address (rtx, rtx, enum machine_mode);
29 extern rtx legitimize_pic_address (rtx, rtx);
30 extern int legitimate_pic_operand_p (rtx);
31 extern bool legitimate_address_p (enum machine_mode, rtx, int);
32 extern void print_operand (FILE *, rtx, int);
33 extern void print_operand_address (FILE *, rtx);
34 extern void mn10300_print_reg_list (FILE *, int);
35 extern int mn10300_get_live_callee_saved_regs (void);
36 extern void mn10300_gen_multiple_store (int);
37 extern void notice_update_cc (rtx, rtx);
38 extern enum reg_class secondary_reload_class (enum reg_class,
39 enum machine_mode, rtx);
40 extern const char *output_tst (rtx, rtx);
41 extern int store_multiple_operation (rtx, enum machine_mode);
42 extern int symbolic_operand (rtx, enum machine_mode);
43 extern int call_address_operand (rtx, enum machine_mode);
44 extern int impossible_plus_operand (rtx, enum machine_mode);
45 extern int const_8bit_operand (rtx, enum machine_mode);
47 extern bool mn10300_wide_const_load_uses_clr (rtx operands[2]);
48 #endif /* RTX_CODE */
50 #ifdef TREE_CODE
51 extern struct rtx_def *function_arg (CUMULATIVE_ARGS *,
52 enum machine_mode, tree, int);
53 #endif /* TREE_CODE */
55 extern void expand_prologue (void);
56 extern void expand_epilogue (void);
57 extern int initial_offset (int, int);
58 extern int can_use_return_insn (void);
59 extern int mask_ok_for_mem_btst (int, int);