1  /* Target Prototypes for R8C/M16C/M32C
       2     Copyright (C) 2005-2023 Free Software Foundation, Inc.
       3     Contributed by Red Hat.
       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  void m32c_conditional_register_usage (void);
      22  unsigned int m32c_dwarf_frame_regnum (int);
      23  int  m32c_eh_return_data_regno (int);
      24  void m32c_emit_epilogue (void);
      25  void m32c_emit_prologue (void);
      26  int  m32c_epilogue_uses (int);
      27  int  m32c_function_arg_regno_p (int);
      28  void m32c_init_expanders (void);
      29  int  m32c_initial_elimination_offset (int, int);
      30  void m32c_output_reg_pop (FILE *, int);
      31  void m32c_output_reg_push (FILE *, int);
      32  poly_int64 m32c_push_rounding (poly_int64);
      33  void m32c_register_pragmas (void);
      34  void m32c_note_pragma_address (const char *, unsigned);
      35  int  m32c_regno_ok_for_base_p (int);
      36  int  m32c_trampoline_alignment (void);
      37  int  m32c_trampoline_size (void);
      38  
      39  #ifdef RTX_CODE
      40  
      41  rtx  m32c_eh_return_stackadj_rtx (void);
      42  void m32c_emit_eh_epilogue (rtx);
      43  int  m32c_expand_cmpstr (rtx *);
      44  int  m32c_expand_insv (rtx *);
      45  int  m32c_expand_movcc (rtx *);
      46  int  m32c_expand_cpymemhi (rtx *);
      47  int  m32c_expand_movstr (rtx *);
      48  void m32c_expand_neg_mulpsi3 (rtx *);
      49  int  m32c_expand_setmemhi (rtx *);
      50  bool m32c_matches_constraint_p (rtx, int);
      51  bool m32c_illegal_subreg_p (rtx);
      52  bool m32c_immd_dbl_mov (rtx *, machine_mode);
      53  rtx  m32c_incoming_return_addr_rtx (void);
      54  int  m32c_legitimize_reload_address (rtx *, machine_mode, int, int, int);
      55  int  m32c_limit_reload_class (machine_mode, int);
      56  bool m32c_mov_ok (rtx *, machine_mode);
      57  char * m32c_output_compare (rtx_insn *, rtx *);
      58  int  m32c_prepare_move (rtx *, machine_mode);
      59  int  m32c_prepare_shift (rtx *, int, int);
      60  int  m32c_reg_ok_for_base_p (rtx, int);
      61  enum reg_class m32c_regno_reg_class (int);
      62  rtx  m32c_return_addr_rtx (int);
      63  const char *m32c_scc_pattern (rtx *, RTX_CODE);
      64  int  m32c_secondary_reload_class (int, machine_mode, rtx);
      65  int  m32c_split_move (rtx *, machine_mode, int);
      66  int  m32c_split_psi_p (rtx *);
      67  int current_function_special_page_vector (rtx);
      68  
      69  #endif
      70  
      71  #ifdef TREE_CODE
      72  
      73  tree m32c_gimplify_va_arg_expr (tree, tree, gimple_seq *, gimple_seq *);
      74  void m32c_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree, int);
      75  bool m32c_promote_function_return (const_tree);
      76  int  m32c_special_page_vector_p (tree);
      77  void m32c_output_aligned_common (FILE *, tree, const char *,
      78  				 int, int, int);
      79  
      80  #endif