]>
Commit | Line | Data |
---|---|---|
1 | .. | |
2 | Copyright 1988-2022 Free Software Foundation, Inc. | |
3 | This is part of the GCC manual. | |
4 | For copying conditions, see the copyright.rst file. | |
5 | ||
6 | .. index:: RTL representation, representation of RTL, Register Transfer Language (RTL) | |
7 | ||
8 | .. _rtl: | |
9 | ||
10 | RTL Representation | |
11 | ------------------ | |
12 | ||
13 | The last part of the compiler work is done on a low-level intermediate | |
14 | representation called Register Transfer Language. In this language, the | |
15 | instructions to be output are described, pretty much one by one, in an | |
16 | algebraic form that describes what the instruction does. | |
17 | ||
18 | RTL is inspired by Lisp lists. It has both an internal form, made up of | |
19 | structures that point at other structures, and a textual form that is used | |
20 | in the machine description and in printed debugging dumps. The textual | |
21 | form uses nested parentheses to indicate the pointers in the internal form. | |
22 | ||
23 | .. toctree:: | |
24 | :maxdepth: 2 | |
25 | ||
26 | rtl-representation/rtl-object-types | |
27 | rtl-representation/rtl-classes-and-formats | |
28 | rtl-representation/access-to-operands | |
29 | rtl-representation/access-to-special-operands | |
30 | rtl-representation/flags-in-an-rtl-expression | |
31 | rtl-representation/machine-modes | |
32 | rtl-representation/constant-expression-types | |
33 | rtl-representation/registers-and-memory | |
34 | rtl-representation/rtl-expressions-for-arithmetic | |
35 | rtl-representation/comparison-operations | |
36 | rtl-representation/bit-fields | |
37 | rtl-representation/vector-operations | |
38 | rtl-representation/conversions | |
39 | rtl-representation/declarations | |
40 | rtl-representation/side-effect-expressions | |
41 | rtl-representation/embedded-side-effects-on-addresses | |
42 | rtl-representation/assembler-instructions-as-expressions | |
43 | rtl-representation/variable-location-debug-information-in-rtl | |
44 | rtl-representation/insns | |
45 | rtl-representation/rtl-representation-of-function-call-insns | |
46 | rtl-representation/on-the-side-ssa-form-for-rtl | |
47 | rtl-representation/structure-sharing-assumptions | |
48 | rtl-representation/reading-rtl |