#include <unistd.h>
#include <scoplib/scop.h>
#include <clan/options.h>
Go to the source code of this file.
Functions | |
scoplib_scop_p | clan_scop_extract (FILE *, clan_options_p) |
void | clan_scop_compact (scoplib_scop_p) |
void clan_scop_compact | ( | scoplib_scop_p | scop | ) |
clan_scop_compact function: This function scans the SCoP to put the right number of columns to every matrix (during construction we used CLAN_MAX_DEPTH and CLAN_MAX_PARAMETERS to define matrix and vector sizes).
scop | The scop to scan to compact matrices. |
References clan_statement_compact().
Referenced by clan_parse().
scoplib_scop_p clan_scop_extract | ( | FILE * | input, | |
clan_options_p | options | |||
) |
clan_scop_extract function: this function is a wrapper clan_parse function that parses a file to extract a SCoP and returns, if successful, a pointer to the scoplib_scop_t structure.
input | The file to parse (already open). | |
options | Options for file parsing. |
References clan_parse().
Referenced by main().