Aller au contenu principal
MiitBookDonnez vie aux livres
Livre MiitBook

LLVM Code Generation

Auteur inconnu

Parution : 2026

The LLVM infrastructure is a popular compiler ecosystem widely used in the tech industry and academia. This technology is crucial for both experienced and aspiring compiler developers looking to make an impact in the field. Written by Quentin Colombet, a veteran LLVM contributor and architect of the GlobalISel framework, this book provides a primer on the main aspects of LLVM, with an emphasis on its backend infrastructure; that is, everything needed to transform the intermediate representation (IR) produced by frontends like Clang into assembly code and object files. You’ll learn how to write an optimizing code generator for a toy backend in LLVM. The chapters will guide you step by step through building this backend while exploring key concepts, such as the ABI, cost model, and register allocation. You’ll also find out how to express these concepts using LLVM's existing infrastructure and how established backends address these challenges. Furthermore, the book features code snippets that demonstrate the actual APIs. By the end of this book, you’ll have gained a deeper understanding of LLVM. The concepts presented are expected to remain stable across different LLVM versions, making this book a reliable quick reference guide for understanding LLVM.

MiitBook

Livres similaires

Structure and Interpretation of Computer Programs (SICP)
Langue : CHI · Parution : 1985★ 4.4

Structure and Interpretation of Computer Programs (SICP)

Harold Abelson, Gerald Jay Sussman, Julie Sussman

The C Programming Language
Langue : NOR · Parution : 1978★ 4.2

The C Programming Language

Brian W. Kernighan, Dennis MacAlistair Ritchie

Compilers, principles, techniques, and tools
Langue : DE · Parution : 1986★ 4.1

Compilers, principles, techniques, and tools

Alfred V. Aho, Monica S. Lam, Ravi Sethi, Jeffrey D. Ullman

The Practice of Programming (Addison-Wesley Professional Computing Series)English
Parution : 1999★ 4.0

The Practice of Programming (Addison-Wesley Professional Computing Series)

Brian W. Kernighan

Invitation to Computer ScienceEnglish
Parution : 1995★ 5.0

Invitation to Computer Science

G. Michael Schneider, Judith L. Gersting, Judith Gersting

Eloquent JavascriptEnglish
Parution : 2009★ 4.3

Eloquent Javascript

Marijn Haverbeke

English
Parution : 2024

Learn LLVM 17

Kai Nacke, Amy Kwan

Llvm
Parution : 2007

Llvm

Albert Mestres, Sandra Genís