diff options
author | Nick Clifton <nickc@gcc.gnu.org> | 1999-11-08 15:43:31 +0000 |
---|---|---|
committer | Nick Clifton <nickc@gcc.gnu.org> | 1999-11-08 15:43:31 +0000 |
commit | 5d8f8b657c1a8a73d4125cc4e68aa7c78e7be67f (patch) | |
tree | 1da9c0edfa551eb30fd22841f44e358772ebb84c /gcc/config/v850/v850-protos.h | |
parent | 82a9bba5f8a8594943474d8a2c66b65385fa2f0b (diff) | |
download | gcc-5d8f8b657c1a8a73d4125cc4e68aa7c78e7be67f.zip gcc-5d8f8b657c1a8a73d4125cc4e68aa7c78e7be67f.tar.gz gcc-5d8f8b657c1a8a73d4125cc4e68aa7c78e7be67f.tar.bz2 |
Prototypes for functions defined in target C source files.
From-SVN: r30452
Diffstat (limited to 'gcc/config/v850/v850-protos.h')
-rw-r--r-- | gcc/config/v850/v850-protos.h | 84 |
1 files changed, 84 insertions, 0 deletions
diff --git a/gcc/config/v850/v850-protos.h b/gcc/config/v850/v850-protos.h new file mode 100644 index 0000000..e2fa1d6 --- /dev/null +++ b/gcc/config/v850/v850-protos.h @@ -0,0 +1,84 @@ +/* Prototypes for v850.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. */ + +/* Function prototypes that cannot exist in v850.h due to dependency + compilcations. */ +#define Mmode enum machine_mode + +extern void expand_prologue PROTO ((void)); +extern void expand_epilogue PROTO ((void)); +extern void sdata_section PROTO ((void)); +extern void rosdata_section PROTO ((void)); +extern void sbss_section PROTO ((void)); +extern void tdata_section PROTO ((void)); +extern void zdata_section PROTO ((void)); +extern void rozdata_section PROTO ((void)); +extern void zbss_section PROTO ((void)); +extern int v850_handle_pragma PROTO ((int (*)(void), void (*)(int), char *)); +extern void asm_file_start PROTO ((FILE *)); +extern void override_options PROTO ((void)); +extern int compute_register_save_size PROTO ((long *)); +extern int compute_frame_size PROTO ((int, long *)); + +#ifdef RTX_CODE +extern void print_operand PROTO ((FILE *, rtx, int )); +extern void print_operand_address PROTO ((FILE *, rtx)); +extern int const_costs PROTO ((rtx, enum rtx_code)); +extern char * output_move_double PROTO ((rtx *)); +extern char * output_move_single PROTO ((rtx *)); +extern void v850_reorg PROTO ((rtx)); +extern void notice_update_cc PROTO ((rtx, rtx)); +extern char * construct_save_jarl PROTO ((rtx)); +extern char * construct_restore_jr PROTO ((rtx)); +#ifdef HAVE_MACHINE_MODES +extern int ep_memory_operand PROTO ((rtx, Mmode, int)); +extern int reg_or_0_operand PROTO ((rtx, Mmode)); +extern int reg_or_int5_operand PROTO ((rtx, Mmode)); +extern int call_address_operand PROTO ((rtx, Mmode)); +extern int movsi_source_operand PROTO ((rtx, Mmode)); +extern int power_of_two_operand PROTO ((rtx, Mmode)); +extern int not_power_of_two_operand PROTO ((rtx, Mmode)); +extern int special_symbolref_operand PROTO ((rtx, Mmode)); +extern int pattern_is_ok_for_prologue PROTO ((rtx, Mmode)); +extern int pattern_is_ok_for_epilogue PROTO ((rtx, Mmode)); +extern int register_is_ok_for_epilogue PROTO ((rtx, Mmode)); +#ifdef TREE_CODE +extern rtx function_arg PROTO ((CUMULATIVE_ARGS *, Mmode, tree, int)); +extern rtx v850_va_arg PROTO ((tree, tree)); +#endif +#endif +#endif /* TREE_CODE */ + +#ifdef TREE_CODE +extern int v850_valid_machine_decl_attribute PROTO ((tree, tree, tree)); +extern void v850_encode_data_area PROTO ((tree)); +extern void v850_set_default_decl_attr PROTO ((tree)); +extern int v850_interrupt_function_p PROTO ((tree)); +extern void v850_output_aligned_bss PROTO ((FILE *, tree, char *, int, int)); +extern void v850_output_common PROTO ((FILE *, tree, char *, int, int)); +extern void v850_output_local PROTO ((FILE *, tree, char *, int, int)); +extern v850_data_area v850_get_data_area PROTO ((tree)); +#ifdef HAVE_MACHINE_MODES +extern int function_arg_partial_nregs PROTO ((CUMULATIVE_ARGS *, Mmode, tree, int)); +#endif +#endif + +#undef Mmode + |