1 /* Definitions of target machine for GNU compiler. Matsushita MN10300 series 2 Copyright (C) 2000-2018 Free Software Foundation, Inc. 3 Contributed by Jeff Law (law@cygnus.com). 4 5 This file is part of GCC. 6 7 GCC is free software; you can redistribute it and/or modify 8 it under the terms of the GNU General Public License as published by 9 the Free Software Foundation; either version 3, or (at your option) 10 any later version. 11 12 GCC is distributed in the hope that it will be useful, 13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 GNU General Public 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 #ifdef RTX_CODE 22 extern rtx mn10300_legitimize_pic_address (rtx, rtx); 23 extern int mn10300_legitimate_pic_operand_p (rtx); 24 extern rtx mn10300_legitimize_reload_address (rtx, machine_mode, 25 int, int, int); 26 extern bool mn10300_function_value_regno_p (const unsigned int); 27 extern unsigned int mn10300_get_live_callee_saved_regs (unsigned int *); 28 extern const char *mn10300_output_add (rtx[3], bool); 29 extern void mn10300_print_operand (FILE *, rtx, int); 30 extern void mn10300_print_operand_address (FILE *, rtx); 31 extern void mn10300_print_reg_list (FILE *, int); 32 extern machine_mode mn10300_select_cc_mode (enum rtx_code, rtx, rtx); 33 extern unsigned int mn10300_store_multiple_regs (rtx); 34 extern int mn10300_symbolic_operand (rtx, machine_mode); 35 extern void mn10300_split_cbranch (machine_mode, rtx, rtx); 36 extern int mn10300_split_and_operand_count (rtx); 37 extern bool mn10300_match_ccmode (rtx, machine_mode); 38 #endif /* RTX_CODE */ 39 40 extern bool mn10300_regno_in_class_p (unsigned, int, bool); 41 extern bool mn10300_can_use_rets_insn (void); 42 extern bool mn10300_can_use_retf_insn (void); 43 extern void mn10300_expand_prologue (void); 44 extern void mn10300_expand_epilogue (void); 45 extern int mn10300_initial_offset (int, int); 46 extern int mn10300_frame_size (void); 47