]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/cris/cris-protos.h
Move ChangeLog entry of commit bf6465d046 from gcc to libgcc
[thirdparty/gcc.git] / gcc / config / cris / cris-protos.h
CommitLineData
0b85d816 1/* Definitions for GCC. Part of the machine description for CRIS.
8d9254fc 2 Copyright (C) 1998-2020 Free Software Foundation, Inc.
0b85d816
HPN
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
2f83c7d6 9the Free Software Foundation; either version 3, or (at your option)
0b85d816
HPN
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
2f83c7d6
NC
18along with GCC; see the file COPYING3. If not see
19<http://www.gnu.org/licenses/>. */
0b85d816
HPN
20
21/* Prototypes for the CRIS port. */
22
04539954 23extern bool cris_simple_epilogue (void);
0b85d816 24#ifdef RTX_CODE
6640377c 25extern const char *cris_op_str (rtx);
84034c69 26extern void cris_notice_update_cc (rtx, rtx_insn *);
ef4bddc2 27extern bool cris_reload_address_legitimized (rtx, machine_mode, int, int, int);
6640377c
SB
28extern int cris_side_effect_mode_ok (enum rtx_code, rtx *, int, int,
29 int, int, int);
82082f65 30extern bool cris_cc0_user_requires_cmp (rtx_insn *);
6640377c
SB
31extern rtx cris_return_addr_rtx (int, rtx);
32extern rtx cris_split_movdx (rtx *);
33extern int cris_legitimate_pic_operand (rtx);
ab4e53fe 34extern enum cris_symbol_type cris_symbol_type_of (const_rtx);
a08160c3 35extern bool cris_valid_pic_const (const_rtx, bool);
ef4bddc2 36extern bool cris_legitimate_constant_p (machine_mode, rtx);
a08160c3
AS
37extern bool cris_constant_index_p (const_rtx);
38extern bool cris_base_p (const_rtx, bool);
39extern bool cris_base_or_autoincr_p (const_rtx, bool);
40extern bool cris_bdap_index_p (const_rtx, bool);
41extern bool cris_biap_index_p (const_rtx, bool);
ef4bddc2 42extern bool cris_legitimate_address_p (machine_mode, rtx, bool);
68a81332
HPN
43extern bool cris_store_multiple_op_p (rtx);
44extern bool cris_movem_load_rest_p (rtx, int);
453bd0f5 45extern void cris_asm_output_symbol_ref (FILE *, rtx);
6640377c 46extern int cris_cfun_uses_pic_table (void);
1f00691e 47extern void cris_asm_output_case_end (FILE *, int, rtx_insn *);
04539954 48extern rtx cris_gen_movem_load (rtx, rtx, int);
d29b4b1b 49extern rtx cris_emit_movem_store (rtx, rtx, int, bool);
ab4e53fe 50extern void cris_expand_pic_call_address (rtx *, rtx *);
7faa3eb8 51extern void cris_order_for_addsi3 (rtx *, int);
21ed4444 52extern void cris_emit_trap_for_misalignment (rtx);
0b85d816 53#endif /* RTX_CODE */
453bd0f5 54extern void cris_asm_output_label_ref (FILE *, char *);
a8781821 55extern void cris_asm_output_ident (const char *);
d29b4b1b 56extern void cris_expand_prologue (void);
04539954
HPN
57extern void cris_expand_epilogue (void);
58extern void cris_expand_return (bool);
59extern bool cris_return_address_on_stack_for_return (void);
60extern bool cris_return_address_on_stack (void);
6640377c 61extern void cris_pragma_expand_mul (struct cpp_reader *);
0b85d816 62
ff482c8d 63/* Need one that returns an int; usable in expressions. */
6640377c 64extern int cris_fatal (char *);
0b85d816 65
6640377c 66extern int cris_initial_elimination_offset (int, int);
0b85d816 67
6640377c 68extern void cris_init_expanders (void);