LLVM Cookbook

Over 80 engaging recipes that will help you build a compiler frontend, optimizer, and code generator using LLVM

LLVM Cookbook

Mayur Pandey, Suyog Sarda

3 customer reviews
Over 80 engaging recipes that will help you build a compiler frontend, optimizer, and code generator using LLVM
Mapt Subscription
FREE
$30.00/m after trial
eBook
$25.20
RRP $35.99
Save 29%
Print + eBook
$44.99
RRP $44.99
What do I get with a Mapt subscription?
  • Unlimited access to all Packt’s 6,000+ eBooks and Videos
  • 100+ new titles a month, learning paths, assessments & code files
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the subscription reader
$0.00
$25.20
$44.99
$29.99 p/m after trial
RRP $35.99
RRP $44.99
Subscription
eBook
Print + eBook
Start 14 Day Trial

Frequently bought together


LLVM Cookbook Book Cover
LLVM Cookbook
$ 35.99
$ 25.20
Test-Driven iOS Development with Swift 4 - Third Edition Book Cover
Test-Driven iOS Development with Swift 4 - Third Edition
$ 31.99
$ 22.40
Buy 2 for $35.00
Save $32.98
Add to Cart

Book Details

ISBN 139781785285981
Paperback296 pages

Book Description

LLVM is a compiler framework with libraries that provides a modern source-and target-independent optimizer, along with a code generator.

This book not only explains the effective use of the compiler infrastructure that LLVM provides, but also helps you implement it in one of your projects. You start with a simple task to get you up-and-running with LLVM, followed by learning the process of writing a frontend for a language, which includes writing a lexer, a parser, and generating IR code. You will then see how to implement optimizations at different levels, generate target-independent code, and then map this generated code to a backend. Finally, you will look into the functionalities that the LLVM infrastructure provides, such as exception handling, LLVM Utility Passes, using sanitizers, the garbage collector, and how we can use these in our projects.

Table of Contents

What You Will Learn

  • Introduction to LLVM modular design and LLVM tools
  • Write a frontend for a language
  • Add JIT support and use frontends for different languages
  • Learn about the LLVM Pass infrastructure and the LLVM Pass Manager
  • Create analyses and transform optimization passes
  • Build a LLVM TOY backend from scratch
  • Optimize the code at SelectionDAG level and allocate registers to variables

Authors

Table of Contents

Book Details

ISBN 139781785285981
Paperback296 pages
Read More
From 3 reviews

Read More Reviews

Recommended for You

Test-Driven iOS Development with Swift 4 - Third Edition Book Cover
Test-Driven iOS Development with Swift 4 - Third Edition
$ 31.99
$ 22.40
Mastering Blockchain Book Cover
Mastering Blockchain
$ 39.99
$ 28.00
Go Systems Programming Book Cover
Go Systems Programming
$ 39.99
$ 28.00
Rust Essentials - Second Edition Book Cover
Rust Essentials - Second Edition
$ 35.99
$ 25.20
Modern C++ Programming Cookbook Book Cover
Modern C++ Programming Cookbook
$ 39.99
$ 28.00
Mastering C++ Multithreading Book Cover
Mastering C++ Multithreading
$ 35.99
$ 25.20