PIPS
|
#include <stdio.h>
#include "genC.h"
#include "boolean.h"
#include "arithmetique.h"
#include "vecteur.h"
#include "contrainte.h"
#include "ray_dte.h"
#include "sommet.h"
#include "sg.h"
#include "sc.h"
#include "polyedre.h"
#include "union.h"
#include "matrice.h"
#include "matrix.h"
#include "ri.h"
#include "ri-util.h"
#include "constants.h"
#include "misc.h"
#include "graph.h"
#include "paf_ri.h"
#include "text.h"
#include "text-util.h"
#include "paf-util.h"
Go to the source code of this file.
Typedefs | |
typedef dfg_vertex_label | vertex_label |
Name : print.c Package : prgm_mapping Author : Alexis Platonoff Date : septembre 1993. More... | |
typedef dfg_arc_label | arc_label |
Functions | |
void | fprint_plc (FILE *fp, plc obj) |
======================================================================== More... | |
void | plc_fprint_proto (FILE *fp, graph g, hash_table StmtToProto) |
======================================================================== More... | |
void | plc_fprint_distance (FILE *fp, graph g, hash_table DtfToDist) |
======================================================================== More... | |
void | plc_fprint_dfs (FILE *fp, list df_l, hash_table DtfToStmt, hash_table DtfToWgh) |
======================================================================== More... | |
void | fprint_pla_pp_dims (FILE *fp, placement one_placement) |
======================================================================== More... | |
void | fprint_plc_pp_dims (FILE *fp, plc one_plc) |
======================================================================== More... | |
typedef dfg_arc_label arc_label |
typedef dfg_vertex_label vertex_label |
Name : print.c Package : prgm_mapping Author : Alexis Platonoff Date : septembre 1993.
Historic :
Documents: Comments : This file contains the functions used for printing the data structures used for prgm_mapping. Ansi includes
Newgen includes
C3 includes
Pips includes
Macro functions
Global variables
Internal variables
Local defines
void fprint_pla_pp_dims | ( | FILE * | fp, |
placement | one_placement | ||
) |
========================================================================
Definition at line 204 of file print.c.
References CAR, CHUNK, count, ENDP, fprintf(), placement_dims, placement_statement, polynome_fprint(), POP, pu_is_inferior_var(), and pu_variable_name().
Referenced by fprint_plc_pp_dims(), mapping_on_broadcast(), and partial_broadcast_coefficients().
void fprint_plc | ( | FILE * | fp, |
plc | obj | ||
) |
========================================================================
Mod by AP, oct 6th 95: the number of the instruction is the vertex number minus BASE_NODE_NUMBER.
Definition at line 85 of file print.c.
References BASE_NODE_NUMBER, CAR, CDR, exp, EXPRESSION, expression_to_string(), fprintf(), NIL, PLACEMENT, placement_dims, placement_statement, and plc_placements.
Referenced by prgm_mapping(), print_parallelizedCMF_code(), print_parallelizedCRAFT_code(), print_plc(), and reindexing().
void fprint_plc_pp_dims | ( | FILE * | fp, |
plc | one_plc | ||
) |
========================================================================
Definition at line 228 of file print.c.
References CAR, ENDP, fprint_pla_pp_dims(), fprintf(), PLACEMENT, plc_placements, and POP.
Referenced by prgm_mapping().
void plc_fprint_dfs | ( | FILE * | fp, |
list | df_l, | ||
hash_table | DtfToStmt, | ||
hash_table | DtfToWgh | ||
) |
========================================================================
Definition at line 181 of file print.c.
References CAR, CDR, DATAFLOW, DtfToWgh, fprint_dataflow(), fprintf(), hash_get(), and NIL.
Referenced by prgm_mapping().
void plc_fprint_distance | ( | FILE * | fp, |
graph | g, | ||
hash_table | DtfToDist | ||
) |
========================================================================
Definition at line 143 of file print.c.
References CAR, CDR, DATAFLOW, dfg_arc_label_dataflows, DtfToDist, fprint_dataflow(), fprintf(), graph_vertices, hash_get(), NIL, polynome_fprint(), pu_is_inferior_var(), pu_variable_name(), sink_stmt, SUCCESSOR, successor_arc_label, successor_vertex, VERTEX, vertex_int_stmt(), and vertex_successors.
Referenced by prgm_mapping().
void plc_fprint_proto | ( | FILE * | fp, |
graph | g, | ||
hash_table | StmtToProto | ||
) |
========================================================================
For each node of the data flow graph we print its prototype.
Definition at line 118 of file print.c.
References CAR, CDR, dfg_vertex_label_statement, entity_local_name(), fprintf(), graph_vertices, hash_get(), NIL, polynome_fprint(), pu_is_inferior_var(), StmtToProto, VERTEX, and vertex_vertex_label.
Referenced by is_not_trivial_p(), and prgm_mapping().