]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/mt/mt-protos.h
arc-protos.h (arc_select_cc_mode, gen_compare_reg): Wrap in RTX_CODE macro guard.
[thirdparty/gcc.git] / gcc / config / mt / mt-protos.h
CommitLineData
dcc8a603 1/* Prototypes for exported functions defined in ms1.c
2f83c7d6 2 Copyright (C) 2005, 2007 Free Software Foundation, Inc.
dcc8a603
NS
3
4 This file is part of GCC.
5
6 GCC is free software; you can redistribute it and/or modify it
7 under the terms of the GNU General Public License as published
2f83c7d6 8 by the Free Software Foundation; either version 3, or (at your
dcc8a603
NS
9 option) any later version.
10
11 GCC is distributed in the hope that it will be useful,but WITHOUT
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
14 License for more details.
15
16 You should have received a copy of the GNU General Public License
2f83c7d6
NC
17 along with GCC; see the file COPYING3. If not see
18 <http://www.gnu.org/licenses/>. */
dcc8a603 19
bccef6d8
NS
20extern void mt_init_expanders (void);
21extern void mt_expand_prologue (void);
22extern void mt_expand_epilogue (enum epilogue_type);
23extern unsigned mt_compute_frame_size (int);
24extern void mt_override_options (void);
25extern int mt_initial_elimination_offset (int, int);
26extern const char * mt_asm_output_opcode (FILE *, const char *);
27extern int mt_epilogue_uses (int);
28extern void mt_add_loop (void);
dcc8a603
NS
29
30#ifdef TREE_CODE
bccef6d8
NS
31extern const char * mt_cannot_inline_p (tree);
32extern int mt_function_arg_boundary (enum machine_mode, tree);
33extern void mt_function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode, tree, int);
dcc8a603
NS
34#endif
35
36#ifdef RTX_CODE
bccef6d8
NS
37extern void mt_expand_eh_return (rtx *);
38extern void mt_emit_eh_epilogue (rtx *);
39extern void mt_print_operand (FILE *, rtx, int);
40extern void mt_print_operand_address (FILE *, rtx);
41extern int mt_check_split (rtx, enum machine_mode);
42extern int mt_reg_ok_for_base_p (rtx, int);
43extern int mt_legitimate_address_p (enum machine_mode, rtx, int);
dcc8a603
NS
44/* Predicates for machine description. */
45extern int uns_arith_operand (rtx, enum machine_mode);
46extern int arith_operand (rtx, enum machine_mode);
47extern int reg_or_0_operand (rtx, enum machine_mode);
48extern int big_const_operand (rtx, enum machine_mode);
49extern int single_const_operand (rtx, enum machine_mode);
bccef6d8
NS
50extern void mt_emit_cbranch (enum rtx_code, rtx, rtx, rtx);
51extern void mt_set_memflags (rtx);
52extern rtx mt_return_addr_rtx (int);
53extern void mt_split_words (enum machine_mode, enum machine_mode, rtx *);
54extern void mt_final_prescan_insn (rtx, rtx *, int);
dcc8a603
NS
55#endif
56
57#ifdef TREE_CODE
58#ifdef RTX_CODE
bccef6d8
NS
59extern void mt_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree, int);
60extern rtx mt_function_arg (const CUMULATIVE_ARGS *, enum machine_mode, tree, int, int);
61extern void mt_va_start (tree, rtx);
62extern enum reg_class mt_secondary_reload_class (enum reg_class, enum machine_mode, rtx);
586de218 63extern rtx mt_function_value (const_tree, enum machine_mode, const_tree);
dcc8a603
NS
64#endif
65#endif