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 4. Preparing Optimizations

In this chapter, we will cover the following recipes:

  • Various levels of optimization

  • Writing your own LLVM pass

  • Running your own pass with the opt tool

  • Using another pass in a new pass

  • Registering a pass with pass manager

  • Writing an analysis pass

  • Writing an alias analysis pass

  • Using other analysis passes