EasterBlack-owned or founded brands at TargetGroceryClothing, Shoes & AccessoriesBabyHomeFurnitureKitchen & DiningOutdoor Living & GardenToysElectronicsVideo GamesMovies, Music & BooksSports & OutdoorsBeautyPersonal CareHealthPetsHousehold EssentialsArts, Crafts & SewingSchool & Office SuppliesParty SuppliesLuggageGift IdeasGift CardsClearanceTarget New ArrivalsTarget Finds#TargetStyleTop DealsTarget Circle DealsWeekly AdShop Order PickupShop Same Day DeliveryRegistryRedCardTarget CircleFind Stores

LLVM Code Generation - by Quentin Colombet (Paperback)

LLVM Code Generation - by  Quentin Colombet (Paperback) - 1 of 1
$49.99 when purchased online
Target Online store #3991

About this item

Highlights

  • Explore the world of code generation with the LLVM infrastructure, and learn how to extend existing backends or develop your ownKey Features: - Understand the steps involved in generating assembly code from LLVM IR- Learn the key constructs needed to leverage LLVM for your hardware or backend- Strengthen your understanding with targeted exercises and practical examples in every chapter- Purchase of the print or Kindle book includes a free PDF eBookBook Description: The LLVM infrastructure is a popular compiler ecosystem widely used in the tech industry and academia.
  • Author(s): Quentin Colombet
  • 608 Pages
  • Computers + Internet, Compilers

Description



About the Book



LLVM is a key technology for building modern compilers.



Book Synopsis



Explore the world of code generation with the LLVM infrastructure, and learn how to extend existing backends or develop your own

Key Features:

- Understand the steps involved in generating assembly code from LLVM IR

- Learn the key constructs needed to leverage LLVM for your hardware or backend

- Strengthen your understanding with targeted exercises and practical examples in every chapter

- Purchase of the print or Kindle book includes a free PDF eBook

Book Description:

The LLVM infrastructure is a popular compiler ecosystem widely used in the tech industry and academia. This technology is crucial for both experienced and aspiring compiler developers looking to make an impact in the field. Written by Quentin Colombet, a veteran LLVM contributor and architect of the GlobalISel framework, this book provides a primer on the main aspects of LLVM, with an emphasis on its backend infrastructure; that is, everything needed to transform the intermediate representation (IR) produced by frontends like Clang into assembly code and object files.

You'll learn how to write an optimizing code generator for a toy backend in LLVM. The chapters will guide you step by step through building this backend while exploring key concepts, such as the ABI, cost model, and register allocation. You'll also find out how to express these concepts using LLVM's existing infrastructure and how established backends address these challenges. Furthermore, the book features code snippets that demonstrate the actual APIs.

By the end of this book, you'll have gained a deeper understanding of LLVM. The concepts presented are expected to remain stable across different LLVM versions, making this book a reliable quick reference guide for understanding LLVM.

What You Will Learn:

- Understand essential compiler concepts, such as SSA, dominance, and ABI

- Build and extend LLVM backends for creating custom compiler features

- Optimize code by manipulating LLVM's Intermediate Representation

- Contribute effectively to LLVM open-source projects and development

- Develop debugging skills for LLVM optimizations and passes

- Grasp how encoding and (dis)assembling work in the context of compilers

- Utilize LLVM's TableGen DSL for creating custom compiler models

Who this book is for:

This book is for both beginners to LLVM and experienced LLVM developers. If you're new to LLVM, it offers a clear, approachable guide to compiler backends, starting with foundational concepts. For seasoned LLVM developers, it dives into less-documented areas such as TableGen, MachineIR, and MC, enabling you to solve complex problems and expand your expertise. Whether you're starting out or looking to deepen your knowledge, this book has something for you.

Table of Contents

- Building LLVM and Understanding the Directory Structure

- Contributing to LLVM

- Compiler Basics and How They Map to LLVM APIs

- Writing Your First Optimization

- Dealing with Pass Managers

- TableGen - LLVM Swiss Army Knife for Modeling

- Understanding LLVM IR

