1 /* Prototypes for m32r.c functions used in the md file & elsewhere.
2 Copyright (C) 1999, 2000 Free Software Foundation, Inc.
4 This file is part of GNU CC.
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING. If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA. */
21 /* Function prototypes that cannot exist in v850.h due to dependency
23 #define Mmode enum machine_mode
25 extern void sbss_section
PARAMS ((void));
26 extern void sdata_section
PARAMS ((void));
27 extern void m32r_init
PARAMS ((void));
28 extern void m32r_init_expanders
PARAMS ((void));
29 extern unsigned m32r_compute_frame_size
PARAMS ((int));
30 extern int m32r_first_insn_address
PARAMS ((void));
31 extern void m32r_expand_prologue
PARAMS ((void));
32 extern void m32r_output_function_prologue
PARAMS ((FILE *, int));
33 extern void m32r_output_function_epilogue
PARAMS ((FILE *, int));
34 extern void m32r_finalize_pic
PARAMS ((void));
35 extern void m32r_asm_file_start
PARAMS ((FILE *));
36 extern void m32r_sched_init
PARAMS ((FILE *, int));
37 extern int direct_return
PARAMS ((void));
39 extern int m32r_valid_machine_decl_attribute
PARAMS ((tree
, tree
, tree
, tree
));
40 extern int m32r_comp_type_attributes
PARAMS ((tree
, tree
));
41 extern void m32r_select_section
PARAMS ((tree
, int));
42 extern void m32r_encode_section_info
PARAMS ((tree
));
43 extern enum m32r_function_type m32r_compute_function_type
PARAMS ((tree
));
44 extern void m32r_select_section
PARAMS ((tree
, int));
45 extern void m32r_set_default_type_attributes
PARAMS ((tree
));
47 #ifdef HAVE_MACHINE_MODES
48 extern void m32r_setup_incoming_varargs
PARAMS ((CUMULATIVE_ARGS
*, Mmode
, tree
, int *, int));
49 extern int function_arg_partial_nregs
PARAMS ((CUMULATIVE_ARGS
*, Mmode
, tree
, int));
51 #endif /* TREE_CODE */
54 extern int easy_di_const
PARAMS ((rtx
));
55 extern int easy_df_const
PARAMS ((rtx
));
56 extern int m32r_select_cc_mode
PARAMS ((int, rtx
, rtx
));
57 extern rtx gen_compare
PARAMS ((enum rtx_code
, rtx
, rtx
, int));
58 extern rtx gen_split_move_double
PARAMS ((rtx
*));
59 extern int m32r_address_code
PARAMS ((rtx
));
60 extern void m32r_initialize_trampoline
PARAMS ((rtx
, rtx
, rtx
));
61 extern int zero_and_one
PARAMS ((rtx
, rtx
));
62 extern char * emit_cond_move
PARAMS ((rtx
*, rtx
));
63 extern char * m32r_output_block_move
PARAMS ((rtx
, rtx
*));
64 extern void m32r_expand_block_move
PARAMS ((rtx
*));
65 extern void m32r_print_operand
PARAMS ((FILE *, rtx
, int));
66 extern void m32r_print_operand_address
PARAMS ((FILE *, rtx
));
67 extern int m32r_address_cost
PARAMS ((rtx
));
68 extern int m32r_adjust_cost
PARAMS ((rtx
, rtx
, rtx
, int));
69 extern int m32r_adjust_priority
PARAMS ((rtx
, int));
70 extern void m32r_sched_reorder
PARAMS ((FILE *, int, rtx
*, int));
71 extern int m32r_sched_variable_issue
PARAMS ((FILE *, int, rtx
, int));
72 extern int m32r_not_same_reg
PARAMS ((rtx
, rtx
));
74 #ifdef HAVE_MACHINE_MODES
75 extern int call_address_operand
PARAMS ((rtx
, Mmode
));
76 extern int call_operand
PARAMS ((rtx
, Mmode
));
77 extern int symbolic_operand
PARAMS ((rtx
, Mmode
));
78 extern int small_data_operand
PARAMS ((rtx
, Mmode
));
79 extern int addr24_operand
PARAMS ((rtx
, Mmode
));
80 extern int addr32_operand
PARAMS ((rtx
, Mmode
));
81 extern int call26_operand
PARAMS ((rtx
, Mmode
));
82 extern int seth_add3_operand
PARAMS ((rtx
, Mmode
));
83 extern int cmp_int16_operand
PARAMS ((rtx
, Mmode
));
84 extern int uint16_operand
PARAMS ((rtx
, Mmode
));
85 extern int reg_or_int16_operand
PARAMS ((rtx
, Mmode
));
86 extern int reg_or_uint16_operand
PARAMS ((rtx
, Mmode
));
87 extern int reg_or_cmp_int16_operand
PARAMS ((rtx
, Mmode
));
88 extern int two_insn_const_operand
PARAMS ((rtx
, Mmode
));
89 extern int move_src_operand
PARAMS ((rtx
, Mmode
));
90 extern int move_double_src_operand
PARAMS ((rtx
, Mmode
));
91 extern int move_dest_operand
PARAMS ((rtx
, Mmode
));
92 extern int eqne_comparison_operator
PARAMS ((rtx
, Mmode
));
93 extern int signed_comparison_operator
PARAMS ((rtx
, Mmode
));
94 extern int memreg_operand
PARAMS ((rtx
, Mmode
));
95 extern int small_insn_p
PARAMS ((rtx
, Mmode
));
96 extern int large_insn_p
PARAMS ((rtx
, Mmode
));
97 extern int conditional_move_operand
PARAMS ((rtx
, Mmode
));
98 extern int carry_compare_operand
PARAMS ((rtx
, Mmode
));
99 extern int m32r_block_immediate_operand
PARAMS ((rtx
, Mmode
));
100 extern int extend_operand
PARAMS ((rtx
, Mmode
));
101 extern int reg_or_eq_int16_operand
PARAMS ((rtx
, Mmode
));
102 extern int int8_operand
PARAMS ((rtx
, Mmode
));
103 #endif /* HAVE_MACHINE_MODES */
106 extern struct rtx_def
* m32r_va_arg
PARAMS ((tree
, tree
));
107 #endif /* TREE_CODE */
108 #endif /* RTX_CODE */