Candl  0.6.1
Classes | Typedefs | Functions
options.h File Reference
#include <stdio.h>
Include dependency graph for options.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  candloptions

Typedefs

typedef struct candloptions CandlOptions

Functions

void candl_options_print (FILE *, CandlOptions *)
void candl_options_free (CandlOptions *)
void candl_options_read (int, char **, FILE **, FILE **, CandlOptions **)
CandlOptionscandl_options_malloc (void)

Typedef Documentation

typedef struct candloptions CandlOptions

Function Documentation

void candl_options_free ( CandlOptions options)

candl_options_free function: This function frees the allocated memory for a CandlOptions structure. April 19th 2003: first version.

Referenced by candl_dependence_prune_with_privatization(), candl_dependence_scalar_is_privatizable_at(), and main().

candl_options_malloc function: This functions allocate the memory space for a CandlOptions structure and fill its fields with the defaults values. It returns a pointer to the allocated CandlOptions structure. April 19th 2003: first version.

< 1 to use experimental dependence pruning algorithm.

References candloptions::commute, candloptions::depgraph, candloptions::fullcheck, candloptions::lastwriter, candloptions::prune_dups, candloptions::rar, candloptions::raw, candloptions::readscop, candloptions::scalar_expansion, candloptions::scalar_privatization, candloptions::scalar_renaming, candloptions::scoptocandl, candloptions::structure, candloptions::verbose, candloptions::view, candloptions::violgraph, candloptions::war, candloptions::waw, and candloptions::writescop.

Referenced by candl_dependence_prune_with_privatization(), candl_dependence_scalar_is_privatizable_at(), and candl_options_read().

void candl_options_print ( FILE *  foo,
CandlOptions options 
)

------ ( ----------------------------------------------------------** )\ CAnDL ** ----- / ) --------------------------------------------------------** ( * ( options.c ** ---- #/ --------------------------------------------------------** .-"#'-. First version: september 8th 2003 ** --- |"-.-"| -------------------------------------------------------** | | | | | | ************************************************************* CAnDL '-._,-' the Chunky Analyzer for Dependences in Loops (experimental) *

* Copyright (C) 2003 Cedric Bastoul * * This is free software; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation; either version 2 of the License, or (at your option) any later * version. * * This software is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License * for more details. * * You should have received a copy of the GNU General Public License along * with software; if not, write to the Free Software Foundation, Inc., * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * * CAnDL, the Chunky Dependence Analyser * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr * * candl_option_print function: This function prints the content of a CandlOptions structure (program) into a file (foo, possibly stdout). April 19th 2003: first version.

void candl_options_read ( int  argc,
char **  argv,
FILE **  input,
FILE **  output,
CandlOptions **  options 
)

candl_options_read function: This functions reads all the options and the input/output files thanks the the user's calling line elements (in argc). It fills a CandlOptions structure and the FILE structure corresponding to input and output files. August 5th 2002: first version. April 19th 2003: now in options.c and support of the CandlOptions structure.

References candl_options_help(), candl_options_malloc(), candl_options_set(), and candl_options_version().

Referenced by main().