Merge from mainline (163495:164578).
[official-gcc/graphite-test-results.git] / gcc / config / mn10300 / mn10300-protos.h
blob02a7942824ac10d1246ca96a7ed229ae31650bfa
1 /* Definitions of target machine for GNU compiler. Matsushita MN10300 series
2 Copyright (C) 2000, 2003, 2004, 2005, 2007, 2009, 2010
3 Free Software Foundation, Inc.
4 Contributed by Jeff Law (law@cygnus.com).
6 This file is part of GCC.
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.
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.
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/>. */
22 #ifdef RTX_CODE
24 extern rtx legitimize_pic_address (rtx, rtx);
25 extern int legitimate_pic_operand_p (rtx);
26 extern void print_operand (FILE *, rtx, int);
27 extern void print_operand_address (FILE *, rtx);
28 extern void mn10300_print_reg_list (FILE *, int);
29 extern int mn10300_get_live_callee_saved_regs (void);
30 extern void mn10300_gen_multiple_store (int);
31 extern void notice_update_cc (rtx, rtx);
32 extern enum reg_class mn10300_secondary_reload_class (enum reg_class,
33 enum machine_mode, rtx);
34 extern const char *output_tst (rtx, rtx);
35 extern int store_multiple_operation (rtx, enum machine_mode);
36 extern int symbolic_operand (rtx, enum machine_mode);
37 extern int impossible_plus_operand (rtx, enum machine_mode);
39 extern bool mn10300_wide_const_load_uses_clr (rtx operands[2]);
41 extern bool mn10300_function_value_regno_p (const unsigned int);
42 #endif /* RTX_CODE */
44 #ifdef TREE_CODE
45 extern struct rtx_def *function_arg (CUMULATIVE_ARGS *,
46 enum machine_mode, tree, int);
47 #endif /* TREE_CODE */
49 extern void expand_prologue (void);
50 extern void expand_epilogue (void);
51 extern int initial_offset (int, int);
52 extern int can_use_return_insn (void);
53 extern int mask_ok_for_mem_btst (int, int);