summaryrefslogtreecommitdiff
path: root/gcc/config/fr30/fr30-protos.h
blob: 5d725a5ae342f61639dbd66a16d636a1196cb7c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/* Prototypes for fr30.c functions used in the md file & elsewhere.
   Copyright (C) 1999 Free Software Foundation, Inc.

This file is part of GNU CC.

GNU CC is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.

GNU CC is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING.  If not, write to
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.  */

extern void  fr30_expand_prologue PARAMS ((void));
extern void  fr30_expand_epilogue PARAMS ((void));
extern unsigned int fr30_compute_frame_size PARAMS ((int, int));

#ifdef RTX_CODE
extern int   fr30_check_multiple_regs   PARAMS ((rtx *, int, int));
extern void  fr30_print_operand         PARAMS ((FILE *, rtx, int));
extern void  fr30_print_operand_address PARAMS ((FILE *, rtx));
#ifdef TREE_CODE
extern rtx   fr30_va_arg                PARAMS ((tree, tree));
#endif /* TREE_CODE */
#ifdef HAVE_MACHINE_MODES
#define Mmode enum machine_mode
extern int   stack_add_operand          PARAMS ((rtx, Mmode));
extern int   add_immediate_operand      PARAMS ((rtx, Mmode));
extern int   high_register_operand      PARAMS ((rtx, Mmode));
extern int   low_register_operand       PARAMS ((rtx, Mmode));
extern int   call_operand               PARAMS ((rtx, Mmode));
#undef Mmode
#endif /* HAVE_MACHINE_MODES */
#endif /* RTX_CODE */

#ifdef TREE_CODE
extern int   fr30_num_arg_regs               PARAMS ((int, tree));
extern int   fr30_function_arg_partial_nregs PARAMS ((CUMULATIVE_ARGS, int, tree, int));
extern void  fr30_setup_incoming_varargs     PARAMS ((CUMULATIVE_ARGS, int, tree, int *));
#endif /* TREE_CODE */