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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [s390/] [s390-protos.h] - Blame information for rev 282

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 282 jeremybenn
/* Definitions of target machine for GNU compiler, for IBM S/390.
2
   Copyright (C) 2000, 2002, 2003, 2004, 2005, 2007, 2008, 2009
3
   Free Software Foundation, Inc.
4
 
5
   Contributed by Hartmut Penner (hpenner@de.ibm.com)
6
 
7
This file is part of GCC.
8
 
9
GCC is free software; you can redistribute it and/or modify it under
10
the terms of the GNU General Public License as published by the Free
11
Software Foundation; either version 3, or (at your option) any later
12
version.
13
 
14
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
15
WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
17
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
 
25
/* Prototypes of functions used for constraint evaluation in
26
   constraints.c.  */
27
 
28
extern int s390_mem_constraint (const char *str, rtx op);
29
extern int s390_O_constraint_str (const char c, HOST_WIDE_INT value);
30
extern int s390_N_constraint_str (const char *str, HOST_WIDE_INT value);
31
extern int s390_float_const_zero_p (rtx value);
32
extern bool s390_check_symref_alignment (rtx addr, HOST_WIDE_INT alignment);
33
 
34
 
35
/* Declare functions in s390.c.  */
36
 
37
extern void optimization_options (int, int);
38
extern void override_options (void);
39
extern HOST_WIDE_INT s390_initial_elimination_offset (int, int);
40
extern void s390_emit_prologue (void);
41
extern void s390_emit_epilogue (bool);
42
extern void s390_function_profiler (FILE *, int);
43
extern void s390_conditional_register_usage (void);
44
extern void s390_set_has_landing_pad_p (bool);
45
extern bool s390_hard_regno_mode_ok (unsigned int, enum machine_mode);
46
extern bool s390_hard_regno_rename_ok (unsigned int, unsigned int);
47
extern bool s390_class_max_nregs (enum reg_class, enum machine_mode);
48
 
49
#ifdef RTX_CODE
50
extern int s390_extra_constraint_str (rtx, int, const char *);
51
extern int s390_const_ok_for_constraint_p (HOST_WIDE_INT, int, const char *);
52
extern int s390_const_double_ok_for_constraint_p (rtx, int, const char *);
53
extern int s390_single_part (rtx, enum machine_mode, enum machine_mode, int);
54
extern unsigned HOST_WIDE_INT s390_extract_part (rtx, enum machine_mode, int);
55
extern bool s390_contiguous_bitmask_p (unsigned HOST_WIDE_INT, int, int *, int *);
56
extern bool s390_split_ok_p (rtx, rtx, enum machine_mode, int);
57
extern bool s390_overlap_p (rtx, rtx, HOST_WIDE_INT);
58
extern bool s390_offset_p (rtx, rtx, rtx);
59
extern int tls_symbolic_operand (rtx);
60
 
61
extern bool s390_match_ccmode (rtx, enum machine_mode);
62
extern enum machine_mode s390_tm_ccmode (rtx, rtx, bool);
63
extern enum machine_mode s390_select_ccmode (enum rtx_code, rtx, rtx);
64
extern void s390_canonicalize_comparison (enum rtx_code *, rtx *, rtx *);
65
extern rtx s390_emit_compare (enum rtx_code, rtx, rtx);
66
extern void s390_emit_jump (rtx, rtx);
67
extern bool symbolic_reference_mentioned_p (rtx);
68
extern bool tls_symbolic_reference_mentioned_p (rtx);
69
extern bool legitimate_la_operand_p (rtx);
70
extern bool preferred_la_operand_p (rtx, rtx);
71
extern int legitimate_pic_operand_p (rtx);
72
extern int legitimate_constant_p (rtx);
73
extern bool legitimate_reload_constant_p (rtx);
74
extern rtx legitimize_pic_address (rtx, rtx);
75
extern rtx legitimize_reload_address (rtx, enum machine_mode, int, int);
76
extern enum reg_class s390_preferred_reload_class (rtx, enum reg_class);
77
extern enum reg_class s390_secondary_input_reload_class (enum reg_class,
78
                                                         enum machine_mode,
79
                                                         rtx);
80
extern enum reg_class s390_secondary_output_reload_class (enum reg_class,
81
                                                          enum machine_mode,
82
                                                          rtx);
83
extern void s390_reload_larl_operand (rtx , rtx , rtx);
84
extern void s390_reload_symref_address (rtx , rtx , rtx , bool);
85
extern void s390_expand_plus_operand (rtx, rtx, rtx);
86
extern void emit_symbolic_move (rtx *);
87
extern void s390_load_address (rtx, rtx);
88
extern void s390_expand_movmem (rtx, rtx, rtx);
89
extern void s390_expand_setmem (rtx, rtx, rtx);
90
extern void s390_expand_cmpmem (rtx, rtx, rtx, rtx);
91
extern bool s390_expand_addcc (enum rtx_code, rtx, rtx, rtx, rtx, rtx);
92
extern bool s390_expand_insv (rtx, rtx, rtx, rtx);
93
extern void s390_expand_cs_hqi (enum machine_mode, rtx, rtx, rtx, rtx);
94
extern void s390_expand_atomic (enum machine_mode, enum rtx_code,
95
                                rtx, rtx, rtx, bool);
96
extern rtx s390_return_addr_rtx (int, rtx);
97
extern rtx s390_back_chain_rtx (void);
98
extern rtx s390_emit_call (rtx, rtx, rtx, rtx);
99
extern void s390_expand_logical_operator (enum rtx_code,
100
                                          enum machine_mode, rtx *);
101
extern bool s390_logical_operator_ok_p (rtx *);
102
extern void s390_narrow_logical_operator (enum rtx_code, rtx *, rtx *);
103
extern void s390_split_access_reg (rtx, rtx *, rtx *);
104
 
105
extern bool s390_output_addr_const_extra (FILE*, rtx);
106
extern void print_operand_address (FILE *, rtx);
107
extern void print_operand (FILE *, rtx, int);
108
extern void s390_output_pool_entry (rtx, enum machine_mode, unsigned int);
109
extern int s390_agen_dep_p (rtx, rtx);
110
extern rtx s390_load_got (void);
111
extern rtx s390_get_thread_pointer (void);
112
extern void s390_emit_tpf_eh_return (rtx);
113
extern bool s390_legitimate_address_without_index_p (rtx);
114
extern bool s390_decompose_shift_count (rtx, rtx *, HOST_WIDE_INT *);
115
extern int s390_branch_condition_mask (rtx);
116
extern int s390_compare_and_branch_condition_mask (rtx);
117
 
118
#endif /* RTX_CODE */
119
 
120
#ifdef TREE_CODE
121
extern void s390_function_arg_advance (CUMULATIVE_ARGS *, enum machine_mode,
122
                                       tree, int);
123
#ifdef RTX_CODE
124
extern rtx s390_function_arg (CUMULATIVE_ARGS *, enum machine_mode, tree, int);
125
extern rtx s390_function_value (const_tree, const_tree, enum machine_mode);
126
#endif /* RTX_CODE */
127
#endif /* TREE_CODE */

powered by: WebSVN 2.1.0

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