rx-protos.h revision 1.1 1 1.1 mrg /* Exported function prototypes from the Renesas RX backend.
2 1.1 mrg Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
3 1.1 mrg Contributed by Red Hat.
4 1.1 mrg
5 1.1 mrg This file is part of GCC.
6 1.1 mrg
7 1.1 mrg GCC is free software; you can redistribute it and/or modify
8 1.1 mrg it under the terms of the GNU General Public License as published by
9 1.1 mrg the Free Software Foundation; either version 3, or (at your option)
10 1.1 mrg any later version.
11 1.1 mrg
12 1.1 mrg GCC is distributed in the hope that it will be useful,
13 1.1 mrg but WITHOUT ANY WARRANTY; without even the implied warranty of
14 1.1 mrg MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 1.1 mrg GNU General Public License for more details.
16 1.1 mrg
17 1.1 mrg You should have received a copy of the GNU General Public License
18 1.1 mrg along with GCC; see the file COPYING3. If not see
19 1.1 mrg <http://www.gnu.org/licenses/>. */
20 1.1 mrg
21 1.1 mrg #ifndef GCC_RX_PROTOS_H
22 1.1 mrg #define GCC_RX_PROTOS_H
23 1.1 mrg
24 1.1 mrg /* A few abbreviations to make the prototypes shorter. */
25 1.1 mrg #define Mmode enum machine_mode
26 1.1 mrg #define Fargs CUMULATIVE_ARGS
27 1.1 mrg
28 1.1 mrg extern void rx_conditional_register_usage (void);
30 1.1 mrg extern void rx_expand_prologue (void);
31 1.1 mrg extern int rx_initial_elimination_offset (int, int);
32 1.1 mrg extern void rx_set_optimization_options (void);
33 1.1 mrg
34 1.1 mrg #ifdef RTX_CODE
35 1.1 mrg extern int rx_align_for_label (rtx);
36 1.1 mrg extern bool rx_compare_redundant (rtx);
37 1.1 mrg extern void rx_emit_stack_popm (rtx *, bool);
38 1.1 mrg extern void rx_emit_stack_pushm (rtx *);
39 1.1 mrg extern void rx_expand_epilogue (bool);
40 1.1 mrg extern const char * rx_gen_cond_branch_template (rtx, bool);
41 1.1 mrg extern char * rx_gen_move_template (rtx *, bool);
42 1.1 mrg extern bool rx_is_legitimate_constant (rtx);
43 1.1 mrg extern bool rx_is_mode_dependent_addr (rtx);
44 1.1 mrg extern bool rx_is_restricted_memory_address (rtx, Mmode);
45 1.1 mrg extern bool rx_match_ccmode (rtx, Mmode);
46 1.1 mrg extern int rx_max_skip_for_label (rtx);
47 1.1 mrg extern void rx_notice_update_cc (rtx body, rtx insn);
48 1.1 mrg extern void rx_print_operand (FILE *, rtx, int);
49 1.1 mrg extern void rx_print_operand_address (FILE *, rtx);
50 1.1 mrg extern Mmode rx_select_cc_mode (enum rtx_code, rtx, rtx);
51 1.1 mrg extern void rx_split_cbranch (Mmode, enum rtx_code, rtx, rtx, rtx);
52 1.1 mrg #endif
53 1.1 mrg
54 1.1 mrg #ifdef TREE_CODE
55 1.1 mrg extern unsigned int rx_function_arg_size (Mmode, const_tree);
56 1.1 mrg extern struct rtx_def * rx_function_arg (Fargs *, Mmode, const_tree, bool);
57 1.1 mrg #endif
58 1.1 mrg
59 #endif /* GCC_RX_PROTOS_H */
60