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