The Cetus Compiler Manual

Cetus Team

Purdue University
ParaMount Research Group

Abstract

Cetus is a source-to-source parallelizing compiler for ISO/ANSI C. It can run on any system supporting Oracle's Java Runtime Environment, Standard Edition 6 or later. If you are referring to a printed version of this document, the most recent version can be found at http://cetus.ecn.purdue.edu/. You can view this manual as a single HTML file here.


Table of Contents

I. Overview
1. Introduction
2. Background
GCC
Polaris
SUIF
3. License
II. Users Guide
4. Obtaining Cetus
5. Building Cetus
6. Running Cetus
Quick Start
Command Line Options
7. Optimization and Analysis Passes
Data Dependence Analysis
Induction Variable Recognition and Substitution
Reduction Variable Recognition
Privatization
Points-to Analysis
Alias Analysis
Range Analysis
OpenMP
III. Developers Guide
8. Architecture of Cetus
Front End
Integrated Parsers
Separate Parsers
Handling Pragmas and Comments
Intermediate Representation
Class Hierarchy Design
Major Classes
Relationship Between Grammar and IR
Syntax Tree Invariants
Annotations
Back End
9. Writing a Pass
Making Cetus Execute Your Pass
Iterators
Tools
Expression Simplifier
Modifying IR
Printing