]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/cris/cris-protos.h
match: Use uniform_integer_cst_p in bitwise_inverted_equal_p [PR115238]
[thirdparty/gcc.git] / gcc / config / cris / cris-protos.h
CommitLineData
0b85d816 1/* Definitions for GCC. Part of the machine description for CRIS.
a945c346 2 Copyright (C) 1998-2024 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);
b3e01c3d 26extern machine_mode cris_select_cc_mode (enum rtx_code, rtx, rtx);
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);
30extern rtx cris_return_addr_rtx (int, rtx);
3d03630b 31extern rtx cris_eh_return_handler_rtx ();
6640377c 32extern rtx cris_split_movdx (rtx *);
a08160c3
AS
33extern bool cris_base_p (const_rtx, bool);
34extern bool cris_base_or_autoincr_p (const_rtx, bool);
35extern bool cris_bdap_index_p (const_rtx, bool);
cfaf5204 36extern void cris_reduce_compare (rtx *, rtx *, rtx *);
a08160c3 37extern bool cris_biap_index_p (const_rtx, bool);
eef192b1 38extern bool cris_legitimate_address_p (machine_mode, rtx, bool);
68a81332 39extern bool cris_store_multiple_op_p (rtx);
fb062a8b 40extern bool cris_movem_load_rest_p (rtx);
453bd0f5 41extern void cris_asm_output_symbol_ref (FILE *, rtx);
1f00691e 42extern void cris_asm_output_case_end (FILE *, int, rtx_insn *);
fb062a8b 43extern rtx cris_gen_movem_load (rtx, rtx);
d29b4b1b 44extern rtx cris_emit_movem_store (rtx, rtx, int, bool);
fb062a8b 45extern rtx_insn *cris_emit_insn (rtx x);
7faa3eb8 46extern void cris_order_for_addsi3 (rtx *, int);
21ed4444 47extern void cris_emit_trap_for_misalignment (rtx);
8c361179
HPN
48extern int cris_split_constant (HOST_WIDE_INT, enum rtx_code,
49 machine_mode, bool,
50 bool generate = false,
51 rtx dest = NULL_RTX,
52 rtx op = NULL_RTX);
53#define cris_splittable_constant_p cris_split_constant
0b85d816 54#endif /* RTX_CODE */
453bd0f5 55extern void cris_asm_output_label_ref (FILE *, char *);
a8781821 56extern void cris_asm_output_ident (const char *);
d29b4b1b 57extern void cris_expand_prologue (void);
04539954
HPN
58extern void cris_expand_epilogue (void);
59extern void cris_expand_return (bool);
60extern bool cris_return_address_on_stack_for_return (void);
61extern bool cris_return_address_on_stack (void);
6640377c 62extern void cris_pragma_expand_mul (struct cpp_reader *);
0b85d816 63
ff482c8d 64/* Need one that returns an int; usable in expressions. */
6640377c 65extern int cris_fatal (char *);
0b85d816 66
6640377c 67extern int cris_initial_elimination_offset (int, int);
0b85d816 68
6640377c 69extern void cris_init_expanders (void);
9a2ae08b
HPN
70
71extern rtl_opt_pass *make_pass_cris_postdbr_cmpelim (gcc::context *);