]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/v850/v850-protos.h
Update Copyright years for files modified in 2010.
[thirdparty/gcc.git] / gcc / config / v850 / v850-protos.h
CommitLineData
5d8f8b65 1/* Prototypes for v850.c functions used in the md file & elsewhere.
d652f226 2 Copyright (C) 1999, 2000, 2002, 2004, 2005, 2007, 2010
fda41d93 3 Free Software Foundation, Inc.
5d8f8b65 4
301ee2f3 5 This file is part of GCC.
5d8f8b65 6
301ee2f3 7 GCC is free software; you can redistribute it and/or modify
8376061d 8 it under the terms of the GNU General Public License as published by
2f83c7d6 9 the Free Software Foundation; either version 3, or (at your option)
8376061d 10 any later version.
5d8f8b65 11
301ee2f3 12 GCC is distributed in the hope that it will be useful,
8376061d
CM
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
5d8f8b65 16
8376061d 17 You should have received a copy of the GNU General Public License
2f83c7d6
NC
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
5d8f8b65
NC
20
21/* Function prototypes that cannot exist in v850.h due to dependency
d6a7951f 22 complications. */
8b97c5f8
ZW
23#ifndef GCC_V850_PROTOS_H
24#define GCC_V850_PROTOS_H
25
5d8f8b65
NC
26#define Mmode enum machine_mode
27
59f3507d
NN
28extern void expand_prologue (void);
29extern void expand_epilogue (void);
59f3507d 30extern int v850_handle_pragma (int (*)(void), void (*)(int), char *);
59f3507d
NN
31extern int compute_register_save_size (long *);
32extern int compute_frame_size (int, long *);
33extern void v850_init_expanders (void);
5d8f8b65
NC
34
35#ifdef RTX_CODE
59f3507d
NN
36extern int v850_output_addr_const_extra (FILE *, rtx);
37extern rtx v850_return_addr (int);
59f3507d
NN
38extern const char *output_move_single (rtx *);
39extern void notice_update_cc (rtx, rtx);
40extern char * construct_save_jarl (rtx);
41extern char * construct_restore_jr (rtx);
5d8f8b65 42#ifdef HAVE_MACHINE_MODES
59f3507d
NN
43extern char * construct_dispose_instruction (rtx);
44extern char * construct_prepare_instruction (rtx);
59f3507d 45extern int ep_memory_operand (rtx, Mmode, int);
223a9d64
N
46extern int v850_float_z_comparison_operator (rtx, Mmode);
47extern int v850_float_nz_comparison_operator (rtx, Mmode);
48extern rtx v850_gen_compare (enum rtx_code, Mmode, rtx, rtx);
49extern Mmode v850_gen_float_compare (enum rtx_code, Mmode, rtx, rtx);
50extern Mmode v850_select_cc_mode (RTX_CODE, rtx, rtx);
5d8f8b65 51#endif
74a3d2c3 52#endif /* RTX_CODE */
5d8f8b65
NC
53
54#ifdef TREE_CODE
59f3507d 55extern int v850_interrupt_function_p (tree);
ea40ba9c 56extern void v850_output_aligned_bss (FILE *, tree, const char *, unsigned HOST_WIDE_INT, int);
59f3507d
NN
57extern void v850_output_common (FILE *, tree, const char *, int, int);
58extern void v850_output_local (FILE *, tree, const char *, int, int);
59extern v850_data_area v850_get_data_area (tree);
5d8f8b65
NC
60#endif
61
59f3507d
NN
62extern void ghs_pragma_section (struct cpp_reader *);
63extern void ghs_pragma_interrupt (struct cpp_reader *);
64extern void ghs_pragma_starttda (struct cpp_reader *);
65extern void ghs_pragma_startsda (struct cpp_reader *);
66extern void ghs_pragma_startzda (struct cpp_reader *);
67extern void ghs_pragma_endtda (struct cpp_reader *);
68extern void ghs_pragma_endsda (struct cpp_reader *);
69extern void ghs_pragma_endzda (struct cpp_reader *);
8b97c5f8 70
5d8f8b65
NC
71#undef Mmode
72
88657302 73#endif /* ! GCC_V850_PROTOS_H */