25 #include "pips_config.h"
39 #include "constants.h"
67 for (i=1,lti =tile_local_indices, li = loop_indices; i<
rank;
71 for (j=1;j<=m; j++,ti = ti->
succ) {
82 fprintf(stderr,
"Equation defining the tiling\n");
102 Pvecteur tile_indices, tile_local_indices;
112 debug(8,
"loop_bounds_to_tile_bounds",
"begin\n");
116 for (ti=tile_indices,m=0;
123 for (i=1,lti =tile_local_indices, li = loop_indices;
132 for (j=1;j<=m; j++,ti = ti->
succ) {
152 for ( j=1,lti= tile_local_indices;
154 lti = lti->
succ,j++) {
181 debug(8,
"loop_bounds_to_tile_bounds",
"end\n");
#define value_minus(v1, v2)
#define value_maximum(ref, val)
#define value_notzero_p(val)
#define value_uminus(val)
unary operators on values
#define value_mult(v, w)
whether the default is protected or not this define makes no sense any more...
#define value_minimum(ref, val)
Pbase vect_add_variable(Pbase b, Variable v)
package vecteur - routines sur les bases
Pvecteur make_loop_indice_equation(Pbase loop_indices, tiling tile, Pvecteur tile_delay, Pvecteur tile_indices, Pvecteur tile_local_indices, int rank)
PACKAGE MOVEMENTS.
Psysteme loop_bounds_to_tile_bounds(Psysteme loop_bounds, Pbase loop_indices, tiling t, Pvecteur tile_delay, Pvecteur tile_indices, Pvecteur tile_local_indices)
this function returns the system of constraints
Pcontrainte contrainte_make(Pvecteur pv)
Pcontrainte contrainte_make(Pvecteur pv): allocation et initialisation d'une contrainte avec un vecte...
void vect_dump(Pvecteur v)
void vect_dump(Pvecteur v): print sparse vector v on stderr.
int vect_size(Pvecteur v)
package vecteur - reductions
#define ACCESS(matrix, column, i, j)
Macros d'acces aux elements d'une matrice.
Value * matrice
package matrice
void debug(const int the_expected_debug_level, const char *calling_function_name, const char *a_message_format,...)
ARARGS0.
const char * entity_local_name(entity e)
entity_local_name modified so that it does not core when used in vect_fprint, since someone thought t...
void sc_add_egalite(Psysteme p, Pcontrainte e)
void sc_add_egalite(Psysteme p, Pcontrainte e): macro ajoutant une egalite e a un systeme p; la base ...
Psysteme sc_dup(Psysteme ps)
Psysteme sc_dup(Psysteme ps): should becomes a link.
void sc_force_variable_to_zero(Psysteme ps, Variable var)
void sc_force_variable_to_zero(Psysteme ps, Variable var): force la variable var a prendre la valeur ...
void sc_fprint(FILE *fp, Psysteme ps, get_variable_name_t nom_var)
void sc_fprint(FILE * f, Psysteme ps, char * (*nom_var)()): cette fonction imprime dans le fichier po...
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...
le type des coefficients dans les vecteurs: Value est defini dans le package arithmetique
#define TCST
VARIABLE REPRESENTANT LE TERME CONSTANT.
char *(* get_variable_name_t)(Variable)
struct Svecteur * Pvecteur
void * Variable
arithmetique is a requirement for vecteur, but I do not want to inforce it in all pips files....
Pvecteur vect_make(Pvecteur v, Variable var, Value val,...)
Pvecteur vect_make(v, [var, val,]* 0, val) Pvecteur v; // may be NULL, use assigne anyway Variable va...
Pvecteur vect_new(Variable var, Value coeff)
Pvecteur vect_new(Variable var,Value coeff): allocation d'un vecteur colineaire au vecteur de base va...
void vect_add_elem(Pvecteur *pvect, Variable var, Value val)
void vect_add_elem(Pvecteur * pvect, Variable var, Value val): addition d'un vecteur colineaire au ve...
Value vect_coeff(Variable var, Pvecteur vect)
Variable vect_coeff(Variable var, Pvecteur vect): coefficient de coordonnee var du vecteur vect —> So...