1 |
12 |
jlechner |
/* Definitions of target machine for GNU compiler for iq2000.
|
2 |
|
|
Copyright (C) 2003, 2004 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 2, 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 COPYING. If not, write to
|
18 |
|
|
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
19 |
|
|
Boston, MA 02110-1301, USA. */
|
20 |
|
|
|
21 |
|
|
#ifndef GCC_IQ2000_PROTOS_H
|
22 |
|
|
#define GCC_IQ2000_PROTOS_H
|
23 |
|
|
|
24 |
|
|
extern int iq2000_check_split (rtx, enum machine_mode);
|
25 |
|
|
extern int iq2000_reg_mode_ok_for_base_p (rtx, enum machine_mode, int);
|
26 |
|
|
extern int iq2000_legitimate_address_p (enum machine_mode, rtx, int);
|
27 |
|
|
extern const char * iq2000_fill_delay_slot (const char *, enum delay_type, rtx *, rtx);
|
28 |
|
|
extern const char * iq2000_move_1word (rtx *, rtx, int);
|
29 |
|
|
extern void override_options (void);
|
30 |
|
|
extern HOST_WIDE_INT iq2000_debugger_offset (rtx, HOST_WIDE_INT);
|
31 |
|
|
extern void final_prescan_insn (rtx, rtx *, int);
|
32 |
|
|
extern HOST_WIDE_INT compute_frame_size (HOST_WIDE_INT);
|
33 |
|
|
extern int iq2000_initial_elimination_offset (int, int);
|
34 |
|
|
extern void iq2000_expand_prologue (void);
|
35 |
|
|
extern void iq2000_expand_epilogue (void);
|
36 |
|
|
extern void iq2000_expand_eh_return (rtx);
|
37 |
|
|
extern int iq2000_can_use_return_insn (void);
|
38 |
|
|
extern int iq2000_adjust_insn_length (rtx, int);
|
39 |
|
|
extern char * iq2000_output_conditional_branch (rtx, rtx *, int, int, int, int);
|
40 |
|
|
extern void print_operand_address (FILE *, rtx);
|
41 |
|
|
extern void print_operand (FILE *, rtx, int);
|
42 |
|
|
|
43 |
|
|
#ifdef RTX_CODE
|
44 |
|
|
extern rtx gen_int_relational (enum rtx_code, rtx, rtx, rtx, int *);
|
45 |
|
|
extern void gen_conditional_branch (rtx *, enum rtx_code);
|
46 |
|
|
#endif
|
47 |
|
|
|
48 |
|
|
#ifdef TREE_CODE
|
49 |
|
|
extern void init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx);
|
50 |
|
|
extern void function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode, tree, int);
|
51 |
|
|
extern struct rtx_def * function_arg (CUMULATIVE_ARGS *, enum machine_mode, tree, int);
|
52 |
|
|
extern void iq2000_va_start (tree, rtx);
|
53 |
|
|
extern rtx iq2000_function_value (tree, tree);
|
54 |
|
|
#endif
|
55 |
|
|
|
56 |
|
|
#endif /* ! GCC_IQ2000_PROTOS_H */
|