O'Reilly logo

Engineering a Compiler by Linda Torczon, Keith Cooper

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Appendix A. ILOC

Chapter Overview

iloc is the assembly code for a simple abstract machine. It was originally designed as a low-level, linear ir for use in an optimizing compiler. We use it throughout the book as an example ir. We also use it as a simplified target language in the chapters that discuss code generation. This appendix serves as a reference on iloc.
Keywords: Intermediate Representation, Three-Address Code, iloc

A.1. Introduction

iloc is the linear assembly code for a simple abstract risc machine. The iloc used in this book is a simplified version of the intermediate representation that was used in the Massively Scalar Compiler Project at Rice University. For example, iloc as presented here assumes one generic data type, an integer without ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required