LLVM Techniques, Tips, and Best Practices Clang and Middle-End Libraries (Paperback)
暫譯: LLVM 技術、技巧與最佳實踐:Clang 與中端庫

Min-Yih Hsu

  • 出版商: Packt Publishing
  • 出版日期: 2021-04-23
  • 售價: $1,800
  • 貴賓價: 9.5$1,710
  • 語言: 英文
  • 頁數: 370
  • ISBN: 1838824952
  • ISBN-13: 9781838824952
  • 相關分類: Compiler
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

About this book

Every programmer or engineer, at some point in their career, works with compilers to optimize their applications. Compilers convert a high-level programming language into low-level machine-executable code. LLVM provides the infrastructure, reusable libraries, and tools needed for developers to build their own compilers. With LLVM’s extensive set of tooling, you can effectively generate code for different backends as well as optimize them.

In this book, you’ll explore the LLVM compiler infrastructure and understand how to use it to solve different problems. You’ll start by looking at the structure and design philosophy of important components of LLVM and gradually move on to using Clang libraries to build tools that help you analyze high-level source code. As you advance, the book will show you how to process LLVM IR – a powerful way to transform and optimize the source program for various purposes. Equipped with this knowledge, you’ll be able to leverage LLVM and Clang to create a wide range of useful programming language tools, including compilers, interpreters, IDEs, and source code analyzers.

By the end of this LLVM book, you’ll have developed the skills to create powerful tools using the LLVM framework to overcome different real-world challenges.

商品描述(中文翻譯)

### 本書介紹

每位程式設計師或工程師在其職業生涯中的某個時刻,都會與編譯器合作以優化其應用程式。編譯器將高階程式語言轉換為低階機器可執行的程式碼。LLVM 提供了開發人員構建自己編譯器所需的基礎設施、可重用的函式庫和工具。利用 LLVM 的廣泛工具集,您可以有效地為不同的後端生成程式碼並進行優化。

在本書中,您將探索 LLVM 編譯器基礎設施,並了解如何使用它來解決不同的問題。您將首先了解 LLVM 重要組件的結構和設計理念,然後逐步使用 Clang 函式庫來構建幫助您分析高階源程式碼的工具。隨著進展,本書將向您展示如何處理 LLVM IR——這是一種強大的方式,用於轉換和優化源程式以達成各種目的。掌握這些知識後,您將能夠利用 LLVM 和 Clang 創建各種有用的程式語言工具,包括編譯器、解譯器、IDE 和源程式碼分析器。

到本書結束時,您將具備使用 LLVM 框架創建強大工具的技能,以克服不同的現實挑戰。

作者簡介

Min-Yih Hsu
Min-Yih "Min" Hsu is a Ph.D. candidate in computer science at the University of California, Irvine. His research focuses on compiler engineering, code optimization, advanced hardware architectures, and system security. He has been an active member of the LLVM community since 2015 and has contributed numerous patches upstream. Min also dedicates his time to advocating LLVM and compiler engineering through various avenues, such as writing blog posts and giving talks at conferences. In his spare time, Min likes to explore a variety of different coffee beans and ways of brewing.

作者簡介(中文翻譯)

許敏毅

許敏毅(Min-Yih "Min" Hsu)是加州大學爾灣分校計算機科學的博士候選人。他的研究專注於編譯器工程、程式碼優化、高級硬體架構和系統安全。他自2015年以來一直是LLVM社群的活躍成員,並為上游貢獻了許多補丁。敏毅也致力於通過各種途徑推廣LLVM和編譯器工程,例如撰寫部落格文章和在會議上演講。在空閒時間,敏毅喜歡探索各種不同的咖啡豆和沖泡方式。