LLVM Cookbook (Paperback)
Mayur Pandey, Suyog Sarda
- 出版商: Packt Publishing
- 出版日期: 2015-05-30
- 售價: $1,730
- 貴賓價: 9.5 折 $1,644
- 語言: 英文
- 頁數: 296
- 裝訂: Paperback
- ISBN: 178528598X
- ISBN-13: 9781785285981
-
相關分類:
Compiler
-
相關翻譯:
LLVM Cookbook中文版 (簡中版)
立即出貨 (庫存=1)
買這商品的人也買了...
-
$1,925$1,829 -
$2,180$2,071 -
$720$684 -
$2,565C++ Primer, 5/e (美國原版)
-
$580$452 -
$360$281 -
$1,646Operating System Concepts, 9/e (IE-Paperback)
-
$520$406 -
$1,880$1,786 -
$2,090$1,980 -
$480$432 -
$680$530 -
$550$468 -
$880$695 -
$390$332 -
$480$408 -
$780$616 -
$360$284 -
$199編譯技術
-
$1,140$1,083 -
$680$537 -
$390$304 -
$580$458 -
$440$374 -
$1,188Learn LLVM 12 : A beginner's guide to learning LLVM compiler tools and core libraries with C++ (Paperback)
相關主題
商品描述
Over 80 engaging recipes that will help you build a compiler frontend, optimizer, and code generator using LLVM
About This Book
- Write a frontend for any language to generate LLVM IR
- Create optimization passes to optimize the IR code using LLVM Pass Infrastructure and Pass Manager
- Design and implement structures for highly-optimized compilers using LLVM, through detailed step-by-step recipes
Who This Book Is For
The book is for compiler programmers who are familiar with concepts of compilers and want to indulge in understanding, exploring, and using LLVM infrastructure in a meaningful way in their work.
This book is also for programmers who are not directly involved in compiler projects but are often involved in development phases where they write thousands of lines of code. With knowledge of how compilers work, they will be able to code in an optimal way and improve performance with clean code.
In Detail
LLVM is a compiler framework with libraries that provides a modern source-and target-independent optimizer, along with a code generator.
This book not only explains the effective use of the compiler infrastructure that LLVM provides, but also helps you implement it in one of your projects. You start with a simple task to get you up-and-running with LLVM, followed by learning the process of writing a frontend for a language, which includes writing a lexer, a parser, and generating IR code. You will then see how to implement optimizations at different levels, generate target-independent code, and then map this generated code to a backend. Finally, you will look into the functionalities that the LLVM infrastructure provides, such as exception handling, LLVM Utility Passes, using sanitizers, the garbage collector, and how we can use these in our projects.
商品描述(中文翻譯)
超過80個引人入勝的食譜,將幫助您使用LLVM構建編譯器前端、優化器和代碼生成器。
關於本書
- 編寫任何語言的前端以生成LLVM IR
- 使用LLVM Pass Infrastructure和Pass Manager創建優化過程以優化IR代碼
- 通過詳細的逐步食譜設計和實現高度優化的編譯器結構
本書適合對編譯器概念熟悉並希望深入了解、探索和有效使用LLVM基礎設施的編譯器程序員。
本書也適合不直接參與編譯器項目但經常參與開發階段並編寫大量代碼的程序員。通過了解編譯器的工作原理,他們將能夠以最佳方式編寫代碼,並通過乾淨的代碼提高性能。
詳細內容
LLVM是一個具有庫的編譯器框架,提供現代的源和目標獨立優化器以及代碼生成器。
本書不僅解釋了LLVM提供的編譯器基礎設施的有效使用,還幫助您在自己的項目中實施它。您將從一個簡單的任務開始,讓您快速上手LLVM,然後學習為一種語言編寫前端的過程,包括編寫詞法分析器、解析器和生成IR代碼。然後,您將看到如何在不同層次上實現優化,生成與目標無關的代碼,然後將此生成的代碼映射到後端。最後,您將研究LLVM基礎設施提供的功能,例如異常處理、LLVM實用程序過程、使用消毒劑、垃圾收集器,以及我們如何在項目中使用這些功能。