Kwan, Amy
Learn LLVM 17 - Second Edition: A beginner's guide to learning LLVM compiler tools and core libraries with C++
- ISBN 13:
- 9781837631346
- author:
- Kwan, Amy
- format:
- Paperback
- publisher:
- Packt Publishing Limited
- language:
- English
- Publication Year:
- 2024
- Pages:
- 416
- Dimensions:
- 23.5 x 19.1 x 2.2 centimetres (0
- Genre:
- Computers, Programming, C++,
- Condition:
- New
- Availability:
- Item usually sent within 5 working days
Description
Build and use the complete spectrum of real-world compilers with LLVM core libraries. This comprehensive guide takes you through complex scenarios, ensuring you navigate the challenges of building and working with compilers like a pro. You'll start by configuring, building, and installing LLVM libraries, tools, and external projects, before diving into its design and applications in each compiler stage: frontend, optimizer, and backend. You'll build a frontend, generate LLVM IR, optimize it through the pipeline, and generate machine code, covering topics such as extending LLVM with a new pass, using LLVM tools for debugging, and enhancing the quality of your code. Finally, you'll develop a new backend for LLVM, gaining insights into target description and how instruction selection works. With this practical introduction to LLVM, you'll be empowered to build compilers with ease.