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 1. LLVM Design and Use

In this chapter, we will cover the following topics:

  • Understanding modular design

  • Cross-compiling Clang/LLVM

  • Converting a C source code to LLVM assembly

  • Converting IR to LLVM bitcode

  • Converting LLVM bitcode to target machine assembly

  • Converting LLVM bitcode back to LLVM assembly

  • Transforming LLVM IR

  • Linking LLVM bitcode

  • Executing LLVM bitcode

  • Using C frontend Clang

  • Using the GO frontend

  • Using DragonEgg