Preface
Welcome to LLVM Code Generation
The LLVM infrastructure is a set of libraries that can be composed to build various tools that manipulate intermediate representations (IRs) and in particular compilers – that is, tools that translate an input language (for instance, C++) into an output language (for instance, x86 assembly code) while preserving the semantics of the input language. One of the most known LLVM-based projects is the Clang C++ toolchain.
In this book, we focus on the usage of the LLVM infrastructure to write compiler backends – that is, the part of the compiler that is responsible for producing the assembly code for a specific architecture such as the AArch64 or x86 central processing units (CPUs) for writing backends.
An ...
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