Scroll to navigation

CLOOG(1) User Commands CLOOG(1)


CLooG - The Chunky Loop Generator


cloog [ options | file ] ...


Options for code generation:

Last loop depth to optimize (-1: infinity) (default setting: -1).
First loop depth to start loop separation (-1: infinity) (default setting: 1).
Loop depth to stop code generation (-1: infinity) (default setting: -1).
Handle non-unit strides (1) or not (0) (default setting: 0).

-first-unroll <depth> First loop dimension to unroll (-1: no unrolling)

Options for pretty printing:

Simplify loops running one time (1) or not (0) (default setting: 1).
Allow complex equalities spreading (1) or not (0) (default setting: 0).
First level to begin the spreading (default setting: 1).
Make a new statement block per iterator in C programs (1) or not (0) (default setting: 0).
Compilable code by using preprocessor (not 0) or not (0), number being the value of the parameters (default setting: 0).
Testable code by using preprocessor (not 0) or not (0) (default setting: 0).

General options:

Name of the output file; 'stdout' is a special value: when used, output is standard output (default setting: stdout).
Display the version information (and more).
Don't print any informational messages.
Display this information.

The special value 'stdin' for 'file' makes CLooG to read data on standard input.

For bug reporting or any suggestions, please send an email to the author <>.

----- This is a loop generator for scanning Z-polyhedra. It is based on the work of F. Quillere and C. Bastoul on high level code generation and of the PolyLib Team on polyhedral computation. This program is distributed under the terms of the GNU Lesser General Public License (details at ----- It would be fair to refer the following paper in any publication resulting from the use of this software or its library: @InProceedings{Bas04, author = {Cedric Bastoul}, title = {Code Generation in the Polyhedral Model Is Easier Than You Think}, booktitle = {PACT'13 IEEE International Conference on Parallel Architecture

and Compilation Techniques},

pages = {7--16}, month = {september}, year = 2004, address = {Juan-les-Pins} } ----- For any information, please ask the author at <>.


The full documentation for CLooG is maintained as a Texinfo manual. If the info and CLooG programs are properly installed at your site, the command

info CLooG

should give you access to the complete manual.

March 2018 CLooG 0.18.4-b2b4f77 gmp bits The Chunky Loop Generator