Compiler Basics and How They Map to LLVM APIs
This chapter introduces the fundamental concepts of working on a compiler and shows how they map to Low Level Virtual Machine (LLVM) application programming interfaces (APIs). In this chapter, you will do the following:
- Familiarize yourself with the vocabulary used in compilers
- Build a mental model of what these concepts are used for
- Learn how to manipulate these concepts through LLVM APIs
To help you solidify your knowledge, you will write a couple of programs that build some intermediate representation (IR) from scratch.
Before we get started, let us review the software that you will need for this chapter.