]> oss.titaniummirror.com Git - msp430-gcc.git/blobdiff - gcc/config/cris/cris-protos.h
Imported gcc-4.4.3
[msp430-gcc.git] / gcc / config / cris / cris-protos.h
index e13c94fb36db5418dc4bc68e0188e59b4c4fdd86..db6aa9fe9ce0a476a835daed2a092008f0219cf8 100644 (file)
@@ -1,12 +1,13 @@
 /* Definitions for GCC.  Part of the machine description for CRIS.
-   Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2001, 2004, 2005, 2006, 2007
+   Free Software Foundation, Inc.
    Contributed by Axis Communications.
 
 This file is part of GCC.
 
 GCC is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
-the Free Software Foundation; either version 2, or (at your option)
+the Free Software Foundation; either version 3, or (at your option)
 any later version.
 
 GCC is distributed in the hope that it will be useful,
@@ -15,9 +16,8 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
-along with GCC; see the file COPYING.  If not, write to
-the Free Software Foundation, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.  */
+along with GCC; see the file COPYING3.  If not see
+<http://www.gnu.org/licenses/>.  */
 
 /* Prototypes for the CRIS port.  */
 
@@ -25,51 +25,49 @@ Boston, MA 02111-1307, USA.  */
 #define STDIO_INCLUDED
 #endif
 
-extern void cris_conditional_register_usage PARAMS ((void));
-extern int cris_simple_epilogue PARAMS ((void));
+extern void cris_conditional_register_usage (void);
+extern bool cris_simple_epilogue (void);
 #ifdef RTX_CODE
-extern const char *cris_op_str PARAMS ((rtx));
-extern int cris_eligible_for_epilogue_delay PARAMS ((rtx));
-extern void cris_notice_update_cc PARAMS ((rtx, rtx));
-extern int cris_address_cost PARAMS ((rtx));
-extern void cris_print_operand PARAMS ((FILE *, rtx, int));
-extern void cris_print_operand_address PARAMS ((FILE *, rtx));
-extern int cris_side_effect_mode_ok PARAMS ((enum rtx_code, rtx *, int, int,
-                                             int, int, int));
-extern rtx cris_return_addr_rtx PARAMS ((int, rtx));
-extern rtx cris_split_movdx PARAMS ((rtx *));
-extern int cris_legitimate_pic_operand PARAMS ((rtx));
-extern int cris_gotless_symbol PARAMS ((rtx));
-extern int cris_got_symbol PARAMS ((rtx));
-extern int cris_symbol PARAMS ((rtx));
-extern void cris_output_addr_const PARAMS ((FILE *, rtx));
-extern int cris_cfun_uses_pic_table PARAMS ((void));
-extern void cris_target_asm_named_section
-  PARAMS ((const char *, unsigned int));
-
-# ifdef TREE_CODE
-extern rtx cris_expand_builtin_va_arg PARAMS ((tree, tree));
-extern void cris_encode_section_info PARAMS ((tree));
-# endif
+extern const char *cris_op_str (rtx);
+extern void cris_notice_update_cc (rtx, rtx);
+extern bool cris_reload_address_legitimized (rtx, enum machine_mode, int, int, int);
+extern int cris_register_move_cost (enum machine_mode, enum reg_class,
+                                   enum reg_class);
+extern void cris_print_operand (FILE *, rtx, int);
+extern void cris_print_operand_address (FILE *, rtx);
+extern int cris_side_effect_mode_ok (enum rtx_code, rtx *, int, int,
+                                     int, int, int);
+extern bool cris_cc0_user_requires_cmp (rtx);
+extern rtx cris_return_addr_rtx (int, rtx);
+extern rtx cris_split_movdx (rtx *);
+extern int cris_legitimate_pic_operand (rtx);
+extern enum cris_pic_symbol_type cris_pic_symbol_type_of (rtx);
+extern bool cris_valid_pic_const (rtx, bool);
+extern bool cris_store_multiple_op_p (rtx);
+extern bool cris_movem_load_rest_p (rtx, int);
+extern void cris_asm_output_symbol_ref (FILE *, rtx);
+extern bool cris_output_addr_const_extra (FILE *, rtx);
+extern int cris_cfun_uses_pic_table (void);
+extern void cris_asm_output_case_end (FILE *, int, rtx);
+extern rtx cris_gen_movem_load (rtx, rtx, int);
+extern rtx cris_emit_movem_store (rtx, rtx, int, bool);
+extern void cris_expand_pic_call_address (rtx *);
+extern void cris_order_for_addsi3 (rtx *, int);
 #endif /* RTX_CODE */
+extern void cris_asm_output_label_ref (FILE *, char *);
+extern void cris_target_asm_named_section (const char *, unsigned int, tree);
+extern void cris_expand_prologue (void);
+extern void cris_expand_epilogue (void);
+extern void cris_expand_return (bool);
+extern bool cris_return_address_on_stack_for_return (void);
+extern bool cris_return_address_on_stack (void);
+extern void cris_pragma_expand_mul (struct cpp_reader *);
 
-#ifdef STDIO_INCLUDED
-# ifdef TREE_CODE
-extern void cris_asm_output_mi_thunk PARAMS ((FILE *, tree, int, tree));
-# endif
-#endif
-
-#ifdef GCC_C_PRAGMA_H
-extern void cris_pragma_expand_mul PARAMS ((cpp_reader *));
-#endif
-
-/* Need one that returns an int; usable in expressions. */
-extern int cris_fatal PARAMS ((char *));
-
-extern void cris_override_options PARAMS ((void));
+/* Need one that returns an int; usable in expressions.  */
+extern int cris_fatal (char *);
 
-extern int cris_initial_elimination_offset PARAMS ((int, int));
+extern void cris_override_options (void);
 
-extern void cris_init_expanders PARAMS ((void));
+extern int cris_initial_elimination_offset (int, int);
 
-extern int cris_delay_slots_for_epilogue PARAMS ((void));
+extern void cris_init_expanders (void);