Getting started with LLVM core libraries get to grips with LLVM essentials and use the core libraries to build advanced tools

Chapter 5: The LLVM Intermediate Representation; Overview; Understanding the LLVM IR target dependency; Exercising basic tools to manipulate the IR formats; Introducing the LLVM IR language syntax; Introducing the LLVM IR in-memory model; Writing a custom LLVM IR generator; Building and running the...

Full description

Bibliographic Details
Main Authors: Lopes, Bruno Cardoso, Auler, Rafael (Author)
Other Authors: Sawant, Aniket (Cover designer)
Format: eBook
Language:English
Published: Birmingham, England Packt Publishing Ltd 2014
Series:Community Experience Distilled
Subjects:
Online Access:
Collection: O'Reilly - Collection details see MPG.ReNa
Description
Summary:Chapter 5: The LLVM Intermediate Representation; Overview; Understanding the LLVM IR target dependency; Exercising basic tools to manipulate the IR formats; Introducing the LLVM IR language syntax; Introducing the LLVM IR in-memory model; Writing a custom LLVM IR generator; Building and running the IR generator; Learning how to write code to generate any IR construct with the C++ backend; Optimizing at the IR level; Compile-time and link-time optimizations; Discovering which passes matter; Understanding pass dependencies; Understanding the pass API; Writing a custom pass
This book is intended for enthusiasts, computer science students, and compiler engineers interested in learning about the LLVM framework. You need a background in C++ and, although not mandatory, should know at least some compiler theory. Whether you are a newcomer or a compiler expert, this book provides a practical introduction to LLVM and avoids complex scenarios. If you are interested enough and excited about this technology, then this book is definitely for you
Physical Description:314 pages illustrations
ISBN:1782166920
1782166939
9781782166931