]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/cris/cris-protos.h
Update copyright years.
[thirdparty/gcc.git] / gcc / config / cris / cris-protos.h
CommitLineData
e03f789f 1/* Definitions for GCC. Part of the machine description for CRIS.
fbd26352 2 Copyright (C) 1998-2019 Free Software Foundation, Inc.
e03f789f 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
038d1e19 9the Free Software Foundation; either version 3, or (at your option)
e03f789f 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
038d1e19 18along with GCC; see the file COPYING3. If not see
19<http://www.gnu.org/licenses/>. */
e03f789f 20
21/* Prototypes for the CRIS port. */
22
72db90ce 23extern bool cris_simple_epilogue (void);
e03f789f 24#ifdef RTX_CODE
21f64ad5 25extern const char *cris_op_str (rtx);
d3ffa7b4 26extern void cris_notice_update_cc (rtx, rtx_insn *);
3754d046 27extern bool cris_reload_address_legitimized (rtx, machine_mode, int, int, int);
21f64ad5 28extern int cris_side_effect_mode_ok (enum rtx_code, rtx *, int, int,
29 int, int, int);
56d95ea5 30extern bool cris_cc0_user_requires_cmp (rtx_insn *);
21f64ad5 31extern rtx cris_return_addr_rtx (int, rtx);
32extern rtx cris_split_movdx (rtx *);
33extern int cris_legitimate_pic_operand (rtx);
f69bb65a 34extern enum cris_symbol_type cris_symbol_type_of (const_rtx);
5b96044e 35extern bool cris_valid_pic_const (const_rtx, bool);
3754d046 36extern bool cris_legitimate_constant_p (machine_mode, rtx);
5b96044e 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);
3754d046 42extern bool cris_legitimate_address_p (machine_mode, rtx, bool);
48be990a 43extern bool cris_store_multiple_op_p (rtx);
44extern bool cris_movem_load_rest_p (rtx, int);
f382dce0 45extern void cris_asm_output_symbol_ref (FILE *, rtx);
21f64ad5 46extern int cris_cfun_uses_pic_table (void);
15b80194 47extern void cris_asm_output_case_end (FILE *, int, rtx_insn *);
72db90ce 48extern rtx cris_gen_movem_load (rtx, rtx, int);
dfc30596 49extern rtx cris_emit_movem_store (rtx, rtx, int, bool);
f69bb65a 50extern void cris_expand_pic_call_address (rtx *, rtx *);
af9c3aeb 51extern void cris_order_for_addsi3 (rtx *, int);
2ef7687b 52extern void cris_emit_trap_for_misalignment (rtx);
e03f789f 53#endif /* RTX_CODE */
f382dce0 54extern void cris_asm_output_label_ref (FILE *, char *);
367b1459 55extern void cris_asm_output_ident (const char *);
dfc30596 56extern void cris_expand_prologue (void);
72db90ce 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);
21f64ad5 61extern void cris_pragma_expand_mul (struct cpp_reader *);
e03f789f 62
1d60d981 63/* Need one that returns an int; usable in expressions. */
21f64ad5 64extern int cris_fatal (char *);
e03f789f 65
21f64ad5 66extern int cris_initial_elimination_offset (int, int);
e03f789f 67
21f64ad5 68extern void cris_init_expanders (void);