Advanced Compiler Design and Implementation This textbook is the one I kept after the course ended for reference.