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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [config/] [mep/] [mep-protos.h] - Blame information for rev 729

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

Line No. Rev Author Line
1 709 jeremybenn
/* Prototypes for exported functions defined in mep.c
2
   Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2010 Free
3
   Software Foundation, Inc.
4
   Contributed by Red Hat Inc (dj@redhat.com)
5
 
6
This file is part of GCC.
7
 
8
GCC is free software; you can redistribute it and/or modify it under
9
the terms of the GNU General Public License as published by the Free
10
Software Foundation; either version 3, or (at your option) any later
11
version.
12
 
13
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14
WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
16
for more details.
17
 
18
You should have received a copy of the GNU General Public License
19
along with GCC; see the file COPYING3.  If not see
20
<http://www.gnu.org/licenses/>.  */
21
 
22
extern int mep_regno_reg_class (int);
23
extern int mep_reg_class_from_constraint (int, const char *);
24
extern bool mep_const_ok_for_letter_p (HOST_WIDE_INT, int);
25
extern bool mep_extra_constraint (rtx, int);
26
extern rtx mep_mulr_source (rtx, rtx, rtx, rtx);
27
extern bool mep_reuse_lo_p (rtx, rtx, rtx, bool);
28
extern bool mep_use_post_modify_p (rtx, rtx, rtx);
29
extern bool mep_allow_clip (rtx, rtx, int);
30
extern bool mep_bit_position_p (rtx, bool);
31
extern bool mep_split_mov (rtx *, int);
32
extern bool mep_vliw_mode_match (rtx);
33
extern bool mep_vliw_jmp_match (rtx);
34
extern bool mep_multi_slot (rtx);
35
extern bool mep_legitimate_address (enum machine_mode, rtx, int);
36
extern int mep_legitimize_address (rtx *, rtx, enum machine_mode);
37
extern int mep_legitimize_reload_address (rtx *, enum machine_mode, int, /*enum reload_type*/ int, int);
38
extern int mep_core_address_length (rtx, int);
39
extern int mep_cop_address_length (rtx, int);
40
extern bool mep_expand_mov (rtx *, enum machine_mode);
41
extern bool mep_mov_ok (rtx *, enum machine_mode);
42
extern void mep_split_wide_move (rtx *, enum machine_mode);
43
#ifdef RTX_CODE
44
extern bool mep_expand_setcc (rtx *);
45
extern rtx mep_expand_cbranch (rtx *);
46
#endif
47
extern const char *mep_emit_cbranch (rtx *, int);
48
extern void mep_expand_call (rtx *, int);
49
extern rtx mep_find_base_term (rtx);
50
extern enum reg_class mep_secondary_input_reload_class (enum reg_class, enum machine_mode, rtx);
51
extern enum reg_class mep_secondary_output_reload_class (enum reg_class, enum machine_mode, rtx);
52
extern bool mep_secondary_memory_needed (enum reg_class, enum reg_class,
53
                                         enum machine_mode);
54
extern void mep_expand_reload (rtx *, enum machine_mode);
55
extern enum reg_class mep_preferred_reload_class (rtx, enum reg_class);
56
extern int mep_register_move_cost (enum machine_mode, enum reg_class, enum reg_class);
57
extern void mep_init_expanders (void);
58
extern rtx mep_return_addr_rtx (int);
59
extern bool mep_epilogue_uses (int);
60
extern int mep_elimination_offset (int, int);
61
extern void mep_expand_prologue (void);
62
extern void mep_expand_epilogue (void);
63
extern void mep_expand_eh_return (rtx *);
64
extern void mep_emit_eh_epilogue (rtx *);
65
extern void mep_expand_sibcall_epilogue (void);
66
extern rtx mep_return_stackadj_rtx (void);
67
extern rtx mep_return_handler_rtx (void);
68
extern void mep_function_profiler (FILE *);
69
extern const char *mep_emit_bb_trace_ret (void);
70
extern void mep_print_operand_address (FILE *, rtx);
71
extern void mep_print_operand (FILE *, rtx, int);
72
extern void mep_final_prescan_insn (rtx, rtx *, int);
73
extern void mep_init_cumulative_args (CUMULATIVE_ARGS *, tree, rtx, tree);
74
extern bool mep_return_in_memory (const_tree, const_tree);
75
extern rtx mep_function_value (const_tree, const_tree);
76
extern rtx mep_libcall_value (enum machine_mode);
77
extern void mep_asm_output_opcode (FILE *, const char *);
78
extern void mep_note_pragma_disinterrupt (const char *);
79
extern void mep_note_pragma_call (const char *);
80
extern void mep_file_cleanups (void);
81
extern const char *mep_strip_name_encoding (const char *);
82
extern void mep_output_aligned_common (FILE *, tree, const char *,
83
                                       int, int, int);