- Survey of the Existing Passes

- Introducing Target-Specific Constructs

- Hands-On Debugging LLVM IR Passes

- Legacy Instruction Selection Framework - SelectionDAG

- Getting Started with the Machine Code Layer

- The Machine Pass Pipeline

- Getting Started with Instruction Selection

- Instruction Selection: The IR Building Phase

- Instruction Selection: The Legalization Phase

(N.B. Please use the Read Sample option to see further chapters)

Dimensions (Overall): 9.25 Inches (H) x 7.5 Inches (W) x 1.23 Inches (D)
Weight: 2.27 Pounds
Suggested Age: 22 Years and Up
Number of Pages: 608
Genre: Computers + Internet
Sub-Genre: Compilers
Publisher: Packt Publishing
Format: Paperback
Author: Quentin Colombet
Language: English
Street Date: May 23, 2025
TCIN: 1004664370
UPC: 9781837637782
Item Number (DPCI): 247-01-9087
Origin: Made in the USA or Imported
If the item details above aren’t accurate or complete, we want to know about it.

Shipping details

Estimated ship dimensions: 1.23 inches length x 7.5 inches width x 9.25 inches height
Estimated ship weight: 2.27 pounds
We regret that this item cannot be shipped to PO Boxes.
This item cannot be shipped to the following locations: American Samoa (see also separate entry under AS), Guam (see also separate entry under GU), Northern Mariana Islands, Puerto Rico (see also separate entry under PR), United States Minor Outlying Islands, Virgin Islands, U.S., APO/FPO

Return details

This item can be returned to any Target store or Target.com.
This item must be returned within 90 days of the date it was purchased in store, shipped, delivered by a Shipt shopper, or made ready for pickup.
See the return policy for complete information.

Trending Computers & Technology Books

Planes by Byron Barton (Board Book)

$7.99
Buy 2 Get 1 Free Books, Movies, Music and Funko

The Poor Man's James Bond (vol. 1) - by Kurt Saxon

$31.99 - $40.56
MSRP $39.99 - $49.99
Buy 2 Get 1 Free Books, Movies, Music and Funko

Nexus - by  Yuval Noah Harari (Hardcover)

$21.71
MSRP $35.00
Buy 2 Get 1 Free Books, Movies, Music and Funko
5 out of 5 stars with 1 ratings

Farm Anatomy - by  Julia Rothman (Paperback)

$11.89
MSRP $18.99
Buy 2 Get 1 Free Books, Movies, Music and Funko
5 out of 5 stars with 1 ratings

Discover more options

The Python Workshop - by  Andrew Bird & Lau Cher Han & Mario Corchero Jiménez (Paperback)

$52.99
MSRP $62.99
Buy 2 Get 1 Free Books, Movies, Music and Funko

Python Data Cleaning and Preparation Best Practices - by  Maria Zervou (Paperback)

$40.49
MSRP $44.99
Buy 2 Get 1 Free Books, Movies, Music and Funko

Adobe Illustrator for Creative Professionals - by  Clint Balsar (Paperback)

$44.99
MSRP $46.99
Buy 2 Get 1 Free Books, Movies, Music and Funko

Related Categories

Get top deals, latest trends, and more.

Privacy policy

Footer

About Us

About TargetCareersNews & BlogTarget BrandsBullseye ShopSustainability & GovernancePress CenterAdvertise with UsInvestorsAffiliates & PartnersSuppliersTargetPlus

Help

Target HelpReturnsTrack OrdersRecallsContact UsFeedbackAccessibilitySecurity & FraudTeam Member Services

Stores

Find a StoreClinicPharmacyTarget OpticalMore In-Store Services

Services

Target Circle™Target Circle™ CardTarget Circle 360™Target AppRegistrySame Day DeliveryOrder PickupDrive UpFree 2-Day ShippingShipping & DeliveryMore Services
PinterestFacebookInstagramXYoutubeTiktokTermsCA Supply ChainPrivacyCA Privacy RightsYour Privacy ChoicesInterest Based AdsHealth Privacy Policy