xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/iq2000/iq2000-protos.h (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
1 /* Definitions of target machine for GNU compiler for iq2000.
2    Copyright (C) 2003-2020 Free Software Foundation, Inc.
3 
4    This file is part of GCC.
5 
6    GCC 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 3, or (at your option)
9    any later version.
10 
11    GCC 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 GCC; see the file COPYING3.  If not see
18    <http://www.gnu.org/licenses/>.  */
19 
20 #ifndef GCC_IQ2000_PROTOS_H
21 #define GCC_IQ2000_PROTOS_H
22 
23 extern int              iq2000_check_split (rtx, machine_mode);
24 extern int              iq2000_reg_mode_ok_for_base_p (rtx, machine_mode, int);
25 extern const char *     iq2000_fill_delay_slot (const char *, enum delay_type, rtx *, rtx_insn *);
26 extern const char *     iq2000_move_1word (rtx *, rtx_insn *, int);
27 extern HOST_WIDE_INT    iq2000_debugger_offset (rtx, HOST_WIDE_INT);
28 extern void             final_prescan_insn (rtx_insn *, rtx *, int);
29 extern HOST_WIDE_INT    compute_frame_size (HOST_WIDE_INT);
30 extern int              iq2000_initial_elimination_offset (int, int);
31 extern void             iq2000_expand_prologue (void);
32 extern void             iq2000_expand_epilogue (void);
33 extern void             iq2000_expand_eh_return (rtx);
34 extern int              iq2000_can_use_return_insn (void);
35 extern int              iq2000_adjust_insn_length (rtx_insn *, int);
36 extern char *           iq2000_output_conditional_branch (rtx_insn *, rtx *,
37 							  int, int, int, int);
38 
39 #ifdef RTX_CODE
40 extern rtx              gen_int_relational (enum rtx_code, rtx, rtx, rtx, int *);
41 extern void             gen_conditional_branch (rtx *, machine_mode);
42 #endif
43 
44 #ifdef TREE_CODE
45 extern void             init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx);
46 extern bool 		iq2000_function_value_regno_p (const unsigned int);
47 #endif
48 
49 #endif /* ! GCC_IQ2000_PROTOS_H */
50