Candl
0.6.1
|
Functions | |
void | candl_violation_print_structure (file, violation, level) |
void | candl_violation_print (FILE *file, CandlViolation *violation) |
void | candl_violation_pprint (FILE *file, CandlViolation *violation) |
void | candl_violation_view (CandlViolation *violation) |
void | candl_violation_free (CandlViolation *violation) |
CandlViolation * | candl_violation_malloc () |
void | candl_violation_add (CandlViolation **start, CandlViolation **now, CandlViolation *violation) |
CandlViolation * | candl_violation (program, dependence, options) |
CandlViolation* candl_violation | ( | program | , |
dependence | , | ||
options | |||
) |
candl_violation function : this function will build the list of violated dependences by a program transformation candidate, according to some user options. It returns the linked list of violations.
References candl_dependence(), candl_matrix_free(), candl_matrix_violation(), CANDL_min, candl_violation_add(), candl_violation_malloc(), candlstatement::domain, candldependence::domain, candloptions::fullcheck, candlstatement::label, candldependence::next, candldependence::source, and candldependence::target.
Referenced by main().
void candl_violation_add | ( | CandlViolation ** | start, |
CandlViolation ** | now, | ||
CandlViolation * | violation | ||
) |
References candlviolation::next.
Referenced by candl_violation().
void candl_violation_free | ( | CandlViolation * | violation | ) |
References candl_matrix_free(), candlviolation::domain, and candlviolation::next.
Referenced by main().
candl_violation_malloc function: This function allocates the memory space for a CandlViolation structure and sets its fields with default values. Then it returns a pointer to the allocated space.
References CANDL_UNSET, candlviolation::dependence, candlviolation::dimension, candlviolation::domain, and candlviolation::next.
Referenced by candl_violation().
void candl_violation_pprint | ( | FILE * | file, |
CandlViolation * | violation | ||
) |
References CANDL_RAR, CANDL_RAW, CANDL_RELEASE, CANDL_UNSET, CANDL_VERSION, CANDL_WAR, CANDL_WAW, candlviolation::dependence, candldependence::depth, candlviolation::dimension, candlstatement::label, candlviolation::next, candldependence::ref_source, candldependence::ref_target, candldependence::source, candldependence::target, and candldependence::type.
Referenced by candl_violation_view(), and main().
void candl_violation_print | ( | FILE * | file, |
CandlViolation * | violation | ||
) |
References candl_violation_print_structure().
Referenced by main().
void candl_violation_print_structure | ( | file | , |
violation | , | ||
level | |||
) |
------ ( ----------------------------------------------------------** )\ CAnDL ** ----- / ) --------------------------------------------------------** ( * ( violation.c ** ---- #/ --------------------------------------------------------** .-"#'-. First version: december 12th 2005 ** --- |"-.-"| -------------------------------------------------------** | | | | | | ************************************************************* CAnDL '-._,-' the Chunky Analyzer for Dependences in Loops (experimental) *
* Copyright (C) 2005 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 Analyzer * Written by Cedric Bastoul, Cedric.Bastoul@inria.fr * * candl_violation_print_structure function: Displays a CandlViolation structure (violation) into a file (file, possibly stdout) in a way that trends to be understandable without falling in a deep depression or, for the lucky ones, getting a headache... It includes an indentation level (level) in order to work with others print_structure functions.
References candl_dependence_print_structure(), candl_matrix_print_structure(), candlviolation::dependence, candlviolation::dimension, candlviolation::domain, candlviolation::next, and candldependence::next.
Referenced by candl_violation_print().
void candl_violation_view | ( | CandlViolation * | violation | ) |
References CANDL_TEMP_OUTPUT, and candl_violation_pprint().
Referenced by main().