1 |
709 |
jeremybenn |
/* Prototypes for exported functions defined in mcore.c
|
2 |
|
|
Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007, 2009, 2010
|
3 |
|
|
Free Software Foundation, Inc.
|
4 |
|
|
Contributed by Nick Clifton (nickc@redhat.com)
|
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 |
|
|
extern const char * mcore_output_jump_label_table (void);
|
23 |
|
|
extern void mcore_expand_prolog (void);
|
24 |
|
|
extern void mcore_expand_epilog (void);
|
25 |
|
|
extern int mcore_const_ok_for_inline (HOST_WIDE_INT);
|
26 |
|
|
extern int mcore_num_ones (HOST_WIDE_INT);
|
27 |
|
|
extern int mcore_num_zeros (HOST_WIDE_INT);
|
28 |
|
|
extern int mcore_initial_elimination_offset (int, int);
|
29 |
|
|
extern int mcore_byte_offset (unsigned int);
|
30 |
|
|
extern int mcore_halfword_offset (unsigned int);
|
31 |
|
|
extern int mcore_const_trick_uses_not (HOST_WIDE_INT);
|
32 |
|
|
extern int mcore_dllexport_name_p (const char *);
|
33 |
|
|
extern int mcore_dllimport_name_p (const char *);
|
34 |
|
|
extern int mcore_naked_function_p (void);
|
35 |
|
|
|
36 |
|
|
#ifdef TREE_CODE
|
37 |
|
|
#ifdef HAVE_MACHINE_MODES
|
38 |
|
|
extern int mcore_num_arg_regs (enum machine_mode, const_tree);
|
39 |
|
|
#endif /* HAVE_MACHINE_MODES */
|
40 |
|
|
|
41 |
|
|
#ifdef RTX_CODE
|
42 |
|
|
extern rtx mcore_function_value (const_tree, const_tree);
|
43 |
|
|
#endif /* RTX_CODE */
|
44 |
|
|
#endif /* TREE_CODE */
|
45 |
|
|
|
46 |
|
|
#ifdef RTX_CODE
|
47 |
|
|
|
48 |
|
|
extern const char * mcore_output_bclri (rtx, int);
|
49 |
|
|
extern const char * mcore_output_bseti (rtx, int);
|
50 |
|
|
extern const char * mcore_output_cmov (rtx *, int, const char *);
|
51 |
|
|
extern char * mcore_output_call (rtx *, int);
|
52 |
|
|
extern int mcore_is_dead (rtx, rtx);
|
53 |
|
|
extern int mcore_expand_insv (rtx *);
|
54 |
|
|
extern bool mcore_expand_block_move (rtx *);
|
55 |
|
|
extern const char * mcore_output_andn (rtx, rtx *);
|
56 |
|
|
extern bool mcore_gen_compare (RTX_CODE, rtx, rtx);
|
57 |
|
|
extern int mcore_symbolic_address_p (rtx);
|
58 |
|
|
extern bool mcore_r15_operand_p (rtx);
|
59 |
|
|
extern enum reg_class mcore_secondary_reload_class (enum reg_class, enum machine_mode, rtx);
|
60 |
|
|
extern enum reg_class mcore_reload_class (rtx, enum reg_class);
|
61 |
|
|
extern int mcore_is_same_reg (rtx, rtx);
|
62 |
|
|
extern int mcore_arith_S_operand (rtx);
|
63 |
|
|
|
64 |
|
|
#ifdef HAVE_MACHINE_MODES
|
65 |
|
|
extern const char * mcore_output_move (rtx, rtx *, enum machine_mode);
|
66 |
|
|
extern const char * mcore_output_movedouble (rtx *, enum machine_mode);
|
67 |
|
|
extern int const_ok_for_mcore (HOST_WIDE_INT);
|
68 |
|
|
#endif /* HAVE_MACHINE_MODES */
|
69 |
|
|
#endif /* RTX_CODE */
|