diff options
Diffstat (limited to 'cloog-0.17.0/osl/include/osl/extensions/lines.h')
-rw-r--r-- | cloog-0.17.0/osl/include/osl/extensions/lines.h | 127 |
1 files changed, 0 insertions, 127 deletions
diff --git a/cloog-0.17.0/osl/include/osl/extensions/lines.h b/cloog-0.17.0/osl/include/osl/extensions/lines.h deleted file mode 100644 index 9695e51..0000000 --- a/cloog-0.17.0/osl/include/osl/extensions/lines.h +++ /dev/null @@ -1,127 +0,0 @@ - - /*+-----------------------------------------------------------------** - ** OpenScop Library ** - **-----------------------------------------------------------------** - ** extensions/lines.h ** - **-----------------------------------------------------------------** - ** First version: 07/12/2010 ** - **-----------------------------------------------------------------** - - - ***************************************************************************** - * OpenScop: Structures and formats for polyhedral tools to talk together * - ***************************************************************************** - * ,___,,_,__,,__,,__,,__,,_,__,,_,__,,__,,___,_,__,,_,__, * - * / / / // // // // / / / // // / / // / /|,_, * - * / / / // // // // / / / // // / / // / / / /\ * - * |~~~|~|~~~|~~~|~~~|~~~|~|~~~|~|~~~|~~~|~~~|~|~~~|~|~~~|/_/ \ * - * | G |C| P | = | L | P |=| = |C| = | = | = |=| = |=| C |\ \ /\ * - * | R |l| o | = | e | l |=| = |a| = | = | = |=| = |=| L | \# \ /\ * - * | A |a| l | = | t | u |=| = |n| = | = | = |=| = |=| o | |\# \ \ * - * | P |n| l | = | s | t |=| = |d| = | = | = | | |=| o | | \# \ \ * - * | H | | y | | e | o | | = |l| | | = | | | | G | | \ \ \ * - * | I | | | | e | | | | | | | | | | | | | \ \ \ * - * | T | | | | | | | | | | | | | | | | | \ \ \ * - * | E | | | | | | | | | | | | | | | | | \ \ \ * - * | * |*| * | * | * | * |*| * |*| * | * | * |*| * |*| * | / \* \ \ * - * | O |p| e | n | S | c |o| p |-| L | i | b |r| a |r| y |/ \ \ / * - * '---'-'---'---'---'---'-'---'-'---'---'---'-'---'-'---' '--' * - * * - * Copyright (C) 2008 University Paris-Sud 11 and INRIA * - * * - * (3-clause BSD license) * - * Redistribution and use in source and binary forms, with or without * - * modification, are permitted provided that the following conditions * - * are met: * - * * - * 1. Redistributions of source code must retain the above copyright notice, * - * this list of conditions and the following disclaimer. * - * 2. Redistributions in binary form must reproduce the above copyright * - * notice, this list of conditions and the following disclaimer in the * - * documentation and/or other materials provided with the distribution. * - * 3. The name of the author may not be used to endorse or promote products * - * derived from this software without specific prior written permission. * - * * - * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR * - * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. * - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, * - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT * - * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, * - * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY * - * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT * - * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * - * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * * - * OpenScop Library, a library to manipulate OpenScop formats and data * - * structures. Written by: * - * Cedric Bastoul <Cedric.Bastoul@u-psud.fr> and * - * Louis-Noel Pouchet <Louis-Noel.pouchet@inria.fr> * - * * - *****************************************************************************/ - - -#ifndef OSL_LINES_H -# define OSL_LINES_H - -# include <stdio.h> -# include <osl/interface.h> - -# if defined(__cplusplus) -extern "C" - { -# endif - - -# define OSL_URI_LINES "lines" -# define OSL_TAG_LINES_START "<"OSL_URI_LINES">" -# define OSL_TAG_LINES_STOP "</"OSL_URI_LINES">" - - -/** - * The osl_lines_t structure stores a lines extention to the core - * OpenScop representation. It provides information about the line - * numbers of the SCoP in the original source file. - */ -struct osl_lines { - int start; /**< First line of the SCoP in the original source file. */ - int end; /**< Last line of the SCoP in the original source file. */ -}; -typedef struct osl_lines osl_lines_t; -typedef struct osl_lines * osl_lines_p; - - -/*+*************************************************************************** - * Structure display function * - *****************************************************************************/ -void osl_lines_idump(FILE *, osl_lines_p, int); -void osl_lines_dump(FILE *, osl_lines_p); -char * osl_lines_sprint(osl_lines_p); - - -/***************************************************************************** - * Reading function * - *****************************************************************************/ -osl_lines_p osl_lines_sread(char **); - - -/*+*************************************************************************** - * Memory allocation/deallocation function * - *****************************************************************************/ -osl_lines_p osl_lines_malloc(); -void osl_lines_free(osl_lines_p); - - -/*+*************************************************************************** - * Processing functions * - *****************************************************************************/ -osl_lines_p osl_lines_clone(osl_lines_p); -int osl_lines_equal(osl_lines_p, osl_lines_p); -osl_interface_p osl_lines_interface(); - - -# if defined(__cplusplus) - } -# endif - -#endif /* define OSL_LINES_H */ |