annotate gcc/emit-rtl.h @ 128:fe568345ddd5

fix CbC-example
author mir3636
date Wed, 11 Apr 2018 19:32:28 +0900
parents 04ced10e8804
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* Exported functions from emit-rtl.c
111
kono
parents: 67
diff changeset
2 Copyright (C) 2004-2017 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 This file is part of GCC.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 GCC is free software; you can redistribute it and/or modify it under
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 the terms of the GNU General Public License as published by the Free
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 Software Foundation; either version 3, or (at your option) any later
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 version.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 for more details.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 along with GCC; see the file COPYING3. If not see
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 <http://www.gnu.org/licenses/>. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 #ifndef GCC_EMIT_RTL_H
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 #define GCC_EMIT_RTL_H
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22
111
kono
parents: 67
diff changeset
23 struct temp_slot;
kono
parents: 67
diff changeset
24 typedef struct temp_slot *temp_slot_p;
kono
parents: 67
diff changeset
25
kono
parents: 67
diff changeset
26 /* Information mainlined about RTL representation of incoming arguments. */
kono
parents: 67
diff changeset
27 struct GTY(()) incoming_args {
kono
parents: 67
diff changeset
28 /* Number of bytes of args popped by function being compiled on its return.
kono
parents: 67
diff changeset
29 Zero if no bytes are to be popped.
kono
parents: 67
diff changeset
30 May affect compilation of return insn or of function epilogue. */
kono
parents: 67
diff changeset
31 int pops_args;
kono
parents: 67
diff changeset
32
kono
parents: 67
diff changeset
33 /* If function's args have a fixed size, this is that size, in bytes.
kono
parents: 67
diff changeset
34 Otherwise, it is -1.
kono
parents: 67
diff changeset
35 May affect compilation of return insn or of function epilogue. */
kono
parents: 67
diff changeset
36 int size;
kono
parents: 67
diff changeset
37
kono
parents: 67
diff changeset
38 /* # bytes the prologue should push and pretend that the caller pushed them.
kono
parents: 67
diff changeset
39 The prologue must do this, but only if parms can be passed in
kono
parents: 67
diff changeset
40 registers. */
kono
parents: 67
diff changeset
41 int pretend_args_size;
kono
parents: 67
diff changeset
42
kono
parents: 67
diff changeset
43 /* This is the offset from the arg pointer to the place where the first
kono
parents: 67
diff changeset
44 anonymous arg can be found, if there is one. */
kono
parents: 67
diff changeset
45 rtx arg_offset_rtx;
kono
parents: 67
diff changeset
46
kono
parents: 67
diff changeset
47 /* Quantities of various kinds of registers
kono
parents: 67
diff changeset
48 used for the current function's args. */
kono
parents: 67
diff changeset
49 CUMULATIVE_ARGS info;
kono
parents: 67
diff changeset
50
kono
parents: 67
diff changeset
51 /* The arg pointer hard register, or the pseudo into which it was copied. */
kono
parents: 67
diff changeset
52 rtx internal_arg_pointer;
kono
parents: 67
diff changeset
53 };
kono
parents: 67
diff changeset
54
kono
parents: 67
diff changeset
55
kono
parents: 67
diff changeset
56 /* Datastructures maintained for currently processed function in RTL form. */
kono
parents: 67
diff changeset
57 struct GTY(()) rtl_data {
kono
parents: 67
diff changeset
58 void init_stack_alignment ();
kono
parents: 67
diff changeset
59
kono
parents: 67
diff changeset
60 struct expr_status expr;
kono
parents: 67
diff changeset
61 struct emit_status emit;
kono
parents: 67
diff changeset
62 struct varasm_status varasm;
kono
parents: 67
diff changeset
63 struct incoming_args args;
kono
parents: 67
diff changeset
64 struct function_subsections subsections;
kono
parents: 67
diff changeset
65 struct rtl_eh eh;
kono
parents: 67
diff changeset
66
kono
parents: 67
diff changeset
67 /* For function.c */
kono
parents: 67
diff changeset
68
kono
parents: 67
diff changeset
69 /* # of bytes of outgoing arguments. If ACCUMULATE_OUTGOING_ARGS is
kono
parents: 67
diff changeset
70 defined, the needed space is pushed by the prologue. */
kono
parents: 67
diff changeset
71 int outgoing_args_size;
kono
parents: 67
diff changeset
72
kono
parents: 67
diff changeset
73 /* If nonzero, an RTL expression for the location at which the current
kono
parents: 67
diff changeset
74 function returns its result. If the current function returns its
kono
parents: 67
diff changeset
75 result in a register, current_function_return_rtx will always be
kono
parents: 67
diff changeset
76 the hard register containing the result. */
kono
parents: 67
diff changeset
77 rtx return_rtx;
kono
parents: 67
diff changeset
78 /* If nonxero, an RTL expression for the lcoation at which the current
kono
parents: 67
diff changeset
79 function returns bounds for its result. */
kono
parents: 67
diff changeset
80 rtx return_bnd;
kono
parents: 67
diff changeset
81
kono
parents: 67
diff changeset
82 /* Vector of initial-value pairs. Each pair consists of a pseudo
kono
parents: 67
diff changeset
83 register of approprite mode that stores the initial value a hard
kono
parents: 67
diff changeset
84 register REGNO, and that hard register itself. */
kono
parents: 67
diff changeset
85 /* ??? This could be a VEC but there is currently no way to define an
kono
parents: 67
diff changeset
86 opaque VEC type. */
kono
parents: 67
diff changeset
87 struct initial_value_struct *hard_reg_initial_vals;
kono
parents: 67
diff changeset
88
kono
parents: 67
diff changeset
89 /* A variable living at the top of the frame that holds a known value.
kono
parents: 67
diff changeset
90 Used for detecting stack clobbers. */
kono
parents: 67
diff changeset
91 tree stack_protect_guard;
kono
parents: 67
diff changeset
92
kono
parents: 67
diff changeset
93 /* List (chain of INSN_LIST) of labels heading the current handlers for
kono
parents: 67
diff changeset
94 nonlocal gotos. */
kono
parents: 67
diff changeset
95 rtx_insn_list *x_nonlocal_goto_handler_labels;
kono
parents: 67
diff changeset
96
kono
parents: 67
diff changeset
97 /* Label that will go on function epilogue.
kono
parents: 67
diff changeset
98 Jumping to this label serves as a "return" instruction
kono
parents: 67
diff changeset
99 on machines which require execution of the epilogue on all returns. */
kono
parents: 67
diff changeset
100 rtx_code_label *x_return_label;
kono
parents: 67
diff changeset
101
kono
parents: 67
diff changeset
102 /* Label that will go on the end of function epilogue.
kono
parents: 67
diff changeset
103 Jumping to this label serves as a "naked return" instruction
kono
parents: 67
diff changeset
104 on machines which require execution of the epilogue on all returns. */
kono
parents: 67
diff changeset
105 rtx_code_label *x_naked_return_label;
kono
parents: 67
diff changeset
106
kono
parents: 67
diff changeset
107 /* List (chain of EXPR_LISTs) of all stack slots in this function.
kono
parents: 67
diff changeset
108 Made for the sake of unshare_all_rtl. */
kono
parents: 67
diff changeset
109 vec<rtx, va_gc> *x_stack_slot_list;
kono
parents: 67
diff changeset
110
kono
parents: 67
diff changeset
111 /* List of empty areas in the stack frame. */
kono
parents: 67
diff changeset
112 struct frame_space *frame_space_list;
kono
parents: 67
diff changeset
113
kono
parents: 67
diff changeset
114 /* Place after which to insert the tail_recursion_label if we need one. */
kono
parents: 67
diff changeset
115 rtx_note *x_stack_check_probe_note;
kono
parents: 67
diff changeset
116
kono
parents: 67
diff changeset
117 /* Location at which to save the argument pointer if it will need to be
kono
parents: 67
diff changeset
118 referenced. There are two cases where this is done: if nonlocal gotos
kono
parents: 67
diff changeset
119 exist, or if vars stored at an offset from the argument pointer will be
kono
parents: 67
diff changeset
120 needed by inner routines. */
kono
parents: 67
diff changeset
121 rtx x_arg_pointer_save_area;
kono
parents: 67
diff changeset
122
kono
parents: 67
diff changeset
123 /* Dynamic Realign Argument Pointer used for realigning stack. */
kono
parents: 67
diff changeset
124 rtx drap_reg;
kono
parents: 67
diff changeset
125
kono
parents: 67
diff changeset
126 /* Offset to end of allocated area of stack frame.
kono
parents: 67
diff changeset
127 If stack grows down, this is the address of the last stack slot allocated.
kono
parents: 67
diff changeset
128 If stack grows up, this is the address for the next slot. */
kono
parents: 67
diff changeset
129 HOST_WIDE_INT x_frame_offset;
kono
parents: 67
diff changeset
130
kono
parents: 67
diff changeset
131 /* Insn after which register parms and SAVE_EXPRs are born, if nonopt. */
kono
parents: 67
diff changeset
132 rtx_insn *x_parm_birth_insn;
kono
parents: 67
diff changeset
133
kono
parents: 67
diff changeset
134 /* List of all used temporaries allocated, by level. */
kono
parents: 67
diff changeset
135 vec<temp_slot_p, va_gc> *x_used_temp_slots;
kono
parents: 67
diff changeset
136
kono
parents: 67
diff changeset
137 /* List of available temp slots. */
kono
parents: 67
diff changeset
138 struct temp_slot *x_avail_temp_slots;
kono
parents: 67
diff changeset
139
kono
parents: 67
diff changeset
140 /* Current nesting level for temporaries. */
kono
parents: 67
diff changeset
141 int x_temp_slot_level;
kono
parents: 67
diff changeset
142
kono
parents: 67
diff changeset
143 /* The largest alignment needed on the stack, including requirement
kono
parents: 67
diff changeset
144 for outgoing stack alignment. */
kono
parents: 67
diff changeset
145 unsigned int stack_alignment_needed;
kono
parents: 67
diff changeset
146
kono
parents: 67
diff changeset
147 /* Preferred alignment of the end of stack frame, which is preferred
kono
parents: 67
diff changeset
148 to call other functions. */
kono
parents: 67
diff changeset
149 unsigned int preferred_stack_boundary;
kono
parents: 67
diff changeset
150
kono
parents: 67
diff changeset
151 /* The minimum alignment of parameter stack. */
kono
parents: 67
diff changeset
152 unsigned int parm_stack_boundary;
kono
parents: 67
diff changeset
153
kono
parents: 67
diff changeset
154 /* The largest alignment of slot allocated on the stack. */
kono
parents: 67
diff changeset
155 unsigned int max_used_stack_slot_alignment;
kono
parents: 67
diff changeset
156
kono
parents: 67
diff changeset
157 /* The stack alignment estimated before reload, with consideration of
kono
parents: 67
diff changeset
158 following factors:
kono
parents: 67
diff changeset
159 1. Alignment of local stack variables (max_used_stack_slot_alignment)
kono
parents: 67
diff changeset
160 2. Alignment requirement to call other functions
kono
parents: 67
diff changeset
161 (preferred_stack_boundary)
kono
parents: 67
diff changeset
162 3. Alignment of non-local stack variables but might be spilled in
kono
parents: 67
diff changeset
163 local stack. */
kono
parents: 67
diff changeset
164 unsigned int stack_alignment_estimated;
kono
parents: 67
diff changeset
165
kono
parents: 67
diff changeset
166 /* For reorg. */
kono
parents: 67
diff changeset
167
kono
parents: 67
diff changeset
168 /* Nonzero if function being compiled called builtin_return_addr or
kono
parents: 67
diff changeset
169 builtin_frame_address with nonzero count. */
kono
parents: 67
diff changeset
170 bool accesses_prior_frames;
kono
parents: 67
diff changeset
171
kono
parents: 67
diff changeset
172 /* Nonzero if the function calls __builtin_eh_return. */
kono
parents: 67
diff changeset
173 bool calls_eh_return;
kono
parents: 67
diff changeset
174
kono
parents: 67
diff changeset
175 /* Nonzero if function saves all registers, e.g. if it has a nonlocal
kono
parents: 67
diff changeset
176 label that can reach the exit block via non-exceptional paths. */
kono
parents: 67
diff changeset
177 bool saves_all_registers;
kono
parents: 67
diff changeset
178
kono
parents: 67
diff changeset
179 /* Nonzero if function being compiled has nonlocal gotos to parent
kono
parents: 67
diff changeset
180 function. */
kono
parents: 67
diff changeset
181 bool has_nonlocal_goto;
kono
parents: 67
diff changeset
182
kono
parents: 67
diff changeset
183 /* Nonzero if function being compiled has an asm statement. */
kono
parents: 67
diff changeset
184 bool has_asm_statement;
kono
parents: 67
diff changeset
185
kono
parents: 67
diff changeset
186 /* This bit is used by the exception handling logic. It is set if all
kono
parents: 67
diff changeset
187 calls (if any) are sibling calls. Such functions do not have to
kono
parents: 67
diff changeset
188 have EH tables generated, as they cannot throw. A call to such a
kono
parents: 67
diff changeset
189 function, however, should be treated as throwing if any of its callees
kono
parents: 67
diff changeset
190 can throw. */
kono
parents: 67
diff changeset
191 bool all_throwers_are_sibcalls;
kono
parents: 67
diff changeset
192
kono
parents: 67
diff changeset
193 /* Nonzero if stack limit checking should be enabled in the current
kono
parents: 67
diff changeset
194 function. */
kono
parents: 67
diff changeset
195 bool limit_stack;
kono
parents: 67
diff changeset
196
kono
parents: 67
diff changeset
197 /* Nonzero if profiling code should be generated. */
kono
parents: 67
diff changeset
198 bool profile;
kono
parents: 67
diff changeset
199
kono
parents: 67
diff changeset
200 /* Nonzero if the current function uses the constant pool. */
kono
parents: 67
diff changeset
201 bool uses_const_pool;
kono
parents: 67
diff changeset
202
kono
parents: 67
diff changeset
203 /* Nonzero if the current function uses pic_offset_table_rtx. */
kono
parents: 67
diff changeset
204 bool uses_pic_offset_table;
kono
parents: 67
diff changeset
205
kono
parents: 67
diff changeset
206 /* Nonzero if the current function needs an lsda for exception handling. */
kono
parents: 67
diff changeset
207 bool uses_eh_lsda;
kono
parents: 67
diff changeset
208
kono
parents: 67
diff changeset
209 /* Set when the tail call has been produced. */
kono
parents: 67
diff changeset
210 bool tail_call_emit;
kono
parents: 67
diff changeset
211
kono
parents: 67
diff changeset
212 /* Nonzero if code to initialize arg_pointer_save_area has been emitted. */
kono
parents: 67
diff changeset
213 bool arg_pointer_save_area_init;
kono
parents: 67
diff changeset
214
kono
parents: 67
diff changeset
215 /* Nonzero if current function must be given a frame pointer.
kono
parents: 67
diff changeset
216 Set in reload1.c or lra-eliminations.c if anything is allocated
kono
parents: 67
diff changeset
217 on the stack there. */
kono
parents: 67
diff changeset
218 bool frame_pointer_needed;
kono
parents: 67
diff changeset
219
kono
parents: 67
diff changeset
220 /* When set, expand should optimize for speed. */
kono
parents: 67
diff changeset
221 bool maybe_hot_insn_p;
kono
parents: 67
diff changeset
222
kono
parents: 67
diff changeset
223 /* Nonzero if function stack realignment is needed. This flag may be
kono
parents: 67
diff changeset
224 set twice: before and after reload. It is set before reload wrt
kono
parents: 67
diff changeset
225 stack alignment estimation before reload. It will be changed after
kono
parents: 67
diff changeset
226 reload if by then criteria of stack realignment is different.
kono
parents: 67
diff changeset
227 The value set after reload is the accurate one and is finalized. */
kono
parents: 67
diff changeset
228 bool stack_realign_needed;
kono
parents: 67
diff changeset
229
kono
parents: 67
diff changeset
230 /* Nonzero if function stack realignment is tried. This flag is set
kono
parents: 67
diff changeset
231 only once before reload. It affects register elimination. This
kono
parents: 67
diff changeset
232 is used to generate DWARF debug info for stack variables. */
kono
parents: 67
diff changeset
233 bool stack_realign_tried;
kono
parents: 67
diff changeset
234
kono
parents: 67
diff changeset
235 /* Nonzero if function being compiled needs dynamic realigned
kono
parents: 67
diff changeset
236 argument pointer (drap) if stack needs realigning. */
kono
parents: 67
diff changeset
237 bool need_drap;
kono
parents: 67
diff changeset
238
kono
parents: 67
diff changeset
239 /* Nonzero if function stack realignment estimation is done, namely
kono
parents: 67
diff changeset
240 stack_realign_needed flag has been set before reload wrt estimated
kono
parents: 67
diff changeset
241 stack alignment info. */
kono
parents: 67
diff changeset
242 bool stack_realign_processed;
kono
parents: 67
diff changeset
243
kono
parents: 67
diff changeset
244 /* Nonzero if function stack realignment has been finalized, namely
kono
parents: 67
diff changeset
245 stack_realign_needed flag has been set and finalized after reload. */
kono
parents: 67
diff changeset
246 bool stack_realign_finalized;
kono
parents: 67
diff changeset
247
kono
parents: 67
diff changeset
248 /* True if dbr_schedule has already been called for this function. */
kono
parents: 67
diff changeset
249 bool dbr_scheduled_p;
kono
parents: 67
diff changeset
250
kono
parents: 67
diff changeset
251 /* True if current function can not throw. Unlike
kono
parents: 67
diff changeset
252 TREE_NOTHROW (current_function_decl) it is set even for overwritable
kono
parents: 67
diff changeset
253 function where currently compiled version of it is nothrow. */
kono
parents: 67
diff changeset
254 bool nothrow;
kono
parents: 67
diff changeset
255
kono
parents: 67
diff changeset
256 /* True if we performed shrink-wrapping for the current function. */
kono
parents: 67
diff changeset
257 bool shrink_wrapped;
kono
parents: 67
diff changeset
258
kono
parents: 67
diff changeset
259 /* True if we performed shrink-wrapping for separate components for
kono
parents: 67
diff changeset
260 the current function. */
kono
parents: 67
diff changeset
261 bool shrink_wrapped_separate;
kono
parents: 67
diff changeset
262
kono
parents: 67
diff changeset
263 /* Nonzero if function being compiled doesn't modify the stack pointer
kono
parents: 67
diff changeset
264 (ignoring the prologue and epilogue). This is only valid after
kono
parents: 67
diff changeset
265 pass_stack_ptr_mod has run. */
kono
parents: 67
diff changeset
266 bool sp_is_unchanging;
kono
parents: 67
diff changeset
267
kono
parents: 67
diff changeset
268 /* Nonzero if function being compiled doesn't contain any calls
kono
parents: 67
diff changeset
269 (ignoring the prologue and epilogue). This is set prior to
kono
parents: 67
diff changeset
270 register allocation in IRA and is valid for the remaining
kono
parents: 67
diff changeset
271 compiler passes. */
kono
parents: 67
diff changeset
272 bool is_leaf;
kono
parents: 67
diff changeset
273
kono
parents: 67
diff changeset
274 /* Nonzero if the function being compiled is a leaf function which only
kono
parents: 67
diff changeset
275 uses leaf registers. This is valid after reload (specifically after
kono
parents: 67
diff changeset
276 sched2) and is useful only if the port defines LEAF_REGISTERS. */
kono
parents: 67
diff changeset
277 bool uses_only_leaf_regs;
kono
parents: 67
diff changeset
278
kono
parents: 67
diff changeset
279 /* Nonzero if the function being compiled has undergone hot/cold partitioning
kono
parents: 67
diff changeset
280 (under flag_reorder_blocks_and_partition) and has at least one cold
kono
parents: 67
diff changeset
281 block. */
kono
parents: 67
diff changeset
282 bool has_bb_partition;
kono
parents: 67
diff changeset
283
kono
parents: 67
diff changeset
284 /* Nonzero if the function being compiled has completed the bb reordering
kono
parents: 67
diff changeset
285 pass. */
kono
parents: 67
diff changeset
286 bool bb_reorder_complete;
kono
parents: 67
diff changeset
287
kono
parents: 67
diff changeset
288 /* Like regs_ever_live, but 1 if a reg is set or clobbered from an
kono
parents: 67
diff changeset
289 asm. Unlike regs_ever_live, elements of this array corresponding
kono
parents: 67
diff changeset
290 to eliminable regs (like the frame pointer) are set if an asm
kono
parents: 67
diff changeset
291 sets them. */
kono
parents: 67
diff changeset
292 HARD_REG_SET asm_clobbers;
kono
parents: 67
diff changeset
293
kono
parents: 67
diff changeset
294 /* The highest address seen during shorten_branches. */
kono
parents: 67
diff changeset
295 int max_insn_address;
kono
parents: 67
diff changeset
296 };
kono
parents: 67
diff changeset
297
kono
parents: 67
diff changeset
298 #define return_label (crtl->x_return_label)
kono
parents: 67
diff changeset
299 #define naked_return_label (crtl->x_naked_return_label)
kono
parents: 67
diff changeset
300 #define stack_slot_list (crtl->x_stack_slot_list)
kono
parents: 67
diff changeset
301 #define parm_birth_insn (crtl->x_parm_birth_insn)
kono
parents: 67
diff changeset
302 #define frame_offset (crtl->x_frame_offset)
kono
parents: 67
diff changeset
303 #define stack_check_probe_note (crtl->x_stack_check_probe_note)
kono
parents: 67
diff changeset
304 #define arg_pointer_save_area (crtl->x_arg_pointer_save_area)
kono
parents: 67
diff changeset
305 #define used_temp_slots (crtl->x_used_temp_slots)
kono
parents: 67
diff changeset
306 #define avail_temp_slots (crtl->x_avail_temp_slots)
kono
parents: 67
diff changeset
307 #define temp_slot_level (crtl->x_temp_slot_level)
kono
parents: 67
diff changeset
308 #define nonlocal_goto_handler_labels (crtl->x_nonlocal_goto_handler_labels)
kono
parents: 67
diff changeset
309 #define frame_pointer_needed (crtl->frame_pointer_needed)
kono
parents: 67
diff changeset
310 #define stack_realign_fp (crtl->stack_realign_needed && !crtl->need_drap)
kono
parents: 67
diff changeset
311 #define stack_realign_drap (crtl->stack_realign_needed && crtl->need_drap)
kono
parents: 67
diff changeset
312
kono
parents: 67
diff changeset
313 extern GTY(()) struct rtl_data x_rtl;
kono
parents: 67
diff changeset
314
kono
parents: 67
diff changeset
315 /* Accessor to RTL datastructures. We keep them statically allocated now since
kono
parents: 67
diff changeset
316 we never keep multiple functions. For threaded compiler we might however
kono
parents: 67
diff changeset
317 want to do differently. */
kono
parents: 67
diff changeset
318 #define crtl (&x_rtl)
kono
parents: 67
diff changeset
319
kono
parents: 67
diff changeset
320 /* Return whether two MEM_ATTRs are equal. */
kono
parents: 67
diff changeset
321 bool mem_attrs_eq_p (const struct mem_attrs *, const struct mem_attrs *);
kono
parents: 67
diff changeset
322
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
323 /* Set the alias set of MEM to SET. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
324 extern void set_mem_alias_set (rtx, alias_set_type);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
325
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
326 /* Set the alignment of MEM to ALIGN bits. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
327 extern void set_mem_align (rtx, unsigned int);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
328
55
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
329 /* Set the address space of MEM to ADDRSPACE. */
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
330 extern void set_mem_addr_space (rtx, addr_space_t);
77e2b8dfacca update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents: 0
diff changeset
331
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
332 /* Set the expr for MEM to EXPR. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
333 extern void set_mem_expr (rtx, tree);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
334
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
335 /* Set the offset for MEM to OFFSET. */
111
kono
parents: 67
diff changeset
336 extern void set_mem_offset (rtx, HOST_WIDE_INT);
kono
parents: 67
diff changeset
337
kono
parents: 67
diff changeset
338 /* Clear the offset recorded for MEM. */
kono
parents: 67
diff changeset
339 extern void clear_mem_offset (rtx);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
340
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
341 /* Set the size for MEM to SIZE. */
111
kono
parents: 67
diff changeset
342 extern void set_mem_size (rtx, HOST_WIDE_INT);
kono
parents: 67
diff changeset
343
kono
parents: 67
diff changeset
344 /* Clear the size recorded for MEM. */
kono
parents: 67
diff changeset
345 extern void clear_mem_size (rtx);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
346
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
347 /* Set the attributes for MEM appropriate for a spill slot. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
348 extern void set_mem_attrs_for_spill (rtx);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
349 extern tree get_spill_slot_decl (bool);
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
350
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
351 /* Return a memory reference like MEMREF, but with its address changed to
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
352 ADDR. The caller is asserting that the actual piece of memory pointed
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
353 to is the same, just the form of the address is being changed, such as
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
354 by putting something into a register. */
111
kono
parents: 67
diff changeset
355 extern rtx replace_equiv_address (rtx, rtx, bool = false);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
356
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
357 /* Likewise, but the reference is not required to be valid. */
111
kono
parents: 67
diff changeset
358 extern rtx replace_equiv_address_nv (rtx, rtx, bool = false);
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
359
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
360 extern rtx gen_blockage (void);
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
361 extern rtvec gen_rtvec (int, ...);
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
362 extern rtx copy_insn_1 (rtx);
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
363 extern rtx copy_insn (rtx);
111
kono
parents: 67
diff changeset
364 extern rtx_insn *copy_delay_slot_insn (rtx_insn *);
kono
parents: 67
diff changeset
365 extern rtx gen_int_mode (HOST_WIDE_INT, machine_mode);
kono
parents: 67
diff changeset
366 extern rtx_insn *emit_copy_of_insn_after (rtx_insn *, rtx_insn *);
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
367 extern void set_reg_attrs_from_value (rtx, rtx);
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
368 extern void set_reg_attrs_for_parm (rtx, rtx);
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
369 extern void set_reg_attrs_for_decl_rtl (tree t, rtx x);
111
kono
parents: 67
diff changeset
370 extern void adjust_reg_mode (rtx, machine_mode);
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
371 extern int mem_expr_equal_p (const_tree, const_tree);
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
372
111
kono
parents: 67
diff changeset
373 extern bool need_atomic_barrier_p (enum memmodel, bool);
kono
parents: 67
diff changeset
374
kono
parents: 67
diff changeset
375 /* Return the current sequence. */
kono
parents: 67
diff changeset
376
kono
parents: 67
diff changeset
377 static inline struct sequence_stack *
kono
parents: 67
diff changeset
378 get_current_sequence (void)
kono
parents: 67
diff changeset
379 {
kono
parents: 67
diff changeset
380 return &crtl->emit.seq;
kono
parents: 67
diff changeset
381 }
kono
parents: 67
diff changeset
382
kono
parents: 67
diff changeset
383 /* Return the outermost sequence. */
kono
parents: 67
diff changeset
384
kono
parents: 67
diff changeset
385 static inline struct sequence_stack *
kono
parents: 67
diff changeset
386 get_topmost_sequence (void)
kono
parents: 67
diff changeset
387 {
kono
parents: 67
diff changeset
388 struct sequence_stack *seq, *top;
kono
parents: 67
diff changeset
389
kono
parents: 67
diff changeset
390 seq = get_current_sequence ();
kono
parents: 67
diff changeset
391 do
kono
parents: 67
diff changeset
392 {
kono
parents: 67
diff changeset
393 top = seq;
kono
parents: 67
diff changeset
394 seq = seq->next;
kono
parents: 67
diff changeset
395 } while (seq);
kono
parents: 67
diff changeset
396 return top;
kono
parents: 67
diff changeset
397 }
kono
parents: 67
diff changeset
398
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
399 /* Return the first insn of the current sequence or current function. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
400
111
kono
parents: 67
diff changeset
401 static inline rtx_insn *
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
402 get_insns (void)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
403 {
111
kono
parents: 67
diff changeset
404 return get_current_sequence ()->first;
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
405 }
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
406
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
407 /* Specify a new insn as the first in the chain. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
408
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
409 static inline void
111
kono
parents: 67
diff changeset
410 set_first_insn (rtx_insn *insn)
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
411 {
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
412 gcc_checking_assert (!insn || !PREV_INSN (insn));
111
kono
parents: 67
diff changeset
413 get_current_sequence ()->first = insn;
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
414 }
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
415
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
416 /* Return the last insn emitted in current sequence or current function. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
417
111
kono
parents: 67
diff changeset
418 static inline rtx_insn *
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
419 get_last_insn (void)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
420 {
111
kono
parents: 67
diff changeset
421 return get_current_sequence ()->last;
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
422 }
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
423
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
424 /* Specify a new insn as the last in the chain. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
425
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
426 static inline void
111
kono
parents: 67
diff changeset
427 set_last_insn (rtx_insn *insn)
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
428 {
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
429 gcc_checking_assert (!insn || !NEXT_INSN (insn));
111
kono
parents: 67
diff changeset
430 get_current_sequence ()->last = insn;
67
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
431 }
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
432
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
433 /* Return a number larger than any instruction's uid in this function. */
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
434
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
435 static inline int
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
436 get_max_uid (void)
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
437 {
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
438 return crtl->emit.x_cur_insn_uid;
f6334be47118 update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents: 55
diff changeset
439 }
111
kono
parents: 67
diff changeset
440
kono
parents: 67
diff changeset
441 extern void set_decl_incoming_rtl (tree, rtx, bool);
kono
parents: 67
diff changeset
442
kono
parents: 67
diff changeset
443 /* Return a memory reference like MEMREF, but with its mode changed
kono
parents: 67
diff changeset
444 to MODE and its address changed to ADDR.
kono
parents: 67
diff changeset
445 (VOIDmode means don't change the mode.
kono
parents: 67
diff changeset
446 NULL for ADDR means don't change the address.) */
kono
parents: 67
diff changeset
447 extern rtx change_address (rtx, machine_mode, rtx);
kono
parents: 67
diff changeset
448
kono
parents: 67
diff changeset
449 /* Return a memory reference like MEMREF, but with its mode changed
kono
parents: 67
diff changeset
450 to MODE and its address offset by OFFSET bytes. */
kono
parents: 67
diff changeset
451 #define adjust_address(MEMREF, MODE, OFFSET) \
kono
parents: 67
diff changeset
452 adjust_address_1 (MEMREF, MODE, OFFSET, 1, 1, 0, 0)
kono
parents: 67
diff changeset
453
kono
parents: 67
diff changeset
454 /* Likewise, but the reference is not required to be valid. */
kono
parents: 67
diff changeset
455 #define adjust_address_nv(MEMREF, MODE, OFFSET) \
kono
parents: 67
diff changeset
456 adjust_address_1 (MEMREF, MODE, OFFSET, 0, 1, 0, 0)
kono
parents: 67
diff changeset
457
kono
parents: 67
diff changeset
458 /* Return a memory reference like MEMREF, but with its mode changed
kono
parents: 67
diff changeset
459 to MODE and its address offset by OFFSET bytes. Assume that it's
kono
parents: 67
diff changeset
460 for a bitfield and conservatively drop the underlying object if we
kono
parents: 67
diff changeset
461 cannot be sure to stay within its bounds. */
kono
parents: 67
diff changeset
462 #define adjust_bitfield_address(MEMREF, MODE, OFFSET) \
kono
parents: 67
diff changeset
463 adjust_address_1 (MEMREF, MODE, OFFSET, 1, 1, 1, 0)
kono
parents: 67
diff changeset
464
kono
parents: 67
diff changeset
465 /* As for adjust_bitfield_address, but specify that the width of
kono
parents: 67
diff changeset
466 BLKmode accesses is SIZE bytes. */
kono
parents: 67
diff changeset
467 #define adjust_bitfield_address_size(MEMREF, MODE, OFFSET, SIZE) \
kono
parents: 67
diff changeset
468 adjust_address_1 (MEMREF, MODE, OFFSET, 1, 1, 1, SIZE)
kono
parents: 67
diff changeset
469
kono
parents: 67
diff changeset
470 /* Likewise, but the reference is not required to be valid. */
kono
parents: 67
diff changeset
471 #define adjust_bitfield_address_nv(MEMREF, MODE, OFFSET) \
kono
parents: 67
diff changeset
472 adjust_address_1 (MEMREF, MODE, OFFSET, 0, 1, 1, 0)
kono
parents: 67
diff changeset
473
kono
parents: 67
diff changeset
474 /* Return a memory reference like MEMREF, but with its mode changed
kono
parents: 67
diff changeset
475 to MODE and its address changed to ADDR, which is assumed to be
kono
parents: 67
diff changeset
476 increased by OFFSET bytes from MEMREF. */
kono
parents: 67
diff changeset
477 #define adjust_automodify_address(MEMREF, MODE, ADDR, OFFSET) \
kono
parents: 67
diff changeset
478 adjust_automodify_address_1 (MEMREF, MODE, ADDR, OFFSET, 1)
kono
parents: 67
diff changeset
479
kono
parents: 67
diff changeset
480 /* Likewise, but the reference is not required to be valid. */
kono
parents: 67
diff changeset
481 #define adjust_automodify_address_nv(MEMREF, MODE, ADDR, OFFSET) \
kono
parents: 67
diff changeset
482 adjust_automodify_address_1 (MEMREF, MODE, ADDR, OFFSET, 0)
kono
parents: 67
diff changeset
483
kono
parents: 67
diff changeset
484 extern rtx adjust_address_1 (rtx, machine_mode, HOST_WIDE_INT, int, int,
kono
parents: 67
diff changeset
485 int, HOST_WIDE_INT);
kono
parents: 67
diff changeset
486 extern rtx adjust_automodify_address_1 (rtx, machine_mode, rtx,
kono
parents: 67
diff changeset
487 HOST_WIDE_INT, int);
kono
parents: 67
diff changeset
488
kono
parents: 67
diff changeset
489 /* Return a memory reference like MEMREF, but whose address is changed by
kono
parents: 67
diff changeset
490 adding OFFSET, an RTX, to it. POW2 is the highest power of two factor
kono
parents: 67
diff changeset
491 known to be in OFFSET (possibly 1). */
kono
parents: 67
diff changeset
492 extern rtx offset_address (rtx, rtx, unsigned HOST_WIDE_INT);
kono
parents: 67
diff changeset
493
kono
parents: 67
diff changeset
494 /* Given REF, a MEM, and T, either the type of X or the expression
kono
parents: 67
diff changeset
495 corresponding to REF, set the memory attributes. OBJECTP is nonzero
kono
parents: 67
diff changeset
496 if we are making a new object of this type. */
kono
parents: 67
diff changeset
497 extern void set_mem_attributes (rtx, tree, int);
kono
parents: 67
diff changeset
498
kono
parents: 67
diff changeset
499 /* Similar, except that BITPOS has not yet been applied to REF, so if
kono
parents: 67
diff changeset
500 we alter MEM_OFFSET according to T then we should subtract BITPOS
kono
parents: 67
diff changeset
501 expecting that it'll be added back in later. */
kono
parents: 67
diff changeset
502 extern void set_mem_attributes_minus_bitpos (rtx, tree, int, HOST_WIDE_INT);
kono
parents: 67
diff changeset
503
kono
parents: 67
diff changeset
504 /* Return OFFSET if XEXP (MEM, 0) - OFFSET is known to be ALIGN
kono
parents: 67
diff changeset
505 bits aligned for 0 <= OFFSET < ALIGN / BITS_PER_UNIT, or
kono
parents: 67
diff changeset
506 -1 if not known. */
kono
parents: 67
diff changeset
507 extern int get_mem_align_offset (rtx, unsigned int);
kono
parents: 67
diff changeset
508
kono
parents: 67
diff changeset
509 /* Return a memory reference like MEMREF, but with its mode widened to
kono
parents: 67
diff changeset
510 MODE and adjusted by OFFSET. */
kono
parents: 67
diff changeset
511 extern rtx widen_memory_access (rtx, machine_mode, HOST_WIDE_INT);
kono
parents: 67
diff changeset
512
kono
parents: 67
diff changeset
513 extern void maybe_set_max_label_num (rtx_code_label *x);
kono
parents: 67
diff changeset
514
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
515 #endif /* GCC_EMIT_RTL_H */