1 |
12 |
jlechner |
/* Prototypes for exported functions defined in mmix.c
|
2 |
|
|
Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
|
3 |
|
|
Contributed by Hans-Peter Nilsson (hp@bitrange.com)
|
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 2, 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 COPYING. If not, write to
|
19 |
|
|
the Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
20 |
|
|
Boston, MA 02110-1301, USA. */
|
21 |
|
|
|
22 |
|
|
extern void mmix_override_options (void);
|
23 |
|
|
extern void mmix_init_expanders (void);
|
24 |
|
|
extern int mmix_eh_return_data_regno (int);
|
25 |
|
|
extern int mmix_initial_elimination_offset (int, int);
|
26 |
|
|
extern int mmix_starting_frame_offset (void);
|
27 |
|
|
extern int mmix_function_arg_regno_p (int, int);
|
28 |
|
|
extern void mmix_function_profiler (FILE *, int);
|
29 |
|
|
extern void mmix_trampoline_template (FILE *);
|
30 |
|
|
extern int mmix_trampoline_size;
|
31 |
|
|
extern int mmix_reversible_cc_mode (enum machine_mode);
|
32 |
|
|
extern int mmix_register_move_cost
|
33 |
|
|
(enum machine_mode, enum reg_class, enum reg_class);
|
34 |
|
|
extern const char *mmix_text_section_asm_op (void);
|
35 |
|
|
extern const char *mmix_data_section_asm_op (void);
|
36 |
|
|
extern void mmix_asm_output_source_filename (FILE *, const char *);
|
37 |
|
|
extern void mmix_output_quoted_string (FILE *, const char *, int);
|
38 |
|
|
extern void mmix_asm_output_source_line (FILE *, int);
|
39 |
|
|
extern void mmix_asm_output_ascii (FILE *, const char *, int);
|
40 |
|
|
extern void mmix_asm_output_label (FILE *, const char *);
|
41 |
|
|
extern void mmix_asm_output_internal_label (FILE *, const char *);
|
42 |
|
|
extern void mmix_asm_weaken_label (FILE *, const char *);
|
43 |
|
|
extern void mmix_asm_output_labelref (FILE *, const char *);
|
44 |
|
|
extern void mmix_asm_output_def (FILE *, const char *, const char *);
|
45 |
|
|
extern int mmix_print_operand_punct_valid_p (int);
|
46 |
|
|
extern void mmix_asm_output_reg_push (FILE *, int);
|
47 |
|
|
extern void mmix_asm_output_reg_pop (FILE *, int);
|
48 |
|
|
extern void mmix_asm_output_skip (FILE *, int);
|
49 |
|
|
extern void mmix_asm_output_align (FILE *, int);
|
50 |
|
|
extern int mmix_shiftable_wyde_value (unsigned HOST_WIDEST_INT);
|
51 |
|
|
extern void mmix_output_register_setting (FILE *, int, HOST_WIDEST_INT, int);
|
52 |
|
|
extern void mmix_conditional_register_usage (void);
|
53 |
|
|
extern int mmix_local_regno (int);
|
54 |
|
|
extern int mmix_dbx_register_number (int);
|
55 |
|
|
extern int mmix_use_simple_return (void);
|
56 |
|
|
extern void mmix_make_decl_one_only (tree);
|
57 |
|
|
extern rtx mmix_function_outgoing_value (tree, tree);
|
58 |
|
|
extern int mmix_function_value_regno_p (int);
|
59 |
|
|
extern int mmix_data_alignment (tree, int);
|
60 |
|
|
extern int mmix_constant_alignment (tree, int);
|
61 |
|
|
extern int mmix_local_alignment (tree, int);
|
62 |
|
|
extern void mmix_asm_output_pool_prologue (FILE *, const char *, tree, int);
|
63 |
|
|
extern void mmix_asm_output_aligned_common (FILE *, const char *, int, int);
|
64 |
|
|
extern void mmix_asm_output_aligned_local (FILE *, const char *, int, int);
|
65 |
|
|
extern void mmix_asm_declare_register_global
|
66 |
|
|
(FILE *, tree, int, const char *);
|
67 |
|
|
extern rtx mmix_function_arg
|
68 |
|
|
(const CUMULATIVE_ARGS *, enum machine_mode, tree, int, int);
|
69 |
|
|
extern void mmix_asm_output_addr_diff_elt (FILE *, rtx, int, int);
|
70 |
|
|
extern void mmix_asm_output_addr_vec_elt (FILE *, int);
|
71 |
|
|
extern enum reg_class mmix_preferred_reload_class (rtx, enum reg_class);
|
72 |
|
|
extern enum reg_class mmix_preferred_output_reload_class
|
73 |
|
|
(rtx, enum reg_class);
|
74 |
|
|
extern enum reg_class mmix_secondary_reload_class
|
75 |
|
|
(enum reg_class, enum machine_mode, rtx, int);
|
76 |
|
|
extern int mmix_const_ok_for_letter_p (HOST_WIDE_INT, int);
|
77 |
|
|
extern int mmix_const_double_ok_for_letter_p (rtx, int);
|
78 |
|
|
extern int mmix_extra_constraint (rtx, int, int);
|
79 |
|
|
extern rtx mmix_dynamic_chain_address (rtx);
|
80 |
|
|
extern rtx mmix_return_addr_rtx (int, rtx);
|
81 |
|
|
extern rtx mmix_eh_return_stackadj_rtx (void);
|
82 |
|
|
extern rtx mmix_eh_return_handler_rtx (void);
|
83 |
|
|
extern void mmix_initialize_trampoline (rtx, rtx, rtx);
|
84 |
|
|
extern int mmix_constant_address_p (rtx);
|
85 |
|
|
extern int mmix_legitimate_address (enum machine_mode, rtx, int);
|
86 |
|
|
extern int mmix_legitimate_constant_p (rtx);
|
87 |
|
|
extern void mmix_print_operand (FILE *, rtx, int);
|
88 |
|
|
extern void mmix_print_operand_address (FILE *, rtx);
|
89 |
|
|
extern void mmix_expand_prologue (void);
|
90 |
|
|
extern void mmix_expand_epilogue (void);
|
91 |
|
|
extern rtx mmix_get_hard_reg_initial_val (enum machine_mode, int);
|
92 |
|
|
extern int mmix_asm_preferred_eh_data_format (int, int);
|
93 |
|
|
extern void mmix_setup_frame_addresses (void);
|
94 |
|
|
|
95 |
|
|
#ifdef RTX_CODE
|
96 |
|
|
/* Needs to be ifdef:d for sake of enum rtx_code. */
|
97 |
|
|
extern enum machine_mode mmix_select_cc_mode (enum rtx_code, rtx, rtx);
|
98 |
|
|
extern void mmix_canonicalize_comparison (enum rtx_code *, rtx *, rtx *);
|
99 |
|
|
extern int mmix_valid_comparison (enum rtx_code, enum machine_mode, rtx);
|
100 |
|
|
extern rtx mmix_gen_compare_reg (enum rtx_code, rtx, rtx);
|
101 |
|
|
#endif
|
102 |
|
|
|
103 |
|
|
/*
|
104 |
|
|
* Local variables:
|
105 |
|
|
* eval: (c-set-style "gnu")
|
106 |
|
|
* indent-tabs-mode: t
|
107 |
|
|
* End:
|
108 |
|
|
*/
|