25 #include "pips_config.h"
40 (void)
fprintf(stderr,
"aligned (%zd dimensions)\n",
43 (void)
fprintf(stderr,
"to template %s\n\n",
50 "Alignment: arraydim %"PRIdPTR
", templatedim %"PRIdPTR
",\n",
54 (void)
fprintf(stderr,
"rate: ");
56 (void)
fprintf(stderr,
"\nconstant: ");
75 fprintf(stderr,
"Distributes:\n");
89 (void)
fprintf(stderr,
"distributed\n");
93 (void)
fprintf(stderr,
"to processors %s\n\n",
102 (void)
fprintf(stderr,
"none, ");
105 (void)
fprintf(stderr,
"BLOCK(");
110 (void)
fprintf(stderr,
"CYCLIC(");
123 (void)
fprintf(stderr,
"HPF directives:\n");
126 (void)
fprintf(stderr,
"--------\n");
128 (void)
fprintf(stderr,
"--------\n");
130 (void)
fprintf(stderr,
"--------\n");
132 (void)
fprintf(stderr,
"--------\n");
138 (void)
fprintf(stderr,
"Templates:\n");
144 (void)
fprintf(stderr,
"Processors:\n");
150 (void)
fprintf(stderr,
"Distributed Arrays:\n");
160 debug_on(
"PRETTYPRINT_DEBUG_LEVEL");
186 if (blo && bup && bin)
192 fprintf(file,
"%d:%d", lo, up);
194 fprintf(file,
"%d:%d:%d", lo, up, in);
204 bool firstrange =
true;
221 (void)
fprintf(file,
"message is array %s(",
224 (void)
fprintf(file,
")\nto\n");
226 (void)
fprintf(file,
"domain is ");
236 fprintf(file,
"message list is empty\n");
bool hpfc_integer_constant_expression_p(expression e, int *pi)
void hpfc_print_file(string file_name)
void print_processors(void)
void print_align(align a)
this is a set of functions to help hpfc debugging
void fprint_message(FILE *file, message m)
void print_distributes(void)
void print_distributed_arrays(void)
void fprint_range(FILE *file, range r)
void fprint_lrange(FILE *file, list l)
void print_alignment(alignment a)
void print_templates(void)
void hpfc_print_common(FILE *file, entity module, entity common)
void print_distribute(distribute d)
void print_distribution(distribution d)
void fprint_lmessage(FILE *file, list l)
text text_common_declaration(entity common, entity module)
needed for hpfc
#define ENDP(l)
Test if a list is empty.
void gen_map(gen_iter_func_t fp, const list l)
size_t gen_length(const list l)
#define MAP(_map_CASTER, _map_item, _map_code, _map_list)
Apply/map an instruction block on all the elements of a list (old fashioned)
#define alignment_templatedim(x)
#define distribution_style(x)
#define alignment_constant(x)
#define align_template(x)
#define align_alignment(x)
#define distribute_distribution(x)
#define alignment_rate(x)
#define alignment_arraydim(x)
#define distribute_processors(x)
#define distribution_parameter(x)
list list_of_processors(void)
list list_of_templates(void)
distribute load_hpf_distribution(entity)
align load_hpf_alignment(entity)
list list_of_distributed_arrays(void)
void vect_fprint(FILE *f, Pvecteur v, get_variable_name_t variable_name)
void vect_fprint(FILE * f, Pvecteur v, char * (*variable_name)()): impression d'un vecteur creux v su...
char * variable_dump_name(Variable v)
variable_dump_name() returns an unambiguous name for variable v, based on the pointer used to really ...
#define MESSAGE(x)
newgen_message_domain_defined
#define message_neighbour(x)
#define message_content(x)
#define pips_internal_error
void safe_system(string)
system.c
string concatenate(const char *,...)
Return the concatenation of the given strings.
void(* gen_iter_func_t)(void *)
string db_get_current_workspace_directory(void)
void print_entity_variable(entity e)
print_entity_variable(e)
void print_expression(expression e)
no file descriptor is passed to make is easier to use in a debugging stage.
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...
#define range_increment(x)
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
The structure used to build lists in NewGen.
void print_text(FILE *fd, text t)