2016-09-08 Steven G. Kargl <kargl@gcc.gnu.org>
[official-gcc.git] / gcc / config / mmix / mmix-protos.h
blob21e83ed17740b8045dcf903d8a88a01fc396ebd0
1 /* Prototypes for exported functions defined in mmix.c
2 Copyright (C) 2000-2016 Free Software Foundation, Inc.
3 Contributed by Hans-Peter Nilsson (hp@bitrange.com)
5 This file is part of GCC.
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 3, or (at your option)
10 any later version.
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.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 extern void mmix_init_expanders (void);
22 extern int mmix_eh_return_data_regno (int);
23 extern int mmix_initial_elimination_offset (int, int);
24 extern int mmix_starting_frame_offset (void);
25 extern int mmix_function_arg_regno_p (int, int);
26 extern void mmix_function_profiler (FILE *, int);
27 extern int mmix_reversible_cc_mode (machine_mode);
28 extern const char *mmix_text_section_asm_op (void);
29 extern const char *mmix_data_section_asm_op (void);
30 extern void mmix_output_quoted_string (FILE *, const char *, int);
31 extern void mmix_asm_output_ascii (FILE *, const char *, int);
32 extern void mmix_asm_output_label (FILE *, const char *);
33 extern void mmix_asm_output_internal_label (FILE *, const char *);
34 extern void mmix_asm_weaken_label (FILE *, const char *);
35 extern void mmix_asm_output_labelref (FILE *, const char *);
36 extern void mmix_asm_output_def (FILE *, const char *, const char *);
37 extern void mmix_asm_output_reg_push (FILE *, int);
38 extern void mmix_asm_output_reg_pop (FILE *, int);
39 extern void mmix_asm_output_skip (FILE *, int);
40 extern void mmix_asm_output_align (FILE *, int);
41 extern int64_t mmix_intval (const_rtx);
42 extern int mmix_shiftable_wyde_value (uint64_t);
43 extern void mmix_output_register_setting (FILE *, int, int64_t, int);
44 extern int mmix_opposite_regno (int, int);
45 extern int mmix_local_regno (int);
46 extern unsigned mmix_dbx_register_number (unsigned);
47 extern int mmix_use_simple_return (void);
48 extern void mmix_make_decl_one_only (tree);
49 extern int mmix_data_alignment (tree, int);
50 extern int mmix_constant_alignment (tree, int);
51 extern unsigned mmix_local_alignment (tree, unsigned);
52 extern void mmix_asm_output_pool_prologue (FILE *, const char *, tree, int);
53 extern void mmix_asm_output_aligned_common (FILE *, const char *, int, int);
54 extern void mmix_asm_output_aligned_local (FILE *, const char *, int, int);
55 extern void mmix_asm_declare_register_global
56 (FILE *, tree, int, const char *);
57 extern void mmix_asm_output_addr_diff_elt (FILE *, rtx, int, int);
58 extern void mmix_asm_output_addr_vec_elt (FILE *, int);
59 extern enum reg_class mmix_secondary_reload_class
60 (enum reg_class, machine_mode, rtx, int);
61 extern rtx mmix_dynamic_chain_address (rtx);
62 extern rtx mmix_return_addr_rtx (int, rtx);
63 extern rtx mmix_eh_return_stackadj_rtx (void);
64 extern rtx mmix_eh_return_handler_rtx (void);
65 extern int mmix_constant_address_p (rtx);
66 extern void mmix_expand_prologue (void);
67 extern void mmix_expand_epilogue (void);
68 extern rtx mmix_get_hard_reg_initial_val (machine_mode, int);
69 extern int mmix_asm_preferred_eh_data_format (int, int);
70 extern void mmix_setup_frame_addresses (void);
72 #ifdef RTX_CODE
73 /* Needs to be ifdef:d for sake of enum rtx_code. */
74 extern machine_mode mmix_select_cc_mode (enum rtx_code, rtx, rtx);
75 extern void mmix_canonicalize_comparison (enum rtx_code *, rtx *, rtx *);
76 extern rtx mmix_gen_compare_reg (enum rtx_code, rtx, rtx);
77 #endif
80 * Local variables:
81 * eval: (c-set-style "gnu")
82 * indent-tabs-mode: t
83 * End: