OSDN Git Service

Prototypes for functions defined in target C source files.
[pf3gnuchains/gcc-fork.git] / gcc / config / v850 / v850-protos.h
1 /* Prototypes for v850.c functions used in the md file & elsewhere.
2    Copyright (C) 1999 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
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.
10
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.
15
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.  */
20
21 /* Function prototypes that cannot exist in v850.h due to dependency
22    compilcations.  */
23 #define Mmode enum machine_mode
24
25 extern void   expand_prologue               PROTO ((void));
26 extern void   expand_epilogue               PROTO ((void));
27 extern void   sdata_section                 PROTO ((void));
28 extern void   rosdata_section               PROTO ((void));
29 extern void   sbss_section                  PROTO ((void));
30 extern void   tdata_section                 PROTO ((void));
31 extern void   zdata_section                 PROTO ((void));
32 extern void   rozdata_section               PROTO ((void));
33 extern void   zbss_section                  PROTO ((void));
34 extern int    v850_handle_pragma            PROTO ((int (*)(void), void (*)(int), char *));
35 extern void   asm_file_start                PROTO ((FILE *));
36 extern void   override_options              PROTO ((void));
37 extern int    compute_register_save_size    PROTO ((long *));
38 extern int    compute_frame_size            PROTO ((int, long *));
39
40 #ifdef RTX_CODE
41 extern void   print_operand                 PROTO ((FILE *, rtx, int ));
42 extern void   print_operand_address         PROTO ((FILE *, rtx));
43 extern int    const_costs                   PROTO ((rtx, enum rtx_code));
44 extern char * output_move_double            PROTO ((rtx *));
45 extern char * output_move_single            PROTO ((rtx *));
46 extern void   v850_reorg                    PROTO ((rtx));
47 extern void   notice_update_cc              PROTO ((rtx, rtx));
48 extern char * construct_save_jarl           PROTO ((rtx));
49 extern char * construct_restore_jr          PROTO ((rtx));
50 #ifdef HAVE_MACHINE_MODES
51 extern int    ep_memory_operand             PROTO ((rtx, Mmode, int));
52 extern int    reg_or_0_operand              PROTO ((rtx, Mmode));
53 extern int    reg_or_int5_operand           PROTO ((rtx, Mmode));
54 extern int    call_address_operand          PROTO ((rtx, Mmode));
55 extern int    movsi_source_operand          PROTO ((rtx, Mmode));
56 extern int    power_of_two_operand          PROTO ((rtx, Mmode));
57 extern int    not_power_of_two_operand      PROTO ((rtx, Mmode));
58 extern int    special_symbolref_operand     PROTO ((rtx, Mmode));
59 extern int    pattern_is_ok_for_prologue    PROTO ((rtx, Mmode));
60 extern int    pattern_is_ok_for_epilogue    PROTO ((rtx, Mmode));
61 extern int    register_is_ok_for_epilogue   PROTO ((rtx, Mmode));
62 #ifdef TREE_CODE
63 extern rtx    function_arg                  PROTO ((CUMULATIVE_ARGS *, Mmode, tree, int));
64 extern rtx    v850_va_arg                   PROTO ((tree, tree));
65 #endif
66 #endif
67 #endif /* TREE_CODE */
68
69 #ifdef TREE_CODE
70 extern int    v850_valid_machine_decl_attribute  PROTO ((tree, tree, tree));
71 extern void   v850_encode_data_area         PROTO ((tree));
72 extern void   v850_set_default_decl_attr    PROTO ((tree));
73 extern int    v850_interrupt_function_p     PROTO ((tree));
74 extern void   v850_output_aligned_bss       PROTO ((FILE *, tree, char *, int, int));
75 extern void   v850_output_common            PROTO ((FILE *, tree, char *, int, int));
76 extern void   v850_output_local             PROTO ((FILE *, tree, char *, int, int));
77 extern v850_data_area v850_get_data_area    PROTO ((tree));
78 #ifdef HAVE_MACHINE_MODES
79 extern int    function_arg_partial_nregs    PROTO ((CUMULATIVE_ARGS *, Mmode, tree, int));
80 #endif
81 #endif
82
83 #undef  Mmode
84