Cooper, Keith D.

Engineering a compiler / Keith D. Cooper and Linda Torczon. - San Francisco, Calif. ; London : Morgan Kaufmann ; c2004. - xxx, 801 p. : ill. ; 24 cm.

Includes bibliographical references (p. 703-724) and index.

Ch. 1. Overview of Compilation -- Ch. 2. Scanning -- Ch. 3. Parsing -- Ch. 4. Context-Sensitive Analysis -- Ch. 5. Intermediate Representations -- Ch. 6. The Procedure Abstraction -- Ch. 7. Code Shape -- Ch. 8. Introduction to Code Optimization -- Ch. 9. Data-Flow Analysis -- Ch. 10. Scalar Optimizations -- Ch. 11. Instruction Selection -- Ch. 12. Instruction Scheduling -- Ch. 13. Register Allocation -- App. A. ILOC.

"The proliferation of processors, environments, and constraints on systems has cast compiler technology into a wider variety of settings, changing the compiler and compiler writer's role. No longer is execution speed the sole criterion for judging compiled code. Today, code might be judged on how small it is, how much power it consumes, how well it compresses, or how many page faults it generates. In this evolving environment, the task of building a successful compiler relies upon the compiler writer's ability to balance and blend algorithms, engineering insights, and careful planning. Today's compiler writer must choose a path through a design space that is filled with diverse alternatives, each with distinct costs, advantages, and complexities." "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 presenting the parameters of the problem and their impact on compiler design, the authors convey both the depth of the problems and the breadth of possible solutions. Their goal is to show readers that real tradeoffs exist, and that the impact of those choices can be both subtle and far-reaching."--BOOK JACKET.

155860698X (cased) 9781558606982 (cased) 1558606998 (pbk.) 9781558606999 (pbk.)

2004268209


Compilers (Computer programs)

QA76.76.C65 / C675 2004

005.453