Tag: Llvm

Learn LLVM 17 (2nd Edition)


Free Download Learn LLVM 17: A beginner’s guide to learning LLVM compiler tools and core libraries with C++
English | 2024 | ISBN: 1837631344 | 615 Pages | EPUB | 3 MB
The book starts by showing you how to configure, build, and install LLVM libraries, tools, and external projects. You’ll then be introduced to LLVM’s design, unraveling its applications in each compiler stage: frontend, optimizer, and backend. Using a real programming language subset, you’ll build a frontend, generate LLVM IR, optimize it through the pipeline, and generate machine code. Advanced chapters extend your expertise, covering topics such as extending LLVM with a new pass, using LLVM tools for debugging, and enhancing the quality of your code. You’ll also focus on just-in-time compilation issues and the current state of JIT-compilation support with LLVM. Finally, you’ll develop a new backend for LLVM, gaining insights into target description and how instruction selection works.

(more…)