OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [avr/] [avr-protos.h] - Blame information for rev 294

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Prototypes for exported functions defined in avr.c
2
 
3
   Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006, 2007
4
   Free Software Foundation, Inc.
5
   Contributed by Denis Chertykov (denisc@overta.ru)
6
 
7
   This file is part of GCC.
8
 
9
   GCC is free software; you can redistribute it and/or modify
10
   it under the terms of the GNU General Public License as published by
11
   the Free Software Foundation; either version 3, or (at your option)
12
   any later version.
13
 
14
   GCC is distributed in the hope that it will be useful,
15
   but WITHOUT ANY WARRANTY; without even the implied warranty of
16
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
   GNU General Public License for more details.
18
 
19
   You should have received a copy of the GNU General Public License
20
   along with GCC; see the file COPYING3.  If not see
21
   <http://www.gnu.org/licenses/>.  */
22
 
23
 
24
extern int function_arg_regno_p (int r);
25
extern void avr_init_once (void);
26
extern void avr_override_options (void);
27
extern void avr_optimization_options (int level, int size);
28
extern char *avr_change_section (char *sect_name);
29
extern int avr_ret_register (void);
30
extern enum reg_class class_likely_spilled_p (int c);
31
extern enum reg_class avr_regno_reg_class (int r);
32
extern enum reg_class avr_reg_class_from_letter (int c);
33
extern int frame_pointer_required_p (void);
34
extern void asm_globalize_label (FILE *file, const char *name);
35
extern void order_regs_for_local_alloc (void);
36
extern int initial_elimination_offset (int from, int to);
37
extern int avr_simple_epilogue (void);
38
extern int mask_one_bit_p (HOST_WIDE_INT mask);
39
extern void gas_output_limited_string (FILE *file, const char *str);
40
extern void gas_output_ascii (FILE *file, const char *str, size_t length);
41
 
42
#ifdef TREE_CODE
43
extern void asm_output_external (FILE *file, tree decl, char *name);
44
extern int avr_progmem_p (tree decl, tree attributes);
45
 
46
#ifdef RTX_CODE /* inside TREE_CODE */
47
extern rtx avr_function_value (tree type, tree func);
48
extern void init_cumulative_args (CUMULATIVE_ARGS *cum, tree fntype,
49
                                  rtx libname, tree fndecl);
50
extern rtx function_arg (CUMULATIVE_ARGS *cum, enum machine_mode mode,
51
                         tree type, int named);
52
#endif /* RTX_CODE inside TREE_CODE */
53
 
54
#ifdef HAVE_MACHINE_MODES /* inside TREE_CODE */
55
extern void function_arg_advance (CUMULATIVE_ARGS *cum,
56
                                  enum machine_mode mode, tree type,
57
                                  int named);
58
#endif /* HAVE_MACHINE_MODES inside TREE_CODE*/
59
#endif /* TREE_CODE */
60
 
61
#ifdef RTX_CODE
62
extern void asm_output_external_libcall (FILE *file, rtx symref);
63
extern int legitimate_address_p (enum machine_mode mode, rtx x, int strict);
64
extern int compare_diff_p (rtx insn);
65
extern const char *output_movqi (rtx insn, rtx operands[], int *l);
66
extern const char *output_movhi (rtx insn, rtx operands[], int *l);
67
extern const char *out_movqi_r_mr (rtx insn, rtx op[], int *l);
68
extern const char *out_movqi_mr_r (rtx insn, rtx op[], int *l);
69
extern const char *out_movhi_r_mr (rtx insn, rtx op[], int *l);
70
extern const char *out_movhi_mr_r (rtx insn, rtx op[], int *l);
71
extern const char *out_movsi_r_mr (rtx insn, rtx op[], int *l);
72
extern const char *out_movsi_mr_r (rtx insn, rtx op[], int *l);
73
extern const char *output_movsisf (rtx insn, rtx operands[], int *l);
74
extern const char *out_tstsi (rtx insn, int *l);
75
extern const char *out_tsthi (rtx insn, int *l);
76
extern const char *ret_cond_branch (rtx x, int len, int reverse);
77
 
78
extern const char *ashlqi3_out (rtx insn, rtx operands[], int *len);
79
extern const char *ashlhi3_out (rtx insn, rtx operands[], int *len);
80
extern const char *ashlsi3_out (rtx insn, rtx operands[], int *len);
81
 
82
extern const char *ashrqi3_out (rtx insn, rtx operands[], int *len);
83
extern const char *ashrhi3_out (rtx insn, rtx operands[], int *len);
84
extern const char *ashrsi3_out (rtx insn, rtx operands[], int *len);
85
 
86
extern const char *lshrqi3_out (rtx insn, rtx operands[], int *len);
87
extern const char *lshrhi3_out (rtx insn, rtx operands[], int *len);
88
extern const char *lshrsi3_out (rtx insn, rtx operands[], int *len);
89
 
90
extern void avr_output_bld (rtx operands[], int bit_nr);
91
extern void avr_output_addr_vec_elt (FILE *stream, int value);
92
extern const char *avr_out_sbxx_branch (rtx insn, rtx operands[]);
93
 
94
extern enum reg_class preferred_reload_class (rtx x, enum reg_class class);
95
extern int extra_constraint_Q (rtx x);
96
extern rtx legitimize_address (rtx x, rtx oldx, enum machine_mode mode);
97
extern int adjust_insn_length (rtx insn, int len);
98
extern rtx avr_libcall_value (enum machine_mode mode);
99
extern const char *output_reload_inhi (rtx insn, rtx *operands, int *len);
100
extern const char *output_reload_insisf (rtx insn, rtx *operands, int *len);
101
extern enum reg_class secondary_input_reload_class (enum reg_class,
102
                                                    enum machine_mode,
103
                                                    rtx);
104
extern void notice_update_cc (rtx body, rtx insn);
105
extern void print_operand (FILE *file, rtx x, int code);
106
extern void print_operand_address (FILE *file, rtx addr);
107
extern int reg_unused_after (rtx insn, rtx reg);
108
extern int _reg_unused_after (rtx insn, rtx reg);
109
extern int avr_jump_mode (rtx x, rtx insn);
110
extern int byte_immediate_operand (rtx op, enum machine_mode mode);
111
extern int test_hard_reg_class (enum reg_class class, rtx x);
112
extern int jump_over_one_insn_p (rtx insn, rtx dest);
113
 
114
extern int avr_hard_regno_mode_ok (int regno, enum machine_mode mode);
115
extern int call_insn_operand (rtx op, enum machine_mode mode);
116
extern void final_prescan_insn (rtx insn, rtx *operand, int num_operands);
117
extern int avr_simplify_comparison_p (enum machine_mode mode,
118
                                      RTX_CODE operator, rtx x);
119
extern RTX_CODE avr_normalize_condition (RTX_CODE condition);
120
extern int compare_eq_p (rtx insn);
121
extern void out_shift_with_cnt (const char *template, rtx insn,
122
                                rtx operands[], int *len, int t_len);
123
extern int avr_io_address_p (rtx x, int size);
124
extern int const_int_pow2_p (rtx x);
125
extern int avr_peep2_scratch_safe (rtx reg_rtx);
126
#endif /* RTX_CODE */
127
 
128
#ifdef HAVE_MACHINE_MODES
129
extern int class_max_nregs (enum reg_class class, enum machine_mode mode);
130
#endif /* HAVE_MACHINE_MODES */
131
 
132
#ifdef REAL_VALUE_TYPE
133
extern void asm_output_float (FILE *file, REAL_VALUE_TYPE n);
134
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.