]>
Commit | Line | Data |
---|---|---|
0b85d816 | 1 | /* Definitions for GCC. Part of the machine description for CRIS. |
b862b3b3 KH |
2 | Copyright (C) 1998, 1999, 2000, 2001, 2004 |
3 | Free Software Foundation, Inc. | |
0b85d816 HPN |
4 | Contributed by Axis Communications. |
5 | ||
6 | This file is part of GCC. | |
7 | ||
8 | GCC is free software; you can redistribute it and/or modify | |
9 | it under the terms of the GNU General Public License as published by | |
10 | the Free Software Foundation; either version 2, or (at your option) | |
11 | any later version. | |
12 | ||
13 | GCC is distributed in the hope that it will be useful, | |
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
16 | GNU General Public License for more details. | |
17 | ||
18 | You should have received a copy of the GNU General Public License | |
19 | along with GCC; see the file COPYING. If not, write to | |
20 | the Free Software Foundation, 59 Temple Place - Suite 330, | |
21 | Boston, MA 02111-1307, USA. */ | |
22 | ||
23 | /* Prototypes for the CRIS port. */ | |
24 | ||
25 | #if defined(FILE) || defined(stdin) || defined(stdout) || defined(getc) || defined(putc) | |
26 | #define STDIO_INCLUDED | |
27 | #endif | |
28 | ||
6640377c SB |
29 | extern void cris_conditional_register_usage (void); |
30 | extern int cris_simple_epilogue (void); | |
0b85d816 | 31 | #ifdef RTX_CODE |
6640377c SB |
32 | extern const char *cris_op_str (rtx); |
33 | extern int cris_eligible_for_epilogue_delay (rtx); | |
34 | extern void cris_notice_update_cc (rtx, rtx); | |
35 | extern void cris_print_operand (FILE *, rtx, int); | |
36 | extern void cris_print_operand_address (FILE *, rtx); | |
37 | extern int cris_side_effect_mode_ok (enum rtx_code, rtx *, int, int, | |
38 | int, int, int); | |
39 | extern rtx cris_return_addr_rtx (int, rtx); | |
40 | extern rtx cris_split_movdx (rtx *); | |
41 | extern int cris_legitimate_pic_operand (rtx); | |
42 | extern int cris_gotless_symbol (rtx); | |
43 | extern int cris_got_symbol (rtx); | |
44 | extern int cris_symbol (rtx); | |
45 | extern void cris_output_addr_const (FILE *, rtx); | |
46 | extern int cris_cfun_uses_pic_table (void); | |
0b85d816 | 47 | #endif /* RTX_CODE */ |
c18a5b6c | 48 | extern void cris_target_asm_named_section (const char *, unsigned int, tree); |
0b85d816 | 49 | |
b2416742 HPN |
50 | extern int cris_return_address_on_stack (void); |
51 | ||
6640377c | 52 | extern void cris_pragma_expand_mul (struct cpp_reader *); |
0b85d816 | 53 | |
ff482c8d | 54 | /* Need one that returns an int; usable in expressions. */ |
6640377c | 55 | extern int cris_fatal (char *); |
0b85d816 | 56 | |
6640377c | 57 | extern void cris_override_options (void); |
0b85d816 | 58 | |
6640377c | 59 | extern int cris_initial_elimination_offset (int, int); |
0b85d816 | 60 | |
6640377c | 61 | extern void cris_init_expanders (void); |
0b85d816 | 62 | |
6640377c | 63 | extern int cris_delay_slots_for_epilogue (void); |