Book

LLVM Techniques, Tips, and Best Practices Clang and Middle-End Libraries

LLVM is one of the most popular and powerful frameworks for creating programming language tools such as compilers, source analyzers, and dynamic execution runtime. With this book, you'll discover some of the most critical parts of LLVM and get hands-on using LLVM to build projects in no time.

Offered byPackt Logo

Difficulty Level

Intermediate

Completion Time

12h20m

Language

English

About Book

Who Is This Book For?

This book is for software engineers of all experience levels who work with LLVM. If you are an academic researcher, this book will help you learn useful LLVM skills in a short time and enable you to build your prototypes and projects quickly. Programming language enthusiasts will also find this book useful for building a new programming language with the help of LLVM.

Book content

chapters 12h20m total length

Saving resources when building LLVM from source

Exploring LLVM’s Build System Features

Advanced usages of LLVM LIT

TableGen Development: For Fun and For Profit

Exploring Clang’s Architecture

Extending the preprocessors

Handling AST

Working with Compiler Flags and Toolchains

All you need to know about the new PassManager and AnalysisManager

Processing IR in a proper way

Gearing up with support utilities

PGO and Sanitizers developments

Related Resources

Access Ready-to-Use Books for Free!

Get instant access to a library of pre-built books—free trial, no credit card required. Start training your team in minutes!

No credit card required