X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=gcc%2Fconfig%2Fstormy16%2Fstormy16-protos.h;fp=gcc%2Fconfig%2Fstormy16%2Fstormy16-protos.h;h=58cff8a26e9c808c81013265fc585107922f4340;hb=6fed43773c9b0ce596dca5686f37ac3fc0fa11c0;hp=76d0bc0dcfedf298c9b57ade53fa2112d0bbfb88;hpb=27b11d56b743098deb193d510b337ba22dc52e5c;p=msp430-gcc.git diff --git a/gcc/config/stormy16/stormy16-protos.h b/gcc/config/stormy16/stormy16-protos.h index 76d0bc0d..58cff8a2 100644 --- a/gcc/config/stormy16/stormy16-protos.h +++ b/gcc/config/stormy16/stormy16-protos.h @@ -1,93 +1,84 @@ /* Prototypes for exported functions defined in xstormy16.c - Copyright (C) 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 2000, 2001, 2003, 2004, 2007, 2008 + Free Software Foundation, Inc. Contributed by Red Hat, Inc. -This file is part of GNU CC. +This file is part of GCC. -GNU CC is free software; you can redistribute it and/or modify +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. -GNU CC is distributed in the hope that it will be useful, +GCC is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 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 GNU CC; 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 +. */ -extern struct xstormy16_stack_layout - xstormy16_compute_stack_layout PARAMS((void)); -extern void xstormy16_expand_prologue PARAMS ((void)); -extern void xstormy16_expand_epilogue PARAMS ((void)); -extern int xstormy16_initial_elimination_offset PARAMS ((int, int)); -extern int direct_return PARAMS ((void)); -extern int xstormy16_interrupt_function_p PARAMS ((void)); -extern int xstormy16_epilogue_uses PARAMS ((int)); +extern struct xstormy16_stack_layout xstormy16_compute_stack_layout (void); +extern void xstormy16_expand_prologue (void); +extern void xstormy16_expand_epilogue (void); +extern int xstormy16_initial_elimination_offset (int, int); +extern int direct_return (void); +extern int xstormy16_interrupt_function_p (void); +extern int xstormy16_epilogue_uses (int); +extern void xstormy16_function_profiler (void); #if defined (TREE_CODE) -# if defined (HAVE_MACHINE_MODES) +extern void xstormy16_asm_output_aligned_common (FILE *, tree, const char *, + int, int, int); +#endif + +#if defined (TREE_CODE) && defined (HAVE_MACHINE_MODES) extern CUMULATIVE_ARGS xstormy16_function_arg_advance - PARAMS ((CUMULATIVE_ARGS, enum machine_mode, tree, int)); -# endif -extern void xstormy16_setup_incoming_varargs - PARAMS ((CUMULATIVE_ARGS, int, tree, int *)); -extern tree xstormy16_build_va_list PARAMS ((void)); -extern void xstormy16_encode_section_info PARAMS ((tree)); + (CUMULATIVE_ARGS, enum machine_mode, tree, int); +extern rtx xstormy16_function_arg + (CUMULATIVE_ARGS, enum machine_mode, tree, int); #endif #if defined (TREE_CODE) && defined (RTX_CODE) -extern void xstormy16_expand_builtin_va_start PARAMS ((int, tree, rtx)); -extern rtx xstormy16_expand_builtin_va_arg PARAMS ((tree, tree)); -extern void xstormy16_initialize_trampoline PARAMS ((rtx, rtx, rtx)); -extern rtx xstormy16_function_value PARAMS ((tree, tree)); -extern void xstormy16_asm_output_mi_thunk PARAMS ((FILE *, tree, int, tree)); +extern void xstormy16_initialize_trampoline (rtx, rtx, rtx); +extern rtx xstormy16_function_value (const_tree, const_tree); #endif #ifdef RTX_CODE -extern void xstormy16_emit_cbranch PARAMS ((enum rtx_code, rtx)); -extern char * xstormy16_output_cbranch_hi PARAMS ((rtx, const char *, int, - rtx)); -extern char * xstormy16_output_cbranch_si PARAMS ((rtx, const char *, int, - rtx)); -extern int xstormy16_mode_dependent_address_p PARAMS ((rtx)); -extern int xstormy16_extra_constraint_p PARAMS ((rtx, int)); +extern void xstormy16_emit_cbranch (enum rtx_code, rtx); +extern char *xstormy16_output_cbranch_hi (rtx, const char *, int, rtx); +extern char *xstormy16_output_cbranch_si (rtx, const char *, int, rtx); +extern int xstormy16_mode_dependent_address_p (rtx); +extern int xstormy16_extra_constraint_p (rtx, int); -extern void xstormy16_print_operand PARAMS ((FILE *, rtx, int)); -extern void xstormy16_print_operand_address PARAMS ((FILE *, rtx)); +extern void xstormy16_print_operand (FILE *, rtx, int); +extern void xstormy16_print_operand_address (FILE *, rtx); -extern void xstormy16_expand_casesi PARAMS ((rtx, rtx, rtx, rtx, rtx)); -extern void xstormy16_output_addr_vec PARAMS ((FILE *, rtx, rtx)); -extern void xstormy16_expand_call PARAMS ((rtx, rtx, rtx)); +extern void xstormy16_expand_casesi (rtx, rtx, rtx, rtx, rtx); +extern void xstormy16_output_addr_vec (FILE *, rtx, rtx); +extern void xstormy16_expand_call (rtx, rtx, rtx); +extern void xstormy16_expand_iorqi3 (rtx *); +extern void xstormy16_expand_andqi3 (rtx *); #endif #if defined (HAVE_MACHINE_MODES) && defined (RTX_CODE) -extern int xstormy16_ineqsi_operator PARAMS ((rtx, enum machine_mode)); -extern int equality_operator PARAMS ((rtx, enum machine_mode)); -extern int inequality_operator PARAMS ((rtx, enum machine_mode)); -extern void xstormy16_split_cbranch PARAMS ((enum machine_mode, - rtx, rtx, rtx, rtx)); -extern int short_memory_operand PARAMS ((rtx, enum machine_mode)); -extern int nonimmediate_nonstack_operand PARAMS ((rtx, enum machine_mode)); +extern void xstormy16_split_cbranch (enum machine_mode, rtx, rtx, rtx); +extern int short_memory_operand (rtx, enum machine_mode); +extern int nonimmediate_nonstack_operand (rtx, enum machine_mode); extern enum reg_class xstormy16_secondary_reload_class - PARAMS ((enum reg_class, enum machine_mode, rtx)); -extern int xstormy16_carry_plus_operand PARAMS ((rtx, enum machine_mode)); -extern enum reg_class xstormy16_preferred_reload_class - PARAMS ((rtx, enum reg_class)); -extern int xstormy16_legitimate_address_p - PARAMS ((enum machine_mode, rtx, int)); -extern void xstormy16_split_move PARAMS ((enum machine_mode, rtx, rtx)); -extern void xstormy16_expand_move PARAMS ((enum machine_mode, rtx, rtx)); -extern void xstormy16_expand_arith PARAMS ((enum machine_mode, enum rtx_code, - rtx, rtx, rtx, rtx)); -extern int shift_operator PARAMS ((rtx, enum machine_mode)); -extern const char * xstormy16_output_shift PARAMS ((enum machine_mode, - enum rtx_code, - rtx, rtx, rtx)); + (enum reg_class, enum machine_mode, rtx); +extern enum reg_class xstormy16_preferred_reload_class (rtx, enum reg_class); +extern int xstormy16_legitimate_address_p (enum machine_mode, rtx, int); +extern void xstormy16_split_move (enum machine_mode, rtx, rtx); +extern void xstormy16_expand_move (enum machine_mode, rtx, rtx); +extern void xstormy16_expand_arith (enum machine_mode, enum rtx_code, + rtx, rtx, rtx); +extern const char * xstormy16_output_shift (enum machine_mode, enum rtx_code, + rtx, rtx, rtx); +extern int xstormy16_below100_symbol (rtx, enum machine_mode); +extern int xstormy16_splittable_below100_operand (rtx, enum machine_mode); #endif