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