1 /* Prototypes for exported functions defined in mmix.c
2 Copyright (C) 2000, 2001 Free Software Foundation, Inc.
3 Contributed by Hans-Peter Nilsson (hp@bitrange.com)
5 This file is part of GNU CC.
7 GNU CC 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 2, or (at your option)
12 GNU CC 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.
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 extern void mmix_override_options
PARAMS ((void));
23 extern void mmix_init_expanders
PARAMS ((void));
24 extern int mmix_eh_return_data_regno
PARAMS ((int));
25 extern int mmix_initial_elimination_offset
PARAMS ((int, int));
26 extern int mmix_starting_frame_offset
PARAMS ((void));
27 extern int mmix_function_arg_regno_p
PARAMS ((int, int));
28 extern void mmix_function_profiler
PARAMS ((FILE *, int));
29 extern void mmix_trampoline_template
PARAMS ((FILE *));
30 extern int mmix_trampoline_size
;
31 extern int mmix_reversible_cc_mode
PARAMS ((enum machine_mode
));
32 extern int mmix_register_move_cost
33 PARAMS ((enum machine_mode
, enum reg_class
, enum reg_class
));
34 extern const char *mmix_text_section_asm_op
PARAMS ((void));
35 extern const char *mmix_data_section_asm_op
PARAMS ((void));
36 extern const char *mmix_strip_name_encoding
PARAMS ((const char *));
37 extern void mmix_asm_file_start
PARAMS ((FILE *));
38 extern void mmix_asm_file_end
PARAMS ((FILE *));
39 extern void mmix_asm_identify_gcc
PARAMS ((FILE *));
40 extern void mmix_asm_output_source_filename
PARAMS ((FILE *, const char *));
41 extern void mmix_output_quoted_string
PARAMS ((FILE *, const char *, int));
42 extern void mmix_asm_output_source_line
PARAMS ((FILE *, int));
43 extern void mmix_asm_output_ascii
PARAMS ((FILE *, const char *, int));
44 extern void mmix_asm_output_label
PARAMS ((FILE *, const char *));
45 extern void mmix_asm_globalize_label
PARAMS ((FILE *, const char *));
46 extern void mmix_asm_weaken_label
PARAMS ((FILE *, const char *));
47 extern void mmix_asm_output_labelref
PARAMS ((FILE *, const char *));
48 extern void mmix_asm_output_internal_label
49 PARAMS ((FILE *, const char *, int));
50 extern void mmix_asm_output_def
PARAMS ((FILE *, const char *, const char *));
51 extern void mmix_asm_output_define_label_difference_symbol
52 PARAMS ((FILE *, const char *, const char *, const char *));
53 extern int mmix_print_operand_punct_valid_p
PARAMS ((int));
54 extern void mmix_asm_output_reg_push
PARAMS ((FILE *, int));
55 extern void mmix_asm_output_reg_pop
PARAMS ((FILE *, int));
56 extern void mmix_asm_output_skip
PARAMS ((FILE *, int));
57 extern void mmix_asm_output_align
PARAMS ((FILE *, int));
58 extern int mmix_shiftable_wyde_value
PARAMS ((unsigned HOST_WIDEST_INT
));
59 extern void mmix_output_register_setting
60 PARAMS ((FILE *, int, HOST_WIDEST_INT
, int));
61 extern void mmix_conditional_register_usage
PARAMS ((void));
62 extern int mmix_dbx_register_number
PARAMS ((int));
64 /* Things that need rtl.h, tree.h or real.h included, or in combination. */
69 extern void mmix_make_decl_one_only
PARAMS ((tree
));
70 extern int mmix_function_arg_pass_by_reference
71 PARAMS ((const CUMULATIVE_ARGS
*, enum machine_mode
, tree
, int));
72 extern rtx mmix_function_outgoing_value
PARAMS ((tree
, tree
));
73 extern int mmix_data_alignment
PARAMS ((tree
, int));
74 extern int mmix_constant_alignment
PARAMS ((tree
, int));
75 extern int mmix_local_alignment
PARAMS ((tree
, int));
76 extern void mmix_setup_incoming_varargs
77 PARAMS ((CUMULATIVE_ARGS
*, enum machine_mode
, tree
, int *, int));
78 extern void mmix_select_section
PARAMS ((tree
, int, int));
79 extern void mmix_encode_section_info
PARAMS ((tree
));
80 extern void mmix_unique_section
PARAMS ((tree
, int));
81 extern void mmix_asm_output_pool_prologue
82 PARAMS ((FILE *, const char *, tree
, int));
83 extern void mmix_asm_output_aligned_common
84 PARAMS ((FILE *, const char *, int, int));
85 extern void mmix_asm_output_aligned_local
86 PARAMS ((FILE *, const char *, int, int));
87 extern void mmix_asm_declare_register_global
88 PARAMS ((FILE *, tree
, int, const char *));
89 extern void mmix_asm_output_mi_thunk
PARAMS ((FILE *, tree
, int, tree
));
91 /* Need tree.h and rtl.h */
93 extern rtx mmix_function_arg
94 PARAMS ((const CUMULATIVE_ARGS
*, enum machine_mode
, tree
, int, int));
95 extern rtx mmix_expand_builtin_va_arg
PARAMS ((tree
, tree
));
96 # endif /* RTX_CODE */
97 #endif /* TREE_CODE */
101 extern void mmix_asm_output_addr_diff_elt
PARAMS ((FILE *, rtx
, int, int));
102 extern void mmix_asm_output_addr_vec_elt
PARAMS ((FILE *, int));
103 extern enum reg_class mmix_preferred_reload_class
104 PARAMS ((rtx
, enum reg_class
));
105 extern enum reg_class mmix_preferred_output_reload_class
106 PARAMS ((rtx
, enum reg_class
));
107 extern enum reg_class mmix_secondary_reload_class
108 PARAMS ((enum reg_class
, enum machine_mode
, rtx
, int));
109 extern int mmix_const_ok_for_letter_p
PARAMS ((HOST_WIDE_INT
, int));
110 extern int mmix_const_double_ok_for_letter_p
PARAMS ((rtx
, int));
111 extern int mmix_extra_constraint
PARAMS ((rtx
, int));
112 extern rtx mmix_dynamic_chain_address
PARAMS ((rtx
));
113 extern rtx mmix_return_addr_rtx
PARAMS ((int, rtx
));
114 extern rtx mmix_eh_return_stackadj_rtx
PARAMS ((void));
115 extern rtx mmix_eh_return_handler_rtx
PARAMS ((void));
116 extern void mmix_initialize_trampoline
PARAMS ((rtx
, rtx
, rtx
));
117 extern int mmix_constant_address_p
PARAMS ((rtx
));
118 extern int mmix_legitimate_address
PARAMS ((enum machine_mode
, rtx
, int));
119 extern int mmix_legitimate_constant_p
PARAMS ((rtx
));
120 extern enum machine_mode mmix_select_cc_mode
PARAMS ((RTX_CODE
, rtx
, rtx
));
121 extern void mmix_canonicalize_comparison
PARAMS ((RTX_CODE
*, rtx
*, rtx
*));
122 extern int mmix_rtx_cost_recalculated
123 PARAMS ((rtx
, RTX_CODE
, RTX_CODE
, int *));
124 extern int mmix_address_cost
PARAMS ((rtx
));
125 extern void mmix_print_operand
PARAMS ((FILE *, rtx
, int));
126 extern void mmix_print_operand_address
PARAMS ((FILE *, rtx
));
127 extern int mmix_valid_comparison
PARAMS ((RTX_CODE
, enum machine_mode
, rtx
));
128 extern rtx mmix_gen_compare_reg
PARAMS ((enum rtx_code
, rtx
, rtx
));
129 #endif /* RTX_CODE */
131 extern int mmix_asm_preferred_eh_data_format
PARAMS ((int, int));
132 extern void mmix_setup_frame_addresses
PARAMS ((void));
136 extern void mmix_asm_output_double
PARAMS ((FILE *, REAL_VALUE_TYPE
*));
137 extern void mmix_asm_output_float
PARAMS ((FILE *, REAL_VALUE_TYPE
*));
138 #endif /* GCC_REAL_H */
142 * eval: (c-set-style "gnu")
143 * indent-tabs-mode: t