]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/cris/cris-protos.h
Use more efficient alignment in ggc
[thirdparty/gcc.git] / gcc / config / cris / cris-protos.h
CommitLineData
0b85d816 1/* Definitions for GCC. Part of the machine description for CRIS.
984514ac
JM
2 Copyright (C) 1998, 1999, 2000, 2001, 2004, 2005, 2006, 2007, 2009, 2010,
3 2011
b862b3b3 4 Free Software Foundation, Inc.
0b85d816
HPN
5 Contributed by Axis Communications.
6
7This file is part of GCC.
8
9GCC is free software; you can redistribute it and/or modify
10it under the terms of the GNU General Public License as published by
2f83c7d6 11the Free Software Foundation; either version 3, or (at your option)
0b85d816
HPN
12any later version.
13
14GCC is distributed in the hope that it will be useful,
15but WITHOUT ANY WARRANTY; without even the implied warranty of
16MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17GNU General Public License for more details.
18
19You should have received a copy of the GNU General Public License
2f83c7d6
NC
20along with GCC; see the file COPYING3. If not see
21<http://www.gnu.org/licenses/>. */
0b85d816
HPN
22
23/* Prototypes for the CRIS port. */
24
04539954 25extern bool cris_simple_epilogue (void);
0b85d816 26#ifdef RTX_CODE
6640377c 27extern const char *cris_op_str (rtx);
6640377c 28extern void cris_notice_update_cc (rtx, rtx);
15883505 29extern bool cris_reload_address_legitimized (rtx, enum machine_mode, int, int, int);
6640377c
SB
30extern int cris_side_effect_mode_ok (enum rtx_code, rtx *, int, int,
31 int, int, int);
6e86f9ab 32extern bool cris_cc0_user_requires_cmp (rtx);
6640377c
SB
33extern rtx cris_return_addr_rtx (int, rtx);
34extern rtx cris_split_movdx (rtx *);
35extern int cris_legitimate_pic_operand (rtx);
c00fc5cf 36extern enum cris_pic_symbol_type cris_pic_symbol_type_of (rtx);
6e86f9ab 37extern bool cris_valid_pic_const (rtx, bool);
68a81332
HPN
38extern bool cris_store_multiple_op_p (rtx);
39extern bool cris_movem_load_rest_p (rtx, int);
453bd0f5 40extern void cris_asm_output_symbol_ref (FILE *, rtx);
6640377c 41extern int cris_cfun_uses_pic_table (void);
6e86f9ab 42extern void cris_asm_output_case_end (FILE *, int, rtx);
04539954 43extern rtx cris_gen_movem_load (rtx, rtx, int);
d29b4b1b 44extern rtx cris_emit_movem_store (rtx, rtx, int, bool);
c00fc5cf 45extern void cris_expand_pic_call_address (rtx *);
7faa3eb8 46extern void cris_order_for_addsi3 (rtx *, int);
0b85d816 47#endif /* RTX_CODE */
453bd0f5 48extern void cris_asm_output_label_ref (FILE *, char *);
c18a5b6c 49extern void cris_target_asm_named_section (const char *, unsigned int, tree);
d29b4b1b 50extern void cris_expand_prologue (void);
04539954
HPN
51extern void cris_expand_epilogue (void);
52extern void cris_expand_return (bool);
53extern bool cris_return_address_on_stack_for_return (void);
54extern bool cris_return_address_on_stack (void);
6640377c 55extern void cris_pragma_expand_mul (struct cpp_reader *);
0b85d816 56
ff482c8d 57/* Need one that returns an int; usable in expressions. */
6640377c 58extern int cris_fatal (char *);
0b85d816 59
6640377c 60extern int cris_initial_elimination_offset (int, int);
0b85d816 61
6640377c 62extern void cris_init_expanders (void);
4d696ad0
AS
63
64extern bool cris_function_value_regno_p (const unsigned int);