Book Image

LLVM Cookbook

Book Image

LLVM Cookbook

Overview of this book

Table of Contents (16 chapters)
LLVM Cookbook
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 5. Implementing Optimizations

In this chapter, we will cover the following recipes:

  • Writing a dead code elimination pass

  • Writing an inlining transformation pass

  • Writing a pass for memory optimization

  • Combining LLVM IR

  • Transforming and optimizing loops

  • Reassociating expressions

  • Vectorizing IR

  • Other optimization passes