1 /* Prototypes for exported functions defined in mcore.c
2 Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
3 Contributed by Nick Clifton (nickc@redhat.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 2, or (at your option)
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 COPYING. If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, MA 02111-1307, USA. */
22 extern const char * mcore_output_jump_label_table (void);
23 extern void mcore_expand_prolog (void);
24 extern void mcore_expand_epilog (void);
25 extern int mcore_const_ok_for_inline (long);
26 extern int mcore_num_ones (int);
27 extern int mcore_num_zeros (int);
28 extern int mcore_initial_elimination_offset (int, int);
29 extern int mcore_byte_offset (unsigned int);
30 extern int mcore_halfword_offset (unsigned int);
31 extern int mcore_const_trick_uses_not (long);
32 extern void mcore_override_options (void);
33 extern int mcore_dllexport_name_p (const char *);
34 extern int mcore_dllimport_name_p (const char *);
35 extern int mcore_naked_function_p (void);
38 #ifdef HAVE_MACHINE_MODES
39 extern int mcore_function_arg_partial_nregs (CUMULATIVE_ARGS
, enum machine_mode
, tree
, int);
40 extern void mcore_setup_incoming_varargs (CUMULATIVE_ARGS
, enum machine_mode
, tree
, int *);
41 extern int mcore_num_arg_regs (enum machine_mode
, tree
);
42 extern int mcore_must_pass_on_stack (enum machine_mode
, tree
);
43 #endif /* HAVE_MACHINE_MODES */
46 extern rtx
mcore_function_value (tree
, tree
);
48 #endif /* TREE_CODE */
52 extern GTY(()) rtx arch_compare_op0
;
53 extern GTY(()) rtx arch_compare_op1
;
55 extern const char * mcore_output_bclri (rtx
, int);
56 extern const char * mcore_output_bseti (rtx
, int);
57 extern const char * mcore_output_cmov (rtx
*, int, const char *);
58 extern char * mcore_output_call (rtx
*, int);
59 extern int mcore_is_dead (rtx
, rtx
);
60 extern int mcore_expand_insv (rtx
*);
61 extern int mcore_modify_comparison (RTX_CODE
);
62 extern void mcore_expand_block_move (rtx
, rtx
, rtx
*);
63 extern const char * mcore_output_andn (rtx
, rtx
*);
64 extern void mcore_print_operand_address (FILE *, rtx
);
65 extern void mcore_print_operand (FILE *, rtx
, int);
66 extern rtx
mcore_gen_compare_reg (RTX_CODE
);
67 extern int mcore_symbolic_address_p (rtx
);
68 extern bool mcore_r15_operand_p (rtx
);
69 extern enum reg_class
mcore_secondary_reload_class (enum reg_class
, enum machine_mode
, rtx
);
70 extern enum reg_class
mcore_reload_class (rtx
, enum reg_class
);
71 extern int mcore_is_same_reg (rtx
, rtx
);
72 extern int mcore_arith_S_operand (rtx
);
74 #ifdef HAVE_MACHINE_MODES
75 extern const char * mcore_output_move (rtx
, rtx
*, enum machine_mode
);
76 extern const char * mcore_output_movedouble (rtx
*, enum machine_mode
);
77 extern int mcore_arith_reg_operand (rtx
, enum machine_mode
);
78 extern int mcore_general_movsrc_operand (rtx
, enum machine_mode
);
79 extern int mcore_general_movdst_operand (rtx
, enum machine_mode
);
80 extern int mcore_reload_operand (rtx
, enum machine_mode
);
81 extern int mcore_arith_J_operand (rtx
, enum machine_mode
);
82 extern int mcore_arith_K_operand (rtx
, enum machine_mode
);
83 extern int mcore_arith_K_operand_not_0 (rtx
, enum machine_mode
);
84 extern int mcore_arith_M_operand (rtx
, enum machine_mode
);
85 extern int mcore_arith_K_S_operand (rtx
, enum machine_mode
);
86 extern int mcore_arith_imm_operand (rtx
, enum machine_mode
);
87 extern int mcore_arith_any_imm_operand (rtx
, enum machine_mode
);
88 extern int mcore_arith_O_operand (rtx
, enum machine_mode
);
89 extern int mcore_literal_K_operand (rtx
, enum machine_mode
);
90 extern int mcore_addsub_operand (rtx
, enum machine_mode
);
91 extern int mcore_compare_operand (rtx
, enum machine_mode
);
92 extern int mcore_load_multiple_operation (rtx
, enum machine_mode
);
93 extern int mcore_store_multiple_operation (rtx
, enum machine_mode
);
94 extern int mcore_call_address_operand (rtx
, enum machine_mode
);
97 extern rtx
mcore_function_arg (CUMULATIVE_ARGS
, enum machine_mode
, tree
, int);
98 #endif /* TREE_CODE */
99 #endif /* HAVE_MACHINE_MODES */
100 #endif /* RTX_CODE */