LLVM Code Generation: A deep dive into compiler backend development

Språk
Engelsk
Format
Kategori

Fakta og dokumentar

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.

© 2025 Packt Publishing (E-bok): 9781835462577

Utgivelsesdato

E-bok: 23. mai 2025

Tagger

    Andre liker også ...

    Derfor vil du elske Storytel:

    • Over 900 000 lydbøker og e-bøker

    • Eksklusive nyheter hver uke

    • Lytt og les offline

    • Kids Mode (barnevennlig visning)

    • Avslutt når du vil

    Unlimited

    For deg som vil lytte og lese ubegrenset.

    219 kr /måned

    • 1 konto

    • Ubegrenset lytting

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud
    Prøv GRATIS!

    Premium

    For deg som lytter og leser ofte.

    189 kr /måned

    • 1 konto

    • 50 timer/måned

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Prøv gratis

    Family

    For deg som ønsker å dele historier med familien.

    Fra 289 kr /måned

    • 2-3 kontoer

    • Ubegrenset lytting

    • Familiens førstevalg

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Du + 1 familiemedlem

    2 kontoer

    289 kr /måned

    Benytt tilbud

    Basic

    For deg som lytter og leser av og til.

    149 kr /måned

    • 1 konto

    • 20 timer/måned

    • Over 900 000 bøker

    • Nye eksklusive bøker hver uke

    • Avslutt når du vil

    Benytt tilbud

    Prøv Storytel nå 📚

    Kos deg med ubegrenset tilgang til mer enn 900 000 titler.

    • Lytt og les så mye du vil
    • Eksklusive nyheter hver uke
    • Utforsk et stort bibliotek med fortellinger
    • Over 1500 serier på norsk
    • Ingen bindingstid, avslutt når du vil
    Benytt tilbud
    Cover for LLVM Code Generation: A deep dive into compiler backend development