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 7. Optimizing the Machine Code

In this chapter, we will cover the following recipes:

  • Eliminating common subexpressions from machine code

  • Analyzing live intervals

  • Allocating registers

  • Inserting the prologue-epilogue code

  • Code emission

  • Tail call optimization

  • Sibling call optimization