]>
Commit | Line | Data |
---|---|---|
5aa04b01 | 1 | /* Prototypes for exported functions defined in c6x.c. |
f1717362 | 2 | Copyright (C) 2010-2016 Free Software Foundation, Inc. |
5aa04b01 | 3 | Contributed by CodeSourcery. |
4 | ||
5 | This file is part of GCC. | |
6 | ||
7 | GCC is free software; you can redistribute it and/or modify it | |
8 | under the terms of the GNU General Public License as published | |
9 | by the Free Software Foundation; either version 3, or (at your | |
10 | option) any later version. | |
11 | ||
12 | GCC is distributed in the hope that it will be useful, but WITHOUT | |
13 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
14 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
15 | 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 | ||
21 | #ifndef GCC_C6X_PROTOS_H | |
22 | #define GCC_C6X_PROTOS_H | |
23 | ||
24 | /* Functions defined in c6x.c. */ | |
25 | ||
26 | #ifdef RTX_CODE | |
27 | extern void c6x_init_cumulative_args (CUMULATIVE_ARGS *, const_tree, rtx, int); | |
3754d046 | 28 | extern bool c6x_block_reg_pad_upward (machine_mode, const_tree, bool); |
5aa04b01 | 29 | |
3754d046 | 30 | extern bool c6x_legitimate_address_p_1 (machine_mode, rtx, bool, bool); |
5aa04b01 | 31 | extern bool c6x_mem_operand (rtx, enum reg_class, bool); |
3754d046 | 32 | extern bool expand_move (rtx *, machine_mode); |
5aa04b01 | 33 | |
34 | extern bool c6x_long_call_p (rtx); | |
35 | extern void c6x_expand_call (rtx, rtx, bool); | |
3754d046 | 36 | extern rtx c6x_expand_compare (rtx, machine_mode); |
5aa04b01 | 37 | extern bool c6x_force_op_for_comparison_p (enum rtx_code, rtx); |
38 | extern bool c6x_expand_movmem (rtx, rtx, rtx, rtx, rtx, rtx); | |
39 | ||
40 | extern rtx c6x_subword (rtx, bool); | |
41 | extern void split_di (rtx *, int, rtx *, rtx *); | |
42 | extern bool c6x_valid_mask_p (HOST_WIDE_INT); | |
43 | ||
de089fe5 | 44 | extern char c6x_get_unit_specifier (rtx_insn *); |
5aa04b01 | 45 | |
de089fe5 | 46 | extern void c6x_final_prescan_insn(rtx_insn *insn, rtx *opvec, int noperands); |
5aa04b01 | 47 | |
48 | extern int c6x_nsaved_regs (void); | |
49 | extern HOST_WIDE_INT c6x_initial_elimination_offset (int, int); | |
50 | extern void c6x_expand_prologue (void); | |
51 | extern void c6x_expand_epilogue (bool); | |
52 | ||
53 | extern rtx c6x_return_addr_rtx (int); | |
54 | ||
55 | extern void c6x_set_return_address (rtx, rtx); | |
56 | #endif | |
57 | ||
58 | extern void c6x_override_options (void); | |
59 | extern void c6x_optimization_options (int, int); | |
60 | ||
61 | extern void c6x_output_file_unwind (FILE *); | |
62 | ||
63 | extern void c6x_function_end (FILE *, const char *); | |
64 | ||
65 | #endif /* GCC_C6X_PROTOS_H */ |