Skip to content
  • Home
  • Shop
  • About Us
  • Search
  • Contact Us
  • Login
View cart
  • Login
Close
  • Home
  • Shop
  • About Us
  • Search
  • Contact Us
Home LLVM Code Generation: A deep dive into compiler backend development - Paperback
LLVM Code Generation: A deep dive into compiler backend development
  • Books,
  • Compilers,
  • Computers,
  • Programming,
  • Software Development & Engineering,
  • Tools,

LLVM Code Generation: A deep dive into compiler backend development - Paperback

Original price $81.86 - Original price $81.86
Original price
$81.86
$81.86 - $81.86
Current price $81.86
| /
Availability: In Stock
SKU 9781837637782
  • Description
  • Reviews ()

Additional information

Report copyright infringement

by Quentin Colombet (Author), Kristof Beyls (Foreword by)

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

Get With Your Book: PDF Copy, AI Assistant, and Next-Gen Reader Free

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

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)

Number of Pages: 620
Dimensions: 1.25 x 9.25 x 7.5 IN
Publication Date: May 23, 2025

You may also like

  • !Ah y Le Lo Lay, Le Lo Ley! Musica Tipica de Puerto Rico

    !Ah y Le Lo Lay, Le Lo Ley! Musica Tipica de Puerto Rico - Paperback

    In stock

    Report copyright infringementby Nereida Ayala-Guzman (Author)Pretendemos por medio de "Ahi Le Lo Lai Le Lo Lei, Música Típica de Puerto Rico", resa...

    View full details
    Original price $47.44 - Original price $47.44
    Original price
    $47.44
    $47.44 - $47.44
    Current price $47.44
    | /
    Original price $47.44 - Original price $47.44
    Original price
    $47.44
    $47.44 - $47.44
    Current price $47.44
    | /
  • !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage

    !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage - Hardcover

    In stock

    Report copyright infringementby William M. Clarkson (Author)A novel approach--very useful for quick reference.--Mark Goldin Associate Professor of ...

    View full details
    Original price $39.52 - Original price $39.52
    Original price
    $39.52
    $39.52 - $39.52
    Current price $39.52
    | /
    Original price $39.52 - Original price $39.52
    Original price
    $39.52
    $39.52 - $39.52
    Current price $39.52
    | /
  • !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage

    !Búscalo! (Look It Up!): A Quick Reference Guide to Spanish Grammar and Usage - Paperback

    In stock

    Report copyright infringementby William M. Clarkson (Author)"A novel approach-very useful for quick reference." --Mark Goldin, Associate Professor...

    View full details
    Original price $24.92 - Original price $24.92
    Original price
    $24.92
    $24.92 - $24.92
    Current price $24.92
    | /
    Original price $24.92 - Original price $24.92
    Original price
    $24.92
    $24.92 - $24.92
    Current price $24.92
    | /
  • !Eureka!

    !Eureka! - Hardcover

    In stock

    Report copyright infringementby Peter Santino (Author)A Practical Guide to Understanding and UtilizingTraditional Techniques of Plaster Repair &...

    View full details
    Original price $46.29 - Original price $46.29
    Original price
    $46.29
    $46.29 - $46.29
    Current price $46.29
    | /
    Original price $46.29 - Original price $46.29
    Original price
    $46.29
    $46.29 - $46.29
    Current price $46.29
    | /
  • !LETTER TO THE UNITED NATIONS! !REPARATIONS NOW! The Many Reasons Why: St. Mark's-in-the-Bowery Church, The Dutch Royal Family, The Kingdom of the Net

    !LETTER TO THE UNITED NATIONS! !REPARATIONS NOW! The Many Reasons Why: St. Mark's-in-the-Bowery Church, The Dutch Royal Family, The Kingdom of the Net - Paperback

    In stock

    Report copyright infringementby K. F. Harris (Author)This book !Letter to the United Nations! !Reparations Now! The Many Reasons Why: St. Mark's-in...

    View full details
    Original price $96.84 - Original price $96.84
    Original price
    $96.84
    $96.84 - $96.84
    Current price $96.84
    | /
    Original price $96.84 - Original price $96.84
    Original price
    $96.84
    $96.84 - $96.84
    Current price $96.84
    | /
Shop collection

#DiscoverGreatBooks


Discover books that inspire growth, creativity, and imagination for readers of all ages.

Main menu

  • Home
  • Shop
  • About Us
  • Search
  • Contact Us

Footer menu

  • Search

Follow us

Find us on Facebook Find us on Threads Find us on Telegram Find us on Instagram Find us on LinkedIn Find us on Twitter
  • Search

Copyright © 2026 Selloorium. All rights reserved.

  • Choosing a selection results in a full page refresh.
  • Opens in a new window.