LIBRISTO
LIBROAMANTO
mandatory
Become part of a community of book lovers from all over the world and get access to a whole bunch of benefits. Create an account for free
0
Austrian Post 5.49 DPD courier 3.99 DPD point 2.99

Learn LLVM 12

A beginner's guide to learning LLVM compiler tools and core libraries with C++

Language EnglishEnglish
Book Paperback
Book Learn LLVM 12 Kai Nacke
Libristo code: 35831671
Publishers Packt Publishing Limited, May 2021
Learn how to build and use all parts of real-world compilers, including the frontend, optimization p... Full description
? points 143 b
58.29 VAT included
In stock at our supplier Shipping in 9-15 days
Austria Delivery to Austria

30-day return policy


Customers also purchased


Félix Vallotton Félix VALLOTTON / Book Paperback
common.buy 11.99

Learn how to build and use all parts of real-world compilers, including the frontend, optimization pipeline, and a new backend by leveraging the power of LLVM core libraries

Key Features

  • Get to grips with effectively using LLVM libraries step-by-step
  • Understand LLVM compiler high-level design and apply the same principles to your own compiler
  • Use compiler-based tools to improve the quality of code in C++ projects

Book Description

LLVM was built to bridge the gap between compiler textbooks and actual compiler development. It provides a modular codebase and advanced tools which help developers to build compilers easily. This book provides a practical introduction to LLVM, gradually helping you navigate through complex scenarios with ease when it comes to building and working with compilers.

You'll start by configuring, building, and installing LLVM libraries, tools, and external projects. Next, the book will introduce you to LLVM design and how it works in practice during each LLVM compiler stage: frontend, optimizer, and backend. Using a subset of a real programming language as an example, you will then learn how to develop a frontend and generate LLVM IR, hand it over to the optimization pipeline, and generate machine code from it. Later chapters will show you how to extend LLVM with a new pass and how instruction selection in LLVM works. You'll also focus on Just-in-Time compilation issues and the current state of JIT-compilation support that LLVM provides, before finally going on to understand how to develop a new backend for LLVM.

By the end of this LLVM book, you will have gained real-world experience in working with the LLVM compiler development framework with the help of hands-on examples and source code snippets.

What you will learn

  • Configure, compile, and install the LLVM framework
  • Understand how the LLVM source is organized
  • Discover what you need to do to use LLVM in your own projects
  • Explore how a compiler is structured, and implement a tiny compiler
  • Generate LLVM IR for common source language constructs
  • Set up an optimization pipeline and tailor it for your own needs
  • Extend LLVM with transformation passes and clang tooling
  • Add new machine instructions and a complete backend

Who this book is for

This book is for compiler developers, enthusiasts, and engineers who are new to LLVM and are interested in learning about the LLVM framework. It is also useful for C++ software engineers looking to use compiler-based tools for code analysis and improvement, as well as casual users of LLVM libraries who want to gain more knowledge of LLVM essentials. Intermediate-level experience with C++ programming is mandatory to understand the concepts covered in this book more effectively.

Table of Contents

  1. Installing LLVM
  2. Touring the LLVM source
  3. The Structure of a Compiler
  4. Turning the Source File into an Abstract Syntax Tree
  5. Basics of IR Generation
  6. IR Generation for High-Level Language Constructs
  7. Advanced IR Generation
  8. Optimizing IR
  9. Instruction Selection
  10. JIT Compilation
  11. Debugging Using LLVM Tools
  12. Creating Your Own Backend
Actress & Polyglot
EWA KASP for
Play video
Ewa Kasp
Libristo has the largest selection of foreign-language books. That’s why I buy my books there.

About the book

Full name Learn LLVM 12
Author Kai Nacke
Language English
Binding Book - Paperback
Date of issue 2021
Number of pages 392
EAN 9781839213502
ISBN 1839213507
Libristo code 35831671
Weight 730
Dimensions 191 x 235 x 22
Give this book today
It's easy
1 Add to cart and choose Deliver as present at the checkout 2 We'll send you a voucher 3 The book will arrive at the recipient's address

You might also be interested in


LLVM Essentials Suyog Sarda / Book Paperback
common.buy 28.89
Python 3 Text Processing with NLTK 3 Cookbook Jacob Perkins / Book Paperback
common.buy 51.39
Top
The Perks of Being a Wallflower Stephen Chbosky / Book Paperback
common.buy 9.59
Top
Mastering the Potter's Wheel Ben Carter / Book Hardback
common.buy 24.29
Top
Botanical Inspirations Lynn Araujo / Printed items Cards
common.buy 18.39
Top
Tasha's Cauldron of Everything Wizards RPG Team / Book Hardback
common.buy 45.79
Top
The Burning God R. F. Kuang / Book Paperback
common.buy 10.29
Top
Hellsing Deluxe Volume 1 Kohta Hirano / Book Hardback
common.buy 43.79
Top
Demon Slayer: Kimetsu no Yaiba, Vol. 18 Koyoharu Gotouge / Book Paperback
common.buy 10.29
Top
Jujutsu Kaisen, Vol. 7 Gege Akutami / Book Paperback
common.buy 10.99
Hans-Christian Schink: Hinterland Oswald Egger / Book Paperback
common.buy 57.59
Has China Won? Kishore Mahbubani / Book Hardback
common.buy 24.29
Top
Bleach: Can't Fear Your Own World, Vol. 1 Tite Kubo / Book Paperback
common.buy 12.49
Top
The Muse Tarot Chris-Anne Donnelly / Printed items Cards
common.buy 21.89
Top
Fleabag: The Scriptures Phoebe Waller-Bridge / Book Hardback
common.buy 27.79
Two Variable Algebra and Quadratics David Eastwood / Book Paperback
common.buy 15.39
Top
Dune Messiah Frank Herbert / Book Paperback
common.buy 8.39
Top
Berserk Deluxe Volume 3 Kentaro Miura / Book Hardback
common.buy 39.99
Top
Harry Potter Crochet Lucy Collin / Book Hardback
common.buy 20.59
Top
Haikyu!!, Vol. 34 Haruichi Furudate / Book Paperback
common.buy 8.89
Top
How to Make Friends with the Dark Kathleen Glasgow / Book Paperback
common.buy 8.99

Login

Log in to your account. Don't have a Libristo account? Create one now!

 
mandatory
mandatory

Don’t have an account? Discover the benefits of having a Libristo account!

With a Libristo account, you'll have everything under control.

Create a Libristo account
Book advisor Libroamiko
Hi, I'm Libroamiko, can I help?