
Learn LLVM 17
A beginner's guide to learning LLVM compiler tools and core libraries with C++
Explore the practical side of compiler development by working directly with LLVM's core libraries and tools. You'll learn how to build, extend, and optimize compilers using C++, gaining hands-on experience with real-world scenarios. Step through each stage from source code to optimized machine code.
Packt | Jan 2024 | 416 min
What You Will Learn
You will start by setting up and configuring LLVM, then move on to building a simple compiler frontend and generating LLVM IR. As you progress, you will optimize code, extend LLVM with new passes, and even create a backend for a custom architecture. Each step includes practical examples to reinforce your understanding.
Key Features
- Build and extend compilers using LLVM libraries and C++
- Create and optimize LLVM IR for custom language constructs
- Develop new backends and add support for custom architectures
Target Audience
Ideal for C++ developers and engineers interested in compiler construction or code analysis. If you have intermediate C++ skills and want to deepen your understanding of LLVM or build your own compiler tools, you'll find clear guidance and actionable steps to reach your goals.





