Merge from mainline (gomp-merge-2005-02-26).
[official-gcc.git] / gcc / config / fr30 / fr30-protos.h
blobcf69a82e9ada5393e19dd49a5fec4b8eca2cafee
1 /* Prototypes for fr30.c functions used in the md file & elsewhere.
2 Copyright (C) 1999, 2000, 2002, 2004 Free Software Foundation, Inc.
4 This file is part of GCC.
6 GCC 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 GCC 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 GCC; 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 (void);
22 extern void fr30_expand_epilogue (void);
23 extern unsigned int fr30_compute_frame_size (int, int);
25 #ifdef RTX_CODE
26 extern int fr30_check_multiple_regs (rtx *, int, int);
27 extern void fr30_print_operand (FILE *, rtx, int);
28 extern void fr30_print_operand_address (FILE *, rtx);
29 extern rtx fr30_move_double (rtx *);
30 #ifdef TREE_CODE
31 extern int fr30_num_arg_regs (enum machine_mode, tree);
32 #endif /* TREE_CODE */
33 #ifdef HAVE_MACHINE_MODES
34 #define Mmode enum machine_mode
35 extern int stack_add_operand (rtx, Mmode);
36 extern int add_immediate_operand (rtx, Mmode);
37 extern int high_register_operand (rtx, Mmode);
38 extern int low_register_operand (rtx, Mmode);
39 extern int call_operand (rtx, Mmode);
40 extern int di_operand (rtx, Mmode);
41 extern int nonimmediate_di_operand (rtx, Mmode);
42 extern int fr30_const_double_is_zero (rtx);
43 #undef Mmode
44 #endif /* HAVE_MACHINE_MODES */
45 #endif /* RTX_CODE */