LLVM Code Generation: A deep dive into compiler backend development (Paperback)
暫譯: LLVM 代碼生成:深入探討編譯器後端開發
Colombet, Quentin, Beyls, Kristof
- 出版商: Packt Publishing
- 出版日期: 2025-05-23
- 售價: $1,800
- 貴賓價: 9.5 折 $1,710
- 語言: 英文
- 頁數: 608
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1837637784
- ISBN-13: 9781837637782
-
相關分類:
Compiler
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
Using SQLite (Paperback)$1,800$1,710 -
$700Professional Scrum Development with Microsoft Visual Studio 2012 (Paperback) -
$857深度學習 -
演算法之美:隱藏在資料結構背後的原理 (C++版)$650$507 -
手機攝影必學 BOOK:用OX帶你學會拍人物、食物、風景等情境照片$398$299 -
創意競擇:從賈伯斯黃金年代的軟體設計機密流程,窺見蘋果的創意方法、本質與卓越關鍵$460$391 -
Web 開發者一定要懂的駭客攻防術 (Web Security for Developers: Real Threats, Practical Defense)$420$332 -
CPU 設計實戰$594$564 -
編譯器設計, 2/e (Engineering a Compiler, 2/e)$719$683 -
$505極限黑客攻防:CTF 賽題揭秘 -
數據庫程序員面試筆試通關寶典$419$398 -
資料科學的統計實務 : 探索資料本質、扎實解讀數據,才是機器學習成功建模的第一步$599$473 -
Martin Fowler 的企業級軟體架構模式:軟體重構教父傳授 51個模式,活用設計思考與架構決策 (Patterns of Enterprise Application Architecture)$800$624 -
我懂了!專案管理 (暢銷紀念版)$400$316 -
電腦視覺機器學習實務|建立端到端的影像機器學習 (Practical Machine Learning for Computer Vision: End-To-End Machine Learning for Images)$780$616 -
Learning Blazor: Build Single-Page Apps with Webassembly and C# (Paperback)$2,185$2,070 -
ASP.NET Core Razor Pages in Action (Paperback)$2,300$2,185 -
$407程序員的制勝技 -
無瑕的程式碼 軟體工匠篇:程式設計師必須做到的紀律、標準與倫理 (Clean Craftsmanship: Disciplines, Standards, and Ethics)$720$562 -
LLVM 編譯器原理與實務$834$792 -
深入理解 LLVM:代碼生成$654$621 -
從源頭就優化 - 動手開發自己的編譯器實戰$880$695 -
Learning Github Copilot: Multiplying Your Coding Productivity Using AI (Paperback)$2,328$2,205 -
UX 商業價值實現之道|打造成功的數位產品服務 (UX for Business: How to Design Valuable Digital Companies)$780$616 -
建構可擴展系統|設計分散式架構 (Foundations of Scalable Systems: Designing Distributed Architectures)$780$616
商品描述
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)
商品描述(中文翻譯)
抱歉,您似乎沒有提供要翻譯的內容。請提供需要翻譯的文本,我將很樂意協助您進行翻譯。
