1 |
12 |
jlechner |
/* Prototypes for exported functions defined in scarts32.c
|
2 |
|
|
Copyright (C) 2000, 2001, 2002, 2004, 2005 Free Software Foundation, Inc.
|
3 |
|
|
Contributed by Wolfgang Puffitsch <hausen@gmx.at>
|
4 |
|
|
|
5 |
|
|
This file is part of the SCARTS32 port of GCC
|
6 |
|
|
|
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)
|
10 |
|
|
any later version.
|
11 |
|
|
|
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.
|
16 |
|
|
|
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. */
|
21 |
|
|
|
22 |
|
|
|
23 |
|
|
extern int function_arg_regno_p (int r);
|
24 |
|
|
extern void scarts32_override_options (void);
|
25 |
|
|
extern void scarts32_optimization_options (int level, int size);
|
26 |
|
|
extern enum reg_class scarts32_regno_reg_class (int r);
|
27 |
|
|
extern enum reg_class scarts32_reg_class_from_letter (int c);
|
28 |
|
|
extern int scarts32_const_ok_for_letter (HOST_WIDE_INT value, char c);
|
29 |
|
|
extern int frame_pointer_required_p (void);
|
30 |
|
|
extern int scarts32_simple_epilogue (void);
|
31 |
|
|
extern void scarts32_output_ascii (FILE *, const char *, size_t);
|
32 |
|
|
extern void scarts32_output_aligned_common (FILE *, const char *, int, int);
|
33 |
|
|
extern void scarts32_output_aligned_local (FILE *, const char *, int, int);
|
34 |
|
|
extern void rodata_section (void);
|
35 |
|
|
|
36 |
|
|
#ifdef TREE_CODE
|
37 |
|
|
extern int scarts32_progmem_p (tree decl);
|
38 |
|
|
extern void scarts32_output_aligned_bss (FILE *, tree, const char *, int, int);
|
39 |
|
|
|
40 |
|
|
#ifdef RTX_CODE /* inside TREE_CODE */
|
41 |
|
|
extern rtx scarts32_function_value (tree type, tree func);
|
42 |
|
|
extern void init_cumulative_args (CUMULATIVE_ARGS *cum, tree fntype, rtx libname, tree indirect);
|
43 |
|
|
extern rtx function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode, tree type, int named);
|
44 |
|
|
|
45 |
|
|
|
46 |
|
|
#endif /* RTX_CODE inside TREE_CODE */
|
47 |
|
|
|
48 |
|
|
#ifdef HAVE_MACHINE_MODES /* inside TREE_CODE */
|
49 |
|
|
extern void function_arg_advance (CUMULATIVE_ARGS *cum, enum machine_mode mode, tree type, int named);
|
50 |
|
|
#endif /* HAVE_MACHINE_MODES inside TREE_CODE*/
|
51 |
|
|
#endif /* TREE_CODE */
|
52 |
|
|
|
53 |
|
|
#ifdef RTX_CODE
|
54 |
|
|
extern int legitimate_address_p (enum machine_mode mode, rtx x, int strict);
|
55 |
|
|
|
56 |
|
|
extern const char * scarts32_out_movqi (rtx insn, rtx operands[], int alternative);
|
57 |
|
|
extern const char * scarts32_out_movhi (rtx insn, rtx operands[], int alternative);
|
58 |
|
|
extern const char * scarts32_out_movsi (rtx insn, rtx operands[], int alternative);
|
59 |
|
|
extern const char * scarts32_out_movdi (rtx insn, rtx operands[], int alternative);
|
60 |
|
|
|
61 |
|
|
extern const char * scarts32_out_addsi (rtx insn, rtx operands[], int alternative);
|
62 |
|
|
|
63 |
|
|
extern const char * scarts32_out_compare (rtx insn, rtx operands[]);
|
64 |
|
|
extern const char * scarts32_out_bittest (rtx insn, rtx operands[]);
|
65 |
|
|
extern const char * scarts32_out_branch (rtx insn, rtx operands[], enum rtx_code code);
|
66 |
|
|
extern const char * scarts32_out_jump (rtx insn, rtx operands[]);
|
67 |
|
|
|
68 |
|
|
extern int extra_constraint (rtx x, int c);
|
69 |
|
|
extern rtx legitimize_address (rtx x, rtx oldx, enum machine_mode mode);
|
70 |
|
|
extern int adjust_insn_length (rtx insn, int len);
|
71 |
|
|
extern rtx scarts32_libcall_value (enum machine_mode mode);
|
72 |
|
|
extern rtx scarts32_return_addr (int, rtx);
|
73 |
|
|
extern int initial_elimination_offset (int, int);
|
74 |
|
|
|
75 |
|
|
extern void print_operand (FILE *file, rtx x, int code);
|
76 |
|
|
extern int scarts32_jump_mode (rtx x, rtx insn);
|
77 |
|
|
extern int test_hard_reg_class (enum reg_class class, rtx x);
|
78 |
|
|
|
79 |
|
|
extern int call_insn_operand (rtx op, enum machine_mode mode);
|
80 |
|
|
extern void final_prescan_insn (rtx insn, rtx *operand, int num_operands);
|
81 |
|
|
|
82 |
|
|
#endif /* RTX_CODE */
|