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