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