Overview
"LLVM Code Generation: A Deep Dive into Compiler Backend Development" provides an in-depth guide to working with the LLVM compiler infrastructure, specifically focusing on backend development. With this book, you'll learn how to craft a backend for a toy architecture, explore LLVM's APIs and constructs like TableGen, and gain insight into compiler fundamentals necessary for backend development.
What this Book will help me do
- Gain a deep understanding of LLVM Intermediate Representation (IR) and its optimization capabilities.
- Develop a custom backend for LLVM, implementing code generation for a toy architecture.
- Master debugging techniques for LLVM backend passes and optimizations.
- Enhance your skills in TableGen and the Machine Code (MC) layer for efficient code modeling.
- Effectively contribute to the LLVM open-source project by understanding its directory structure and processes.
Author(s)
Quentin Colombet, an expert in compiler development and a long-time contributor to LLVM, is the architect behind LLVM's GlobalISel framework. With extensive experience in backend development and optimization, he provides clear, accessible explanations tailored for technical readers.
Who is it for?
This book is ideal for software developers, computer science students, and researchers interested in compiler development. If you're new to LLVM, this book offers a structured introduction to building compilers. If you're an experienced LLVM developer, it provides deeper insights into LLVM backend techniques. It's for anyone aiming to expand their skills in software and compiler engineering.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access