xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/m32c/m32c-protos.h (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
136ac495dSmrg /* Target Prototypes for R8C/M16C/M32C
2*8feb0f0bSmrg    Copyright (C) 2005-2020 Free Software Foundation, Inc.
336ac495dSmrg    Contributed by Red Hat.
436ac495dSmrg 
536ac495dSmrg    This file is part of GCC.
636ac495dSmrg 
736ac495dSmrg    GCC is free software; you can redistribute it and/or modify it
836ac495dSmrg    under the terms of the GNU General Public License as published
936ac495dSmrg    by the Free Software Foundation; either version 3, or (at your
1036ac495dSmrg    option) any later version.
1136ac495dSmrg 
1236ac495dSmrg    GCC is distributed in the hope that it will be useful, but WITHOUT
1336ac495dSmrg    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
1436ac495dSmrg    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
1536ac495dSmrg    License for more details.
1636ac495dSmrg 
1736ac495dSmrg    You should have received a copy of the GNU General Public License
1836ac495dSmrg    along with GCC; see the file COPYING3.  If not see
1936ac495dSmrg    <http://www.gnu.org/licenses/>.  */
2036ac495dSmrg 
2136ac495dSmrg void m32c_conditional_register_usage (void);
2236ac495dSmrg unsigned int m32c_dwarf_frame_regnum (int);
2336ac495dSmrg int  m32c_eh_return_data_regno (int);
2436ac495dSmrg void m32c_emit_epilogue (void);
2536ac495dSmrg void m32c_emit_prologue (void);
2636ac495dSmrg int  m32c_epilogue_uses (int);
2736ac495dSmrg int  m32c_function_arg_regno_p (int);
2836ac495dSmrg void m32c_init_expanders (void);
2936ac495dSmrg int  m32c_initial_elimination_offset (int, int);
3036ac495dSmrg void m32c_output_reg_pop (FILE *, int);
3136ac495dSmrg void m32c_output_reg_push (FILE *, int);
32a2dc1f3fSmrg poly_int64 m32c_push_rounding (poly_int64);
3336ac495dSmrg void m32c_register_pragmas (void);
3436ac495dSmrg void m32c_note_pragma_address (const char *, unsigned);
3536ac495dSmrg int  m32c_regno_ok_for_base_p (int);
3636ac495dSmrg int  m32c_trampoline_alignment (void);
3736ac495dSmrg int  m32c_trampoline_size (void);
3836ac495dSmrg 
3936ac495dSmrg #ifdef RTX_CODE
4036ac495dSmrg 
4136ac495dSmrg rtx  m32c_eh_return_stackadj_rtx (void);
4236ac495dSmrg void m32c_emit_eh_epilogue (rtx);
4336ac495dSmrg int  m32c_expand_cmpstr (rtx *);
4436ac495dSmrg int  m32c_expand_insv (rtx *);
4536ac495dSmrg int  m32c_expand_movcc (rtx *);
46*8feb0f0bSmrg int  m32c_expand_cpymemhi (rtx *);
4736ac495dSmrg int  m32c_expand_movstr (rtx *);
4836ac495dSmrg void m32c_expand_neg_mulpsi3 (rtx *);
4936ac495dSmrg int  m32c_expand_setmemhi (rtx *);
5036ac495dSmrg bool m32c_matches_constraint_p (rtx, int);
5136ac495dSmrg bool m32c_illegal_subreg_p (rtx);
5236ac495dSmrg bool m32c_immd_dbl_mov (rtx *, machine_mode);
5336ac495dSmrg rtx  m32c_incoming_return_addr_rtx (void);
5436ac495dSmrg int  m32c_legitimize_reload_address (rtx *, machine_mode, int, int, int);
5536ac495dSmrg int  m32c_limit_reload_class (machine_mode, int);
5636ac495dSmrg bool m32c_mov_ok (rtx *, machine_mode);
5736ac495dSmrg char * m32c_output_compare (rtx_insn *, rtx *);
5836ac495dSmrg int  m32c_prepare_move (rtx *, machine_mode);
5936ac495dSmrg int  m32c_prepare_shift (rtx *, int, int);
6036ac495dSmrg int  m32c_reg_ok_for_base_p (rtx, int);
6136ac495dSmrg enum reg_class m32c_regno_reg_class (int);
6236ac495dSmrg rtx  m32c_return_addr_rtx (int);
6336ac495dSmrg const char *m32c_scc_pattern (rtx *, RTX_CODE);
6436ac495dSmrg int  m32c_secondary_reload_class (int, machine_mode, rtx);
6536ac495dSmrg int  m32c_split_move (rtx *, machine_mode, int);
6636ac495dSmrg int  m32c_split_psi_p (rtx *);
6736ac495dSmrg int current_function_special_page_vector (rtx);
6836ac495dSmrg 
6936ac495dSmrg #endif
7036ac495dSmrg 
7136ac495dSmrg #ifdef TREE_CODE
7236ac495dSmrg 
7336ac495dSmrg tree m32c_gimplify_va_arg_expr (tree, tree, gimple_seq *, gimple_seq *);
7436ac495dSmrg void m32c_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree, int);
7536ac495dSmrg bool m32c_promote_function_return (const_tree);
7636ac495dSmrg int  m32c_special_page_vector_p (tree);
7736ac495dSmrg void m32c_output_aligned_common (FILE *, tree, const char *,
7836ac495dSmrg 				 int, int, int);
7936ac495dSmrg 
8036ac495dSmrg #endif
81