]>
Commit | Line | Data |
---|---|---|
c6243b4c | 1 | /* Prototypes for exported functions defined in xstormy16.c |
83ffe9cd | 2 | Copyright (C) 2000-2023 Free Software Foundation, Inc. |
4b58290f GK |
3 | Contributed by Red Hat, Inc. |
4 | ||
4dedfc09 | 5 | This file is part of GCC. |
4b58290f | 6 | |
4dedfc09 | 7 | GCC is free software; you can redistribute it and/or modify |
4b58290f | 8 | it under the terms of the GNU General Public License as published by |
2f83c7d6 | 9 | the Free Software Foundation; either version 3, or (at your option) |
4b58290f GK |
10 | any later version. |
11 | ||
4dedfc09 | 12 | GCC is distributed in the hope that it will be useful, |
4b58290f GK |
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | GNU General Public License for more details. | |
16 | ||
17 | You should have received a copy of the GNU General Public License | |
2f83c7d6 NC |
18 | along with GCC; see the file COPYING3. If not see |
19 | <http://www.gnu.org/licenses/>. */ | |
4b58290f GK |
20 | |
21 | ||
22 | ||
51c16b7e SB |
23 | extern struct xstormy16_stack_layout xstormy16_compute_stack_layout (void); |
24 | extern void xstormy16_expand_prologue (void); | |
25 | extern void xstormy16_expand_epilogue (void); | |
26 | extern int xstormy16_initial_elimination_offset (int, int); | |
27 | extern int direct_return (void); | |
28 | extern int xstormy16_interrupt_function_p (void); | |
29 | extern int xstormy16_epilogue_uses (int); | |
30 | extern void xstormy16_function_profiler (void); | |
7b4df2bf | 31 | extern poly_int64 xstormy16_push_rounding (poly_int64); |
54e9a19d DD |
32 | |
33 | #if defined (TREE_CODE) | |
34 | extern void xstormy16_asm_output_aligned_common (FILE *, tree, const char *, | |
35 | int, int, int); | |
36 | #endif | |
4b58290f | 37 | |
4b58290f | 38 | #if defined (TREE_CODE) && defined (RTX_CODE) |
51c16b7e | 39 | extern void xstormy16_initialize_trampoline (rtx, rtx, rtx); |
4b58290f GK |
40 | #endif |
41 | ||
42 | #ifdef RTX_CODE | |
f90b7a5a | 43 | extern void xstormy16_emit_cbranch (enum rtx_code, rtx, rtx, rtx); |
84034c69 DM |
44 | extern char *xstormy16_output_cbranch_hi (rtx, const char *, int, rtx_insn *); |
45 | extern char *xstormy16_output_cbranch_si (rtx, const char *, int, rtx_insn *); | |
4b58290f | 46 | |
51c16b7e SB |
47 | extern void xstormy16_expand_casesi (rtx, rtx, rtx, rtx, rtx); |
48 | extern void xstormy16_output_addr_vec (FILE *, rtx, rtx); | |
49 | extern void xstormy16_expand_call (rtx, rtx, rtx); | |
54e9a19d DD |
50 | extern void xstormy16_expand_iorqi3 (rtx *); |
51 | extern void xstormy16_expand_andqi3 (rtx *); | |
4b58290f GK |
52 | #endif |
53 | ||
54 | #if defined (HAVE_MACHINE_MODES) && defined (RTX_CODE) | |
ef4bddc2 RS |
55 | extern void xstormy16_split_cbranch (machine_mode, rtx, rtx, rtx); |
56 | extern int short_memory_operand (rtx, machine_mode); | |
a6fef2e1 | 57 | extern bool nonimmediate_nonstack_operand (rtx, machine_mode); |
c6243b4c | 58 | extern enum reg_class xstormy16_secondary_reload_class |
ef4bddc2 RS |
59 | (enum reg_class, machine_mode, rtx); |
60 | extern void xstormy16_split_move (machine_mode, rtx, rtx); | |
61 | extern void xstormy16_expand_move (machine_mode, rtx, rtx); | |
62 | extern void xstormy16_expand_arith (machine_mode, enum rtx_code, | |
d40ba0b6 | 63 | rtx, rtx, rtx); |
ef4bddc2 | 64 | extern const char * xstormy16_output_shift (machine_mode, enum rtx_code, |
51c16b7e | 65 | rtx, rtx, rtx); |
a6fef2e1 JL |
66 | extern bool xstormy16_below100_symbol (rtx, machine_mode); |
67 | extern bool xstormy16_splittable_below100_operand (rtx, machine_mode); | |
ef4bddc2 | 68 | extern bool xstormy16_legitimate_address_p (machine_mode, rtx, bool); |
4b58290f GK |
69 | #endif |
70 |