84
extern void mep_emit_doloop (rtx *, int);
85
extern bool mep_vliw_function_p (tree);
86
extern bool mep_store_data_bypass_p (rtx, rtx);
87
extern bool mep_mul_hilo_bypass_p (rtx, rtx);
88
extern bool mep_ipipe_ldc_p (rtx);
89
extern bool mep_emit_intrinsic (int, const rtx *);
90
extern bool mep_expand_unary_intrinsic (int, rtx *);
91
extern bool mep_expand_binary_intrinsic (int, int, int, int, rtx *);
92
extern int mep_intrinsic_length (int);
93
 
94
extern void mep_register_pragmas (void);
95
extern int mep_section_tag (rtx);
96
extern bool mep_lookup_pragma_call (const char *);
97
extern bool mep_have_core_copro_moves_p;
98
extern bool mep_have_copro_copro_moves_p;
99
 
100
extern bool mep_cannot_change_mode_class (enum machine_mode, enum machine_mode,
101
                                          enum reg_class);
102
 
103
/* These are called from mep-pragmas (front end) and then call into
104
   the RTL layer to re-initialize the register tables once we're done
105
   changing them via pragmas.  */
106
extern void mep_save_register_info (void);
107
extern void mep_reinit_regs (void);
108
extern void mep_init_regs (void);
109
 
110
 
111
extern int cgen_h_uint_6a1_immediate (rtx, enum machine_mode);
112
extern int cgen_h_uint_7a1_immediate (rtx, enum machine_mode);
113
extern int cgen_h_uint_8a1_immediate (rtx, enum machine_mode);
114
extern int cgen_h_uint_6a2_immediate (rtx, enum machine_mode);
115
extern int cgen_h_uint_22a4_immediate (rtx, enum machine_mode);
116
extern int cgen_h_sint_2a1_immediate (rtx, enum machine_mode);
117
extern int cgen_h_uint_24a1_immediate (rtx, enum machine_mode);
118
extern int cgen_h_sint_6a1_immediate (rtx, enum machine_mode);
119
extern int cgen_h_uint_5a4_immediate (rtx, enum machine_mode);
120
extern int cgen_h_uint_2a1_immediate (rtx, enum machine_mode);
121
extern int cgen_h_uint_16a1_immediate (rtx, enum machine_mode);
122
extern int cgen_h_uint_3a1_immediate (rtx, enum machine_mode);
123
extern int cgen_h_uint_5a1_immediate (rtx, enum machine_mode);
124
extern int cgen_h_sint_16a1_immediate (rtx, enum machine_mode);
125
extern int cgen_h_sint_8a1_immediate (rtx, enum machine_mode);
126
extern int cgen_h_sint_7a2_immediate (rtx, enum machine_mode);
127
extern int cgen_h_sint_6a4_immediate (rtx, enum machine_mode);
128
extern int cgen_h_sint_5a8_immediate (rtx, enum machine_mode);
129
extern int cgen_h_uint_4a1_immediate (rtx, enum machine_mode);
130
extern int cgen_h_sint_10a1_immediate (rtx, enum machine_mode);
131
extern int cgen_h_sint_12a1_immediate (rtx, enum machine_mode);
132
extern int cgen_h_uint_20a1_immediate (rtx, enum machine_mode);

powered by: WebSVN 2.1.0

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