aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/fr30
diff options
context:
space:
mode:
authorNick Clifton <nickc@gcc.gnu.org>1999-11-08 15:43:31 +0000
committerNick Clifton <nickc@gcc.gnu.org>1999-11-08 15:43:31 +0000
commit5d8f8b657c1a8a73d4125cc4e68aa7c78e7be67f (patch)
tree1da9c0edfa551eb30fd22841f44e358772ebb84c /gcc/config/fr30
parent82a9bba5f8a8594943474d8a2c66b65385fa2f0b (diff)
downloadgcc-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/fr30')
-rw-r--r--gcc/config/fr30/fr30-protos.h47
1 files changed, 47 insertions, 0 deletions
diff --git a/gcc/config/fr30/fr30-protos.h b/gcc/config/fr30/fr30-protos.h
new file mode 100644
index 0000000..31abafb
--- /dev/null
+++ b/gcc/config/fr30/fr30-protos.h
@@ -0,0 +1,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 PROTO ((void));
+extern void fr30_expand_epilogue PROTO ((void));
+extern unsigned int fr30_compute_frame_size PROTO ((int, int));
+
+#ifdef RTX_CODE
+extern int fr30_check_multiple_regs PROTO ((rtx *, int, int));
+extern void fr30_print_operand PROTO ((FILE *, rtx, int));
+extern void fr30_print_operand_address PROTO ((FILE *, rtx));
+#ifdef TREE_CODE
+extern rtx fr30_va_arg PROTO ((tree, tree));
+#endif /* TREE_CODE */
+#ifdef HAVE_MACHINE_MODES
+#define Mmode enum machine_mode
+extern int stack_add_operand PROTO ((rtx, Mmode));
+extern int add_immediate_operand PROTO ((rtx, Mmode));
+extern int high_register_operand PROTO ((rtx, Mmode));
+extern int low_register_operand PROTO ((rtx, Mmode));
+extern int call_operand PROTO ((rtx, Mmode));
+#undef Mmode
+#endif /* HAVE_MACHINE_MODES */
+#endif /* RTX_CODE */
+
+#ifdef TREE_CODE
+extern int fr30_num_arg_regs PROTO ((int, tree));
+extern int fr30_function_arg_partial_nregs PROTO ((CUMULATIVE_ARGS, int, tree, int));
+extern void fr30_setup_incoming_varargs PROTO ((CUMULATIVE_ARGS, int, tree, int *));
+#endif /* TREE_CODE */