FSF GCC merge 02/23/03
[official-gcc.git] / gcc / config / fr30 / fr30-protos.h
blob4aab88c48421d0426546acb1e2bbfcb419751f35
1 /* Prototypes for fr30.c functions used in the md file & elsewhere.
2 Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 extern void fr30_expand_prologue PARAMS ((void));
22 extern void fr30_expand_epilogue PARAMS ((void));
23 extern unsigned int fr30_compute_frame_size PARAMS ((int, int));
25 #ifdef RTX_CODE
26 extern int fr30_check_multiple_regs PARAMS ((rtx *, int, int));
27 extern void fr30_print_operand PARAMS ((FILE *, rtx, int));
28 extern void fr30_print_operand_address PARAMS ((FILE *, rtx));
29 extern rtx fr30_move_double PARAMS ((rtx *));
30 #ifdef TREE_CODE
31 extern rtx fr30_va_arg PARAMS ((tree, tree));
32 #endif /* TREE_CODE */
33 #ifdef HAVE_MACHINE_MODES
34 #define Mmode enum machine_mode
35 extern int stack_add_operand PARAMS ((rtx, Mmode));
36 extern int add_immediate_operand PARAMS ((rtx, Mmode));
37 extern int high_register_operand PARAMS ((rtx, Mmode));
38 extern int low_register_operand PARAMS ((rtx, Mmode));
39 extern int call_operand PARAMS ((rtx, Mmode));
40 extern int di_operand PARAMS ((rtx, Mmode));
41 extern int nonimmediate_di_operand PARAMS ((rtx, Mmode));
42 extern int fr30_const_double_is_zero PARAMS ((rtx));
43 #undef Mmode
44 #endif /* HAVE_MACHINE_MODES */
45 #endif /* RTX_CODE */
47 #ifdef TREE_CODE
48 extern int fr30_num_arg_regs PARAMS ((int, tree));
49 extern int fr30_function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS, int, tree, int));
50 extern void fr30_setup_incoming_varargs PARAMS ((CUMULATIVE_ARGS, int, tree, int *));
51 #endif /* TREE_CODE */