Learn LLVM 12 : A beginner's guide to learning LLVM compiler tools and core libraries with C++ (Paperback)
暫譯: 學習 LLVM 12:C++ 的 LLVM 編譯工具與核心函式庫入門指南 (平裝本)
Nacke, Kai
- 出版商: Packt Publishing
- 出版日期: 2021-05-28
- 定價: $1,980
- 售價: 6.0 折 $1,188
- 語言: 英文
- 頁數: 392
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1839213507
- ISBN-13: 9781839213502
-
相關分類:
C++ 程式語言、Compiler
-
其他版本:
Learn LLVM 17 : A beginner's guide to learning LLVM compiler tools and core libraries with C++, 2/e (Paperback)
買這商品的人也買了...
-
$2,460$2,337 -
$2,540$2,413 -
$480$379 -
$580$458 -
$580$458 -
$580$493 -
$680$537 -
$1,880$1,786 -
$1,730$1,644 -
$1,400Git for Teams: A User-Centered Approach to Creating Efficient Workflows in Git (Paperback)
-
$1,140$1,083 -
$1,600$1,520 -
$1,840Reusable Firmware Development: A Practical Approach to APIs, HALs and Drivers
-
$440$348 -
$2,000$1,900 -
$474$450 -
$600$468 -
$1,700$1,615 -
$857QEMU/KVM 源碼解析與應用
-
$414$393 -
$719$683 -
$1,800$1,710 -
$2,200$2,090 -
$2,150$2,043 -
$714$678
相關主題
商品描述
LLVM was built to bridge the gap between compiler textbooks and actual compiler development. It provides a modular codebase and advanced tools which help developers to build compilers easily. This book provides a practical introduction to LLVM, gradually helping you navigate through complex scenarios with ease when it comes to building and working with compilers.
You’ll start by configuring, building, and installing LLVM libraries, tools, and external projects. Next, the book will introduce you to LLVM design and how it works in practice during each LLVM compiler stage: frontend, optimizer, and backend. Using a subset of a real programming language as an example, you will then learn how to develop a frontend and generate LLVM IR, hand it over to the optimization pipeline, and generate machine code from it. Later chapters will show you how to extend LLVM with a new pass and how instruction selection in LLVM works. You’ll also focus on Just-in-Time compilation issues and the current state of JIT-compilation support that LLVM provides, before finally going on to understand how to develop a new backend for LLVM.
By the end of this LLVM book, you will have gained real-world experience in working with the LLVM compiler development framework with the help of hands-on examples and source code snippets.
商品描述(中文翻譯)
LLVM 是為了彌補編譯器教科書與實際編譯器開發之間的差距而建立的。它提供了一個模組化的代碼庫和先進的工具,幫助開發者輕鬆構建編譯器。本書提供了對 LLVM 的實用介紹,逐步幫助您在構建和使用編譯器時輕鬆應對複雜的情境。
您將首先配置、構建和安裝 LLVM 的庫、工具和外部專案。接下來,本書將介紹 LLVM 的設計以及它在每個 LLVM 編譯器階段(前端、優化器和後端)中的實際運作。使用一個真實編程語言的子集作為範例,您將學習如何開發前端並生成 LLVM IR,將其交給優化管道,並從中生成機器碼。後面的章節將展示如何通過新增的通過(pass)來擴展 LLVM,以及 LLVM 中指令選擇的運作方式。您還將專注於即時編譯(Just-in-Time compilation)問題以及 LLVM 提供的 JIT 編譯支持的當前狀態,最後了解如何為 LLVM 開發新的後端。
在本書結束時,您將獲得在 LLVM 編譯器開發框架中工作的實際經驗,並通過實作範例和源代碼片段來加深理解。