Learn LLVM 12
eBook - ePub

Learn LLVM 12

Kai Nacke

  1. 392 pagine
  2. English
  3. ePUB (disponibile sull'app)
  4. Disponibile su iOS e Android
eBook - ePub

Learn LLVM 12

Kai Nacke

Dettagli del libro
Indice dei contenuti
Citazioni

Informazioni sul libro

Learn how to build and use all parts of real-world compilers, including the frontend, optimization pipeline, and a new backend by leveraging the power of LLVM core librariesKey Features• Get to grips with effectively using LLVM libraries step-by-step • Understand LLVM compiler high-level design and apply the same principles to your own compiler • Use compiler-based tools to improve the quality of code in C++ projectsBook DescriptionLLVM 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.What you will learn• Configure, compile, and install the LLVM framework• Understand how the LLVM source is organized• Discover what you need to do to use LLVM in your own projects• Explore how a compiler is structured, and implement a tiny compiler• Generate LLVM IR for common source language constructs• Set up an optimization pipeline and tailor it for your own needs• Extend LLVM with transformation passes and clang tooling• Add new machine instructions and a complete backendWho this book is forThis book is for compiler developers, enthusiasts, and engineers who are new to LLVM and are interested in learning about the LLVM framework. It is also useful for C++ software engineers looking to use compiler-based tools for code analysis and improvement, as well as casual users of LLVM libraries who want to gain more knowledge of LLVM essentials. Intermediate-level experience with C++ programming is mandatory to understand the concepts covered in this book more effectively.

Domande frequenti

Come faccio ad annullare l'abbonamento?
È semplicissimo: basta accedere alla sezione Account nelle Impostazioni e cliccare su "Annulla abbonamento". Dopo la cancellazione, l'abbonamento rimarrà attivo per il periodo rimanente già pagato. Per maggiori informazioni, clicca qui
È possibile scaricare libri? Se sì, come?
Al momento è possibile scaricare tramite l'app tutti i nostri libri ePub mobile-friendly. Anche la maggior parte dei nostri PDF è scaricabile e stiamo lavorando per rendere disponibile quanto prima il download di tutti gli altri file. Per maggiori informazioni, clicca qui
Che differenza c'è tra i piani?
Entrambi i piani ti danno accesso illimitato alla libreria e a tutte le funzionalità di Perlego. Le uniche differenze sono il prezzo e il periodo di abbonamento: con il piano annuale risparmierai circa il 30% rispetto a 12 rate con quello mensile.
Cos'è Perlego?
Perlego è un servizio di abbonamento a testi accademici, che ti permette di accedere a un'intera libreria online a un prezzo inferiore rispetto a quello che pagheresti per acquistare un singolo libro al mese. Con oltre 1 milione di testi suddivisi in più di 1.000 categorie, troverai sicuramente ciò che fa per te! Per maggiori informazioni, clicca qui.
Perlego supporta la sintesi vocale?
Cerca l'icona Sintesi vocale nel prossimo libro che leggerai per verificare se è possibile riprodurre l'audio. Questo strumento permette di leggere il testo a voce alta, evidenziandolo man mano che la lettura procede. Puoi aumentare o diminuire la velocità della sintesi vocale, oppure sospendere la riproduzione. Per maggiori informazioni, clicca qui.
Learn LLVM 12 è disponibile online in formato PDF/ePub?
Sì, puoi accedere a Learn LLVM 12 di Kai Nacke in formato PDF e/o ePub, così come ad altri libri molto apprezzati nelle sezioni relative a Informatica e Sviluppo software. Scopri oltre 1 milione di libri disponibili nel nostro catalogo.

Informazioni

Anno
2021
ISBN
9781839210037
Edizione
1
Argomento
Informatica

Indice dei contenuti

    Stili delle citazioni per Learn LLVM 12

    APA 6 Citation

    Nacke, K. (2021). Learn LLVM 12 (1st ed.). Packt Publishing. Retrieved from https://www.perlego.com/book/2664301/learn-llvm-12-pdf (Original work published 2021)

    Chicago Citation

    Nacke, Kai. (2021) 2021. Learn LLVM 12. 1st ed. Packt Publishing. https://www.perlego.com/book/2664301/learn-llvm-12-pdf.

    Harvard Citation

    Nacke, K. (2021) Learn LLVM 12. 1st edn. Packt Publishing. Available at: https://www.perlego.com/book/2664301/learn-llvm-12-pdf (Accessed: 25 September 2021).

    MLA 7 Citation

    Nacke, Kai. Learn LLVM 12. 1st ed. Packt Publishing, 2021. Web. 25 Sept. 2021.