Clan
0.8.0
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <osl/macros.h>
#include <osl/relation_list.h>
#include <clan/relation.h>
#include <clan/relation_list.h>
Go to the source code of this file.
Functions | |
void | clan_relation_list_compact (osl_relation_list_p list, int nb_parameters) |
void | clan_relation_list_define_type (osl_relation_list_p list, int type) |
void clan_relation_list_compact | ( | osl_relation_list_p | list, |
int | nb_parameters | ||
) |
clan_relation_lit_compact function: This function compacts a relation list such that each relation inside uses the right number of columns (during construction we used CLAN_MAX_DEPTH, CLAN_MAX_LOCAL_DIMS and CLAN_MAX_PARAMETERS to define relation and vector sizes). It modifies directly the relation list provided as parameter.
[in,out] | list | The relation list to compact. |
[in] | nb_parameters | The true number of parameters in the SCoP. |
Definition at line 65 of file relation_list.c.
References clan_relation_compact().
Referenced by clan_statement_compact().
void clan_relation_list_define_type | ( | osl_relation_list_p | list, |
int | type | ||
) |
clan_relation_list_define_type function: this function sets the type of each relation in the relation list to the one provided as parameter, only if it is undefined.
[in,out] | list | The list of relations to set the type. |
[in] | type | The type. |
Definition at line 80 of file relation_list.c.
Referenced by yyparse().