[ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
3 Using the CLooG Library
The CLooG Library was implemented to allow the user to call CLooG
directly from his programs, without file accesses or system calls. The
user only needs to link his programs with C libraries. The CLooG
library mainly provides one function (cloog_clast_create_from_input
)
which takes as input the problem
description with some options, and returns the data structure corresponding
to the generated code (a struct clast_stmt
structure)
which is more or less an abstract syntax tree.
The user can work with this data structure and/or use
our pretty printing function to write the final code in either C or FORTRAN.
Some other functions are provided for convenience reasons.
These functions as well as the data structures are described in this section.
3.1 CLooG Data Structures Description | ||
3.2 CLooG Output | ||
3.3 Retrieving version information | ||
3.4 Example of Library Utilization |
This document was generated on August 20, 2013 using texi2html 5.0.