Home | History | Annotate | Line # | Download | only in rx
rx-protos.h revision 1.5
      1 /* Exported function prototypes from the Renesas RX backend.
      2    Copyright (C) 2008-2015 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
      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 #ifndef GCC_RX_PROTOS_H
     22 #define GCC_RX_PROTOS_H
     23 
     24 extern bool             rx_can_use_simple_return (void);
     25 extern void		rx_expand_epilogue (bool);
     26 extern void		rx_expand_prologue (void);
     27 extern int		rx_initial_elimination_offset (int, int);
     28 
     29 #ifdef RTX_CODE
     30 extern int		rx_adjust_insn_length (rtx_insn *, int);
     31 extern int 		rx_align_for_label (rtx, int);
     32 extern void             rx_emit_stack_popm (rtx *, bool);
     33 extern void             rx_emit_stack_pushm (rtx *);
     34 extern char *		rx_gen_move_template (rtx *, bool);
     35 extern bool		rx_is_legitimate_constant (machine_mode, rtx);
     36 extern bool		rx_is_restricted_memory_address (rtx,
     37 							 machine_mode);
     38 extern bool		rx_match_ccmode (rtx, machine_mode);
     39 extern rtx		rx_maybe_pidify_operand (rtx, int);
     40 extern void		rx_notice_update_cc (rtx, rtx);
     41 extern void		rx_split_cbranch (machine_mode, enum rtx_code,
     42 					  rtx, rtx, rtx);
     43 extern machine_mode	rx_select_cc_mode (enum rtx_code, rtx, rtx);
     44 #endif
     45 
     46 #endif /* GCC_RX_PROTOS_H */
     47