]>
Commit | Line | Data |
---|---|---|
6b3d1e47 | 1 | /* Definitions of target machine for GNU compiler for iq2000. |
2f83c7d6 | 2 | Copyright (C) 2003, 2004, 2007 Free Software Foundation, Inc. |
6b3d1e47 | 3 | |
b7849684 | 4 | This file is part of GCC. |
6b3d1e47 | 5 | |
b7849684 | 6 | GCC is free software; you can redistribute it and/or modify |
6b3d1e47 | 7 | it under the terms of the GNU General Public License as published by |
2f83c7d6 | 8 | the Free Software Foundation; either version 3, or (at your option) |
6b3d1e47 SC |
9 | any later version. |
10 | ||
b7849684 | 11 | GCC is distributed in the hope that it will be useful, |
6b3d1e47 SC |
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 | |
2f83c7d6 NC |
17 | along with GCC; see the file COPYING3. If not see |
18 | <http://www.gnu.org/licenses/>. */ | |
6b3d1e47 SC |
19 | |
20 | #ifndef GCC_IQ2000_PROTOS_H | |
21 | #define GCC_IQ2000_PROTOS_H | |
22 | ||
b5144086 SC |
23 | extern int iq2000_check_split (rtx, enum machine_mode); |
24 | extern int iq2000_reg_mode_ok_for_base_p (rtx, enum machine_mode, int); | |
25 | extern int iq2000_legitimate_address_p (enum machine_mode, rtx, int); | |
26 | extern const char * iq2000_fill_delay_slot (const char *, enum delay_type, rtx *, rtx); | |
27 | extern const char * iq2000_move_1word (rtx *, rtx, int); | |
28 | extern void override_options (void); | |
29 | extern HOST_WIDE_INT iq2000_debugger_offset (rtx, HOST_WIDE_INT); | |
30 | extern void final_prescan_insn (rtx, rtx *, int); | |
31 | extern HOST_WIDE_INT compute_frame_size (HOST_WIDE_INT); | |
32 | extern int iq2000_initial_elimination_offset (int, int); | |
33 | extern void iq2000_expand_prologue (void); | |
34 | extern void iq2000_expand_epilogue (void); | |
35 | extern void iq2000_expand_eh_return (rtx); | |
36 | extern int iq2000_can_use_return_insn (void); | |
b5144086 SC |
37 | extern int iq2000_adjust_insn_length (rtx, int); |
38 | extern char * iq2000_output_conditional_branch (rtx, rtx *, int, int, int, int); | |
b5144086 SC |
39 | extern void print_operand_address (FILE *, rtx); |
40 | extern void print_operand (FILE *, rtx, int); | |
6b3d1e47 SC |
41 | |
42 | #ifdef RTX_CODE | |
b5144086 SC |
43 | extern rtx gen_int_relational (enum rtx_code, rtx, rtx, rtx, int *); |
44 | extern void gen_conditional_branch (rtx *, enum rtx_code); | |
6b3d1e47 SC |
45 | #endif |
46 | ||
47 | #ifdef TREE_CODE | |
b5144086 SC |
48 | extern void init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx); |
49 | extern void function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode, tree, int); | |
586de218 | 50 | extern struct rtx_def * function_arg (CUMULATIVE_ARGS *, enum machine_mode, const_tree, int); |
b5144086 | 51 | extern void iq2000_va_start (tree, rtx); |
586de218 | 52 | extern rtx iq2000_function_value (const_tree, const_tree); |
6b3d1e47 SC |
53 | #endif |
54 | ||
55 | #endif /* ! GCC_IQ2000_PROTOS_H */ |