1/* Prototypes for exported functions defined in mcore.c
2   Copyright (C) 2000-2015 Free Software Foundation, Inc.
3   Contributed by Nick Clifton (nickc@redhat.com)
4
5   This file is part of GCC.
6
7   GCC is free software; you can redistribute it and/or modify
8   it under the terms of the GNU General Public License as published by
9   the Free Software Foundation; either version 3, or (at your option)
10   any later version.
11
12   GCC is distributed in the hope that it will be useful,
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
18   along with GCC; see the file COPYING3.  If not see
19   <http://www.gnu.org/licenses/>.  */
20
21extern const char * mcore_output_jump_label_table	(void);
22extern void         mcore_expand_prolog          	(void);
23extern void         mcore_expand_epilog          	(void);
24extern int          mcore_const_ok_for_inline    	(HOST_WIDE_INT);
25extern int          mcore_num_ones               	(HOST_WIDE_INT);
26extern int          mcore_num_zeros              	(HOST_WIDE_INT);
27extern int          mcore_initial_elimination_offset	(int, int);
28extern int          mcore_byte_offset            	(unsigned int);
29extern int          mcore_halfword_offset        	(unsigned int);
30extern int          mcore_const_trick_uses_not   	(HOST_WIDE_INT);
31extern int          mcore_dllexport_name_p       	(const char *);
32extern int          mcore_dllimport_name_p       	(const char *);
33extern int          mcore_naked_function_p       	(void);
34
35#ifdef TREE_CODE
36#ifdef HAVE_MACHINE_MODES
37extern int          mcore_num_arg_regs           	(machine_mode, const_tree);
38#endif /* HAVE_MACHINE_MODES */
39
40#ifdef RTX_CODE
41extern rtx          mcore_function_value         	(const_tree, const_tree);
42#endif /* RTX_CODE */
43#endif /* TREE_CODE */
44
45#ifdef RTX_CODE
46
47extern const char * mcore_output_bclri         		(rtx, int);
48extern const char * mcore_output_bseti         		(rtx, int);
49extern const char * mcore_output_cmov          		(rtx *, int, const char *);
50extern char *       mcore_output_call          		(rtx *, int);
51extern int          mcore_is_dead                	(rtx_insn *, rtx);
52extern int          mcore_expand_insv            	(rtx *);
53extern bool         mcore_expand_block_move      	(rtx *);
54extern const char * mcore_output_andn          		(rtx, rtx *);
55extern bool         mcore_gen_compare	        	(RTX_CODE, rtx, rtx);
56extern int          mcore_symbolic_address_p     	(rtx);
57extern bool         mcore_r15_operand_p			(rtx);
58extern enum reg_class mcore_secondary_reload_class	(enum reg_class, machine_mode, rtx);
59extern enum reg_class mcore_reload_class 		(rtx, enum reg_class);
60extern int          mcore_is_same_reg            	(rtx, rtx);
61extern int          mcore_arith_S_operand         	(rtx);
62
63#ifdef HAVE_MACHINE_MODES
64extern const char * mcore_output_move          		(rtx, rtx *, machine_mode);
65extern const char * mcore_output_movedouble    		(rtx *, machine_mode);
66extern int          const_ok_for_mcore                  (HOST_WIDE_INT);
67#endif /* HAVE_MACHINE_MODES */
68#endif /* RTX_CODE */
69