OSDN Git Service

Merge from pch-branch.
[pf3gnuchains/gcc-fork.git] / gcc / doc / passes.texi
1 @c Copyright (C) 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 2002,
2 @c 1999, 2000, 2001 Free Software Foundation, Inc.
3 @c This is part of the GCC manual.
4 @c For copying conditions, see the file gcc.texi.
5
6 @node Passes
7 @chapter Passes and Files of the Compiler
8 @cindex passes and files of the compiler
9 @cindex files and passes of the compiler
10 @cindex compiler passes and files
11
12 @cindex top level of compiler
13 The overall control structure of the compiler is in @file{toplev.c}.  This
14 file is responsible for initialization, decoding arguments, opening and
15 closing files, and sequencing the passes.
16
17 @cindex parsing pass
18 The parsing pass is invoked only once, to parse the entire input.  A
19 high level tree representation is then generated from the input,
20 one function at a time.  This tree code is then transformed into RTL
21 intermediate code, and processed.  The files involved in transforming
22 the trees into RTL are @file{expr.c}, @file{expmed.c}, and
23 @file{stmt.c}.
24 @c Note, the above files aren't strictly the only files involved. It's
25 @c all over the place (function.c, final.c,etc).  However, those are
26 @c the files that are supposed to be directly involved, and have
27 @c their purpose listed as such, so i've only listed them.
28 The order of trees that are processed, is not
29 necessarily the same order they are generated from
30 the input, due to deferred inlining, and other considerations.
31
32 @findex rest_of_compilation
33 @findex rest_of_decl_compilation
34 Each time the parsing pass reads a complete function definition or
35 top-level declaration, it calls either the function
36 @code{rest_of_compilation}, or the function
37 @code{rest_of_decl_compilation} in @file{toplev.c}, which are
38 responsible for all further processing necessary, ending with output of
39 the assembler language.  All other compiler passes run, in sequence,
40 within @code{rest_of_compilation}.  When that function returns from
41 compiling a function definition, the storage used for that function
42 definition's compilation is entirely freed, unless it is an inline
43 function, or was deferred for some reason (this can occur in
44 templates, for example).
45 (@pxref{Inline,,An Inline Function is As Fast As a Macro,gcc,Using the
46 GNU Compiler Collection (GCC)}).
47
48 Here is a list of all the passes of the compiler and their source files.
49 Also included is a description of where debugging dumps can be requested
50 with @option{-d} options.
51
52 @itemize @bullet
53 @item
54 Parsing.  This pass reads the entire text of a function definition,
55 constructing a high level tree representation.  (Because of the semantic
56 analysis that takes place during this pass, it does more than is
57 formally considered to be parsing.)
58
59 The tree representation does not entirely follow C syntax, because it is
60 intended to support other languages as well.
61
62 Language-specific data type analysis is also done in this pass, and every
63 tree node that represents an expression has a data type attached.
64 Variables are represented as declaration nodes.
65
66 The language-independent source files for parsing are
67 @file{tree.c}, @file{fold-const.c}, and @file{stor-layout.c}.
68 There are also header files @file{tree.h} and @file{tree.def}
69 which define the format of the tree representation.
70
71 C preprocessing, for language front ends, that want or require it, is
72 performed by cpplib, which is covered in separate documentation.  In
73 particular, the internals are covered in @xref{Top, ,Cpplib internals,
74 cppinternals, Cpplib Internals}.
75
76 The source files to parse C are found in the toplevel directory, and
77 by convention are named @file{c-*}.  Some of these are also used by
78 the other C-like languages: @file{c-common.c},
79 @file{c-common.def},
80 @file{c-format.c},
81 @file{c-opts.c},
82 @file{c-pragma.c},
83 @file{c-semantics.c},
84 @file{c-lex.c},
85 @file{c-common.h},
86 @file{c-dump.h},
87 and
88 @file{c-pragma.h},
89
90 Files specific to each language are in subdirectories named after the
91 language in question, like @file{ada}, @file{objc}, @file{cp} (for C++).
92
93 @cindex Tree optimization
94 @item
95 Tree optimization.   This is the optimization of the tree
96 representation, before converting into RTL code.
97
98 @cindex inline on trees, automatic
99 Currently, the main optimization performed here is tree-based
100 inlining.
101 This is implemented in @file{tree-inline.c} and used by both C and C++.
102 Note that tree based inlining turns off rtx based inlining (since it's more
103 powerful, it would be a waste of time to do rtx based inlining in
104 addition).
105
106 @cindex constant folding
107 @cindex arithmetic simplifications
108 @cindex simplifications, arithmetic
109 Constant folding and some arithmetic simplifications are also done
110 during this pass, on the tree representation.
111 The routines that perform these tasks are located in @file{fold-const.c}.
112
113 @cindex RTL generation
114 @item
115 RTL generation.  This is the conversion of syntax tree into RTL code.
116
117 @cindex target-parameter-dependent code
118 This is where the bulk of target-parameter-dependent code is found,
119 since often it is necessary for strategies to apply only when certain
120 standard kinds of instructions are available.  The purpose of named
121 instruction patterns is to provide this information to the RTL
122 generation pass.
123
124 @cindex tail recursion optimization
125 Optimization is done in this pass for @code{if}-conditions that are
126 comparisons, boolean operations or conditional expressions.  Tail
127 recursion is detected at this time also.  Decisions are made about how
128 best to arrange loops and how to output @code{switch} statements.
129
130 @c Avoiding overfull is tricky here.
131 The source files for RTL generation include
132 @file{stmt.c},
133 @file{calls.c},
134 @file{expr.c},
135 @file{explow.c},
136 @file{expmed.c},
137 @file{function.c},
138 @file{optabs.c}
139 and @file{emit-rtl.c}.
140 Also, the file
141 @file{insn-emit.c}, generated from the machine description by the
142 program @code{genemit}, is used in this pass.  The header file
143 @file{expr.h} is used for communication within this pass.
144
145 @findex genflags
146 @findex gencodes
147 The header files @file{insn-flags.h} and @file{insn-codes.h},
148 generated from the machine description by the programs @code{genflags}
149 and @code{gencodes}, tell this pass which standard names are available
150 for use and which patterns correspond to them.
151
152 Aside from debugging information output, none of the following passes
153 refers to the tree structure representation of the function (only
154 part of which is saved).
155
156 @cindex inline on rtx, automatic
157 The decision of whether the function can and should be expanded inline
158 in its subsequent callers is made at the end of rtl generation.  The
159 function must meet certain criteria, currently related to the size of
160 the function and the types and number of parameters it has.  Note that
161 this function may contain loops, recursive calls to itself
162 (tail-recursive functions can be inlined!), gotos, in short, all
163 constructs supported by GCC@.  The file @file{integrate.c} contains
164 the code to save a function's rtl for later inlining and to inline that
165 rtl when the function is called.  The header file @file{integrate.h}
166 is also used for this purpose.
167
168 @opindex dr
169 The option @option{-dr} causes a debugging dump of the RTL code after
170 this pass.  This dump file's name is made by appending @samp{.rtl} to
171 the input file name.
172
173 @c Should the exception handling pass be talked about here?
174
175 @cindex sibling call optimization
176 @item
177 Sibiling call optimization.   This pass performs tail recursion
178 elimination, and tail and sibling call optimizations.  The purpose of
179 these optimizations is to reduce the overhead of function calls,
180 whenever possible.
181
182 The source file of this pass is @file{sibcall.c}
183
184 @opindex di
185 The option @option{-di} causes a debugging dump of the RTL code after
186 this pass is run.  This dump file's name is made by appending
187 @samp{.sibling} to the input file name.
188
189 @cindex jump optimization
190 @cindex unreachable code
191 @cindex dead code
192 @item
193 Jump optimization.  This pass simplifies jumps to the following
194 instruction, jumps across jumps, and jumps to jumps.  It deletes
195 unreferenced labels and unreachable code, except that unreachable code
196 that contains a loop is not recognized as unreachable in this pass.
197 (Such loops are deleted later in the basic block analysis.)  It also
198 converts some code originally written with jumps into sequences of
199 instructions that directly set values from the results of comparisons,
200 if the machine has such instructions.
201
202 Jump optimization is performed two or three times.  The first time is
203 immediately following RTL generation.  The second time is after CSE,
204 but only if CSE says repeated jump optimization is needed.  The
205 last time is right before the final pass.  That time, cross-jumping
206 and deletion of no-op move instructions are done together with the
207 optimizations described above.
208
209 The source file of this pass is @file{jump.c}.
210
211 @opindex dj
212 The option @option{-dj} causes a debugging dump of the RTL code after
213 this pass is run for the first time.  This dump file's name is made by
214 appending @samp{.jump} to the input file name.
215
216
217 @cindex register use analysis
218 @item
219 Register scan.  This pass finds the first and last use of each
220 register, as a guide for common subexpression elimination.  Its source
221 is in @file{regclass.c}.
222
223 @cindex jump threading
224 @item
225 @opindex fthread-jumps
226 Jump threading.  This pass detects a condition jump that branches to an
227 identical or inverse test.  Such jumps can be @samp{threaded} through
228 the second conditional test.  The source code for this pass is in
229 @file{jump.c}.  This optimization is only performed if
230 @option{-fthread-jumps} is enabled.
231
232 @cindex SSA optimizations
233 @cindex Single Static Assignment optimizations
234 @opindex fssa
235 @item
236 Static Single Assignment (SSA) based optimization passes.  The
237 SSA conversion passes (to/from) are turned on by the @option{-fssa}
238 option (it is also done automatically if you enable an SSA optimization pass).
239 These passes utilize a form called Static Single Assignment.  In SSA form,
240 each variable (pseudo register) is only set once, giving you def-use
241 and use-def chains for free, and enabling a lot more optimization
242 passes to be run in linear time.
243 Conversion to and from SSA form is handled by functions in
244 @file{ssa.c}.
245
246 @opindex de
247 The option @option{-de} causes a debugging dump of the RTL code after
248 this pass.  This dump file's name is made by appending @samp{.ssa} to
249 the input file name.
250 @itemize @bullet
251 @cindex SSA Conditional Constant Propagation
252 @cindex Conditional Constant Propagation, SSA based
253 @cindex conditional constant propagation
254 @opindex fssa-ccp
255 @item
256 SSA Conditional Constant Propagation.  Turned on by the @option{-fssa-ccp}
257 option.  This pass performs conditional constant propagation to simplify
258 instructions including conditional branches.  This pass is more aggressive
259 than the constant propagation done by the CSE and GCSE pases, but operates
260 in linear time.
261
262 @opindex dW
263 The option @option{-dW} causes a debugging dump of the RTL code after
264 this pass.  This dump file's name is made by appending @samp{.ssaccp} to
265 the input file name.
266
267 @cindex SSA DCE
268 @cindex DCE, SSA based
269 @cindex dead code elimination
270 @opindex fssa-dce
271 @item
272 SSA Aggressive Dead Code Elimination.  Turned on by the @option{-fssa-dce}
273 option.  This pass performs elimination of code considered unnecessary because
274 it has no externally visible effects on the program.  It operates in
275 linear time.
276
277 @opindex dX
278 The option @option{-dX} causes a debugging dump of the RTL code after
279 this pass.  This dump file's name is made by appending @samp{.ssadce} to
280 the input file name.
281 @end itemize
282
283 @cindex common subexpression elimination
284 @cindex constant propagation
285 @item
286 Common subexpression elimination.  This pass also does constant
287 propagation.  Its source files are @file{cse.c}, and @file{cselib.c}.
288 If constant  propagation causes conditional jumps to become
289 unconditional or to become no-ops, jump optimization is run again when
290 CSE is finished.
291
292 @opindex ds
293 The option @option{-ds} causes a debugging dump of the RTL code after
294 this pass.  This dump file's name is made by appending @samp{.cse} to
295 the input file name.
296
297 @cindex global common subexpression elimination
298 @cindex constant propagation
299 @cindex copy propagation
300 @item
301 Global common subexpression elimination.  This pass performs two
302 different types of GCSE  depending on whether you are optimizing for
303 size or not (LCM based GCSE tends to increase code size for a gain in
304 speed, while Morel-Renvoise based GCSE does not).
305 When optimizing for size, GCSE is done using Morel-Renvoise Partial
306 Redundancy Elimination, with the exception that it does not try to move
307 invariants out of loops---that is left to  the loop optimization pass.
308 If MR PRE GCSE is done, code hoisting (aka unification) is also done, as
309 well as load motion.
310 If you are optimizing for speed, LCM (lazy code motion) based GCSE is
311 done.  LCM is based on the work of Knoop, Ruthing, and Steffen.  LCM
312 based GCSE also does loop invariant code motion.  We also perform load
313 and store motion when optimizing for speed.
314 Regardless of which type of GCSE is used, the GCSE pass also performs
315 global constant and  copy propagation.
316
317 The source file for this pass is @file{gcse.c}, and the LCM routines
318 are in @file{lcm.c}.
319
320 @opindex dG
321 The option @option{-dG} causes a debugging dump of the RTL code after
322 this pass.  This dump file's name is made by appending @samp{.gcse} to
323 the input file name.
324
325 @cindex loop optimization
326 @cindex code motion
327 @cindex strength-reduction
328 @item
329 Loop optimization.  This pass moves constant expressions out of loops,
330 and optionally does strength-reduction and loop unrolling as well.
331 Its source files are @file{loop.c} and @file{unroll.c}, plus the header
332 @file{loop.h} used for communication between them.  Loop unrolling uses
333 some functions in @file{integrate.c} and the header @file{integrate.h}.
334 Loop dependency analysis routines are contained in @file{dependence.c}.
335
336 @opindex dL
337 The option @option{-dL} causes a debugging dump of the RTL code after
338 this pass.  This dump file's name is made by appending @samp{.loop} to
339 the input file name.
340
341 @item
342 @opindex frerun-cse-after-loop
343 If @option{-frerun-cse-after-loop} was enabled, a second common
344 subexpression elimination pass is performed after the loop optimization
345 pass.  Jump threading is also done again at this time if it was specified.
346
347 @opindex dt
348 The option @option{-dt} causes a debugging dump of the RTL code after
349 this pass.  This dump file's name is made by appending @samp{.cse2} to
350 the input file name.
351
352 @cindex data flow analysis
353 @cindex analysis, data flow
354 @cindex basic blocks
355 @item
356 Data flow analysis (@file{flow.c}).  This pass divides the program
357 into basic blocks (and in the process deletes unreachable loops); then
358 it computes which pseudo-registers are live at each point in the
359 program, and makes the first instruction that uses a value point at
360 the instruction that computed the value.
361
362 @cindex autoincrement/decrement analysis
363 This pass also deletes computations whose results are never used, and
364 combines memory references with add or subtract instructions to make
365 autoincrement or autodecrement addressing.
366
367 @opindex df
368 The option @option{-df} causes a debugging dump of the RTL code after
369 this pass.  This dump file's name is made by appending @samp{.flow} to
370 the input file name.  If stupid register allocation is in use, this
371 dump file reflects the full results of such allocation.
372
373 @cindex instruction combination
374 @item
375 Instruction combination (@file{combine.c}).  This pass attempts to
376 combine groups of two or three instructions that are related by data
377 flow into single instructions.  It combines the RTL expressions for
378 the instructions by substitution, simplifies the result using algebra,
379 and then attempts to match the result against the machine description.
380
381 @opindex dc
382 The option @option{-dc} causes a debugging dump of the RTL code after
383 this pass.  This dump file's name is made by appending @samp{.combine}
384 to the input file name.
385
386 @cindex if conversion
387 @item
388 If-conversion is a transformation that transforms control dependencies
389 into data dependencies (IE it transforms conditional code into a
390 single control stream).
391 It is implemented in the file @file{ifcvt.c}.
392
393 @opindex dE
394 The option @option{-dE} causes a debugging dump of the RTL code after
395 this pass.  This dump file's name is made by appending @samp{.ce} to
396 the input file name.
397
398 @cindex register movement
399 @item
400 Register movement (@file{regmove.c}).  This pass looks for cases where
401 matching constraints would force an instruction to need a reload, and
402 this reload would be a register-to-register move.  It then attempts
403 to change the registers used by the instruction to avoid the move
404 instruction.
405
406 @opindex dN
407 The option @option{-dN} causes a debugging dump of the RTL code after
408 this pass.  This dump file's name is made by appending @samp{.regmove}
409 to the input file name.
410
411 @cindex instruction scheduling
412 @cindex scheduling, instruction
413 @item
414 Instruction scheduling (@file{sched.c}).  This pass looks for
415 instructions whose output will not be available by the time that it is
416 used in subsequent instructions.  (Memory loads and floating point
417 instructions often have this behavior on RISC machines).  It re-orders
418 instructions within a basic block to try to separate the definition and
419 use of items that otherwise would cause pipeline stalls.
420
421 Instruction scheduling is performed twice.  The first time is immediately
422 after instruction combination and the second is immediately after reload.
423
424 @opindex dS
425 The option @option{-dS} causes a debugging dump of the RTL code after this
426 pass is run for the first time.  The dump file's name is made by
427 appending @samp{.sched} to the input file name.
428
429 @cindex register allocation
430 @item
431 Register allocation.  These passes make sure that all occurences of pseudo
432 registers are eliminated, either by allocating them to a hard register,
433 replacing them by an equivalent expression (e.g.@: a constant) or by placing
434 them on the stack.  This is done in several subpasses:
435
436 @itemize @bullet
437 @cindex register class preference pass
438 @item
439 Register class preferencing.  The RTL code is scanned to find out
440 which register class is best for each pseudo register.  The source
441 file is @file{regclass.c}.
442
443 @cindex local register allocation
444 @item
445 Local register allocation (@file{local-alloc.c}).  This pass allocates
446 hard registers to pseudo registers that are used only within one basic
447 block.  Because the basic block is linear, it can use fast and
448 powerful techniques to do a very good job.
449
450 @opindex dl
451 The option @option{-dl} causes a debugging dump of the RTL code after
452 this pass.  This dump file's name is made by appending @samp{.lreg} to
453 the input file name.
454
455 @cindex global register allocation
456 @item
457 Global register allocation (@file{global.c}).  This pass
458 allocates hard registers for the remaining pseudo registers (those
459 whose life spans are not contained in one basic block).
460
461 @cindex graph coloring register allocation
462 @opindex fnew-ra
463 @opindex dl
464 @item
465 Graph coloring register allocator.  The files @file{ra.c}, @file{ra-build.c},
466 @file{ra-colorize.c}, @file{ra-debug.c}, @file{ra-rewrite.c} together with
467 the header @file{ra.h} contain another register allocator, which is used
468 when the option @option{-fnew-ra} is given.  In that case it is run instead
469 of the above mentioned local and global register allocation passes, and the
470 option @option{-dl} causes a debugging dump of its work.
471
472 @cindex reloading
473 @item
474 Reloading.  This pass renumbers pseudo registers with the hardware
475 registers numbers they were allocated.  Pseudo registers that did not
476 get hard registers are replaced with stack slots.  Then it finds
477 instructions that are invalid because a value has failed to end up in
478 a register, or has ended up in a register of the wrong kind.  It fixes
479 up these instructions by reloading the problematical values
480 temporarily into registers.  Additional instructions are generated to
481 do the copying.
482
483 The reload pass also optionally eliminates the frame pointer and inserts
484 instructions to save and restore call-clobbered registers around calls.
485
486 Source files are @file{reload.c} and @file{reload1.c}, plus the header
487 @file{reload.h} used for communication between them.
488
489 @opindex dg
490 The option @option{-dg} causes a debugging dump of the RTL code after
491 this pass.  This dump file's name is made by appending @samp{.greg} to
492 the input file name.
493 @end itemize
494
495 @cindex instruction scheduling
496 @cindex scheduling, instruction
497 @item
498 Instruction scheduling is repeated here to try to avoid pipeline stalls
499 due to memory loads generated for spilled pseudo registers.
500
501 @opindex dR
502 The option @option{-dR} causes a debugging dump of the RTL code after
503 this pass.  This dump file's name is made by appending @samp{.sched2}
504 to the input file name.
505
506 @cindex basic block reordering
507 @cindex reordering, block
508 @item
509 Basic block reordering.  This pass implements profile guided code
510 positioning.  If profile information is not available, various types of
511 static analysis are performed to make the predictions normally coming
512 from the profile feedback (IE execution frequency, branch probability,
513 etc).  It is implemented in the file @file{bb-reorder.c}, and the
514 various prediction routines are in @file{predict.c}.
515
516 @opindex dB
517 The option @option{-dB} causes a debugging dump of the RTL code after
518 this pass.  This dump file's name is made by appending @samp{.bbro} to
519 the input file name.
520
521 @cindex cross-jumping
522 @cindex no-op move instructions
523 @item
524 Jump optimization is repeated, this time including cross-jumping
525 and deletion of no-op move instructions.
526
527 @opindex dJ
528 The option @option{-dJ} causes a debugging dump of the RTL code after
529 this pass.  This dump file's name is made by appending @samp{.jump2}
530 to the input file name.
531
532 @cindex delayed branch scheduling
533 @cindex scheduling, delayed branch
534 @item
535 Delayed branch scheduling.  This optional pass attempts to find
536 instructions that can go into the delay slots of other instructions,
537 usually jumps and calls.  The source file name is @file{reorg.c}.
538
539 @opindex dd
540 The option @option{-dd} causes a debugging dump of the RTL code after
541 this pass.  This dump file's name is made by appending @samp{.dbr}
542 to the input file name.
543
544 @cindex branch shortening
545 @item
546 Branch shortening.  On many RISC machines, branch instructions have a
547 limited range.  Thus, longer sequences of instructions must be used for
548 long branches.  In this pass, the compiler figures out what how far each
549 instruction will be from each other instruction, and therefore whether
550 the usual instructions, or the longer sequences, must be used for each
551 branch.
552
553 @cindex register-to-stack conversion
554 @item
555 Conversion from usage of some hard registers to usage of a register
556 stack may be done at this point.  Currently, this is supported only
557 for the floating-point registers of the Intel 80387 coprocessor.   The
558 source file name is @file{reg-stack.c}.
559
560 @opindex dk
561 The options @option{-dk} causes a debugging dump of the RTL code after
562 this pass.  This dump file's name is made by appending @samp{.stack}
563 to the input file name.
564
565 @cindex final pass
566 @cindex peephole optimization
567 @item
568 Final.  This pass outputs the assembler code for the function.  It is
569 also responsible for identifying spurious test and compare
570 instructions.  Machine-specific peephole optimizations are performed
571 at the same time.  The function entry and exit sequences are generated
572 directly as assembler code in this pass; they never exist as RTL@.
573
574 The source files are @file{final.c} plus @file{insn-output.c}; the
575 latter is generated automatically from the machine description by the
576 tool @file{genoutput}.  The header file @file{conditions.h} is used
577 for communication between these files.
578
579 @cindex debugging information generation
580 @item
581 Debugging information output.  This is run after final because it must
582 output the stack slot offsets for pseudo registers that did not get
583 hard registers.  Source files are @file{dbxout.c} for DBX symbol table
584 format, @file{sdbout.c} for SDB symbol table format,  @file{dwarfout.c}
585 for DWARF symbol table format, files @file{dwarf2out.c} and
586 @file{dwarf2asm.c} for DWARF2 symbol table format, and @file{vmsdbgout.c}
587 for VMS debug symbol table format.
588 @end itemize
589
590 Some additional files are used by all or many passes:
591
592 @itemize @bullet
593 @item
594 Every pass uses @file{machmode.def} and @file{machmode.h} which define
595 the machine modes.
596
597 @item
598 Several passes use @file{real.h}, which defines the default
599 representation of floating point constants and how to operate on them.
600
601 @item
602 All the passes that work with RTL use the header files @file{rtl.h}
603 and @file{rtl.def}, and subroutines in file @file{rtl.c}.  The tools
604 @code{gen*} also use these files to read and work with the machine
605 description RTL@.
606
607 @item
608 All the tools that read the machine description use support routines
609 found in @file{gensupport.c}, @file{errors.c}, and @file{read-rtl.c}.
610
611 @findex genconfig
612 @item
613 Several passes refer to the header file @file{insn-config.h} which
614 contains a few parameters (C macro definitions) generated
615 automatically from the machine description RTL by the tool
616 @code{genconfig}.
617
618 @cindex instruction recognizer
619 @item
620 Several passes use the instruction recognizer, which consists of
621 @file{recog.c} and @file{recog.h}, plus the files @file{insn-recog.c}
622 and @file{insn-extract.c} that are generated automatically from the
623 machine description by the tools @file{genrecog} and
624 @file{genextract}.
625
626 @item
627 Several passes use the header files @file{regs.h} which defines the
628 information recorded about pseudo register usage, and @file{basic-block.h}
629 which defines the information recorded about basic blocks.
630
631 @item
632 @file{hard-reg-set.h} defines the type @code{HARD_REG_SET}, a bit-vector
633 with a bit for each hard register, and some macros to manipulate it.
634 This type is just @code{int} if the machine has few enough hard registers;
635 otherwise it is an array of @code{int} and some of the macros expand
636 into loops.
637
638 @item
639 Several passes use instruction attributes.  A definition of the
640 attributes defined for a particular machine is in file
641 @file{insn-attr.h}, which is generated from the machine description by
642 the program @file{genattr}.  The file @file{insn-attrtab.c} contains
643 subroutines to obtain the attribute values for insns and information
644 about processor pipeline characteristics for the instruction
645 scheduler.  It is generated from the machine description by the
646 program @file{genattrtab}.
647 @end itemize