# Compaq KAP C/OpenMP
for Tru64 UNIX
User Guide

Previous | Contents | Index

# Chapter 1
What Is Compaq KAP C?

Compaq KAP C is a source-to-source preprocessor that restructures C code for improved performance and better utilization of the memory hierarchy of Tru64 UNIX systems. Additionally, KAP C performs parallel decomposition to take advantage of shared memory and symmetric multiprocessors. By eliminating inefficiencies and bottlenecks, KAP C enables you to get your answers faster without time-consuming hand recoding of applications programs.

Because KAP C makes it possible to run serial C programs efficiently on advanced architecture computers without hand recoding, the original programs remain portable and users need not concern themselves with the details of each machine.

KAP C optimizations include:

- Memory management (data locality)
- Function inlining
- Interprocedural analysis (IPA)
- Dead-code elimination
- Local variable identification
- Loop reordering
- Induction variable recognition
- Global forward substitution
- Variable lifetime analysis
- Loop peeling

The KAP conversion process is designed to operate effectively without intervention from you. KAP C provides a large set of command-line switches and inline assertions and directives that the advanced user can use for even better performance on specific code. The optional KAP C listing file includes information that identifies the parts of the source program that could benefit from such attention.

Previous | Next | Contents | Index