OSDN Git Service

* doc/tm.texi.in (OVERRIDE_OPTIONS): Remove documentation.
[pf3gnuchains/gcc-fork.git] / gcc / config / m68hc11 / m68hc11-protos.h
1 /* Prototypes for exported functions defined in m68hc11.c
2    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007, 2009, 2010
3    Free Software Foundation, Inc.
4    Contributed by Stephane Carrez (stcarrez@nerim.fr)
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 extern int m68hc11_optimization_options (int,int);
24 extern void m68hc11_conditional_register_usage (void);
25 extern int hard_regno_mode_ok (int, enum machine_mode);
26 extern int m68hc11_hard_regno_rename_ok (int, int);
27
28 extern int m68hc11_total_frame_size (void);
29 extern int m68hc11_initial_frame_pointer_offset (void);
30 extern int m68hc11_initial_elimination_offset (int, int);
31
32 extern void expand_prologue (void);
33 extern void expand_epilogue (void);
34
35 #ifdef TREE_CODE
36 extern void m68hc11_function_arg_advance (CUMULATIVE_ARGS*,
37                                           enum machine_mode,
38                                           tree,
39                                           int);
40 #endif
41
42 #ifdef RTX_CODE
43 extern int m68hc11_auto_inc_p (rtx);
44
45 extern rtx m68hc11_expand_compare_and_branch (enum rtx_code, rtx, rtx, rtx);
46 extern enum reg_class preferred_reload_class (rtx, enum reg_class);
47
48 extern void m68hc11_notice_update_cc (rtx, rtx);
49 extern void m68hc11_notice_keep_cc (rtx);
50
51 extern void m68hc11_gen_movqi (rtx, rtx*);
52 extern void m68hc11_gen_movhi (rtx, rtx*);
53 extern void m68hc11_gen_rotate (enum rtx_code, rtx, rtx*);
54
55 extern void m68hc11_output_swap (rtx, rtx*);
56
57 extern int next_insn_test_reg (rtx, rtx);
58
59 extern int m68hc11_reload_operands (rtx*);
60
61 extern int dead_register_here (rtx, rtx);
62
63 extern int push_pop_operand_p (rtx);
64 extern void m68hc11_split_move (rtx, rtx, rtx);
65 extern void m68hc11_split_compare_and_branch (enum rtx_code,
66                                               rtx, rtx, rtx);
67
68 extern rtx m68hc11_gen_lowpart (enum machine_mode, rtx);
69 extern rtx m68hc11_gen_highpart (enum machine_mode, rtx);
70
71 #ifdef HAVE_MACHINE_MODES
72 extern int m68hc11_memory_move_cost (enum machine_mode, enum reg_class, int);
73 extern int m68hc11_register_move_cost (enum machine_mode,
74                                        enum reg_class, enum reg_class);
75
76 extern void m68hc11_emit_libcall (const char*, enum rtx_code,
77                                   enum machine_mode, enum machine_mode,
78                                   int, rtx*);
79 extern int m68hc11_small_indexed_indirect_p (rtx, enum machine_mode);
80 extern int m68hc11_symbolic_p (rtx, enum machine_mode);
81 extern int m68hc11_indirect_p (rtx, enum machine_mode);
82 extern int go_if_legitimate_address2 (rtx, enum machine_mode, int);
83
84 extern int reg_or_indexed_operand (rtx,enum machine_mode);
85 extern int memory_indexed_operand (rtx, enum machine_mode);
86
87 #ifdef RTX_CODE
88 extern void m68hc11_split_logical (enum machine_mode, enum rtx_code, rtx*);
89 #endif
90
91 extern int m68hc11_register_indirect_p (rtx, enum machine_mode);
92 extern int m68hc11_valid_addressing_p (rtx, enum machine_mode, int);
93
94 extern int symbolic_memory_operand (rtx, enum machine_mode);
95
96 extern int memory_reload_operand (rtx, enum machine_mode);
97 extern int arith_src_operand (rtx, enum machine_mode);
98 extern int soft_reg_operand (rtx, enum machine_mode);
99
100 extern void m68hc11_init_cumulative_args (CUMULATIVE_ARGS*, tree, rtx);
101
102 extern rtx m68hc11_function_arg (const CUMULATIVE_ARGS* ,
103                                  enum machine_mode,
104                                  tree, int);
105 #ifdef ARGS_SIZE_RTX
106 extern enum direction m68hc11_function_arg_padding (enum machine_mode,
107                                                     const_tree);
108 #endif
109
110 extern void m68hc11_function_epilogue (FILE*,int);
111
112 extern int m68hc11_is_far_symbol (rtx);
113 extern int m68hc11_is_trap_symbol (rtx);
114 extern int m68hc11_page0_symbol_p (rtx x);
115
116 extern HOST_WIDE_INT m68hc11_min_offset;
117 extern HOST_WIDE_INT m68hc11_max_offset;
118 extern int m68hc11_addr_mode;
119
120 #endif /* HAVE_MACHINE_MODES */
121 #endif /* RTX_CODE */