Engineering a Compiler explores this design space by presenting some of the ways these problems have been solved, and the constraints that made each of those solutions attractive. By understanding the parameters of the problem and their impact on compiler design, the authors hope to convey both the depth of the problems and the breadth of possible solutions. Their goal is to cover a broad enough selection of material to show readers that real tradeoffs exist, and that the impact of those choices can be both subtle and far-reaching.
Authors Keith Cooper and Linda Torczon convey both the art and the science of compiler construction and show best practice algorithms for the major passes of a compiler. Their text re-balances the curriculum for an introductory course in compiler construction to reflect the issues that arise in current practice.
- Focuses on the back end of the compiler-reflecting the focus of research and development over the last decade.
- Uses the well-developed theory from scanning and parsing to introduce concepts that play a critical role in optimization and code generation.
- Introduces the student to optimization through data-flow analysis, SSA form, and a selection of scalar optimizations.
- Builds on this background to teach modern methods in code generation: instruction selection, instruction scheduling, and register allocation.
- Presents examples in several different programming languages in order to best illustrate the concept.
- Provides end-of-chapter exercises.
Dieser Download kann aus rechtlichen Gründen nur mit Rechnungsadresse in A, B, BG, CY, CZ, D, DK, EW, E, FIN, F, GR, HR, H, IRL, I, LT, L, LR, M, NL, PL, P, R, S, SLO, SK ausgeliefert werden.