This chapter is divided into six parts and is meant to be read in order. Section numbers, theorem numbers, and exercise numbers are numbered uniformly across the whole chapter, so cross-part references remain valid as usual.

PartArticleContents
Part OneIntroduction, Specialization, Graph Capture, and Graph TransformationsChapter summary; 1 Introduction; 2 Specialization and Caching; 3 Graph Capture; 4 Graph Transformations
Part TwoAutomatic Differentiation and Lowering5 Automatic Differentiation and Activation Rematerialization; 6 Lowering and the Loop-Level Intermediate Representation
Part ThreeScheduling, Fusion, and CPU Code Generation7 Scheduling and Fusion; 8 CPU Code Generation
Part FourGPU Code Generation and Dynamic Shapes9 GPU Code Generation; 10 Dynamic Shapes
Part FiveCaching, Parallel Compilation, Measurement, and Exercises11 Caching, Parallel Compilation, and Fallback; 12 Discussion; 13 Models and Measurement; Chapter Summary; Exercises; Programming Labs
Part SixReferences and AppendicesReferences; Appendix A Source-Code Index; Appendix B Measurement Scripts; Appendix C Hints and Solutions for Selected Exercises

Overview of the Stax compiler stack