PIPS
|
#include <stdio.h>
#include "genC.h"
#include "linear.h"
#include "ri.h"
#include "effects.h"
#include "dg.h"
#include "graph.h"
#include "matrice.h"
#include "tiling.h"
#include "database.h"
#include "text.h"
#include "misc.h"
#include "text-util.h"
#include "ri-util.h"
#include "effects-util.h"
#include "resources.h"
#include "constants.h"
#include "conversion.h"
#include "wp65.h"
Go to the source code of this file.
Typedefs | |
typedef dg_arc_label | arc_label |
Code Generation for Distributed Memory Machines. More... | |
typedef dg_vertex_label | vertex_label |
Functions | |
void | find_iteration_domain (statement s, Psysteme *sc, Pbase *basis, nested_level, list *list_statement_block, instruction *inst) |
void | compute_iteration_domain (list list_loop_statement, Psysteme *sc, Pbase *basis) |
void | iteration_domain_from_statement (list *list_loop_statement, statement s, int *nested_level, list *blocks, instruction *inst) |
typedef dg_arc_label arc_label |
Code Generation for Distributed Memory Machines.
Build the iteration domain and the basis associated to a loop nest
File: find_iteration_domain.c
PUMA, ESPRIT contract 2701 Corinne Ancourt 1994
Definition at line 47 of file find_iteration_domain.c.
typedef dg_vertex_label vertex_label |
Definition at line 48 of file find_iteration_domain.c.
computation of the list of loop indices base_index and of the iteration domain sci
list_loop_statement | ist_loop_statement |
sc | c |
basis | asis |
Definition at line 92 of file find_iteration_domain.c.
References Ssysteme::base, BASE_NULLE, base_reversal(), debug(), entity_local_name(), fprintf(), ifdebug, loop_iteration_domaine_to_sc(), and vect_fprint().
Referenced by find_iteration_domain().
void find_iteration_domain | ( | statement | s, |
Psysteme * | sc, | ||
Pbase * | basis, | ||
nested_level | , | ||
list * | list_statement_block, | ||
instruction * | inst | ||
) |
Definition at line 66 of file find_iteration_domain.c.
References compute_iteration_domain(), debug(), entity_local_name(), fprintf(), ifdebug, iteration_domain_from_statement(), NIL, sc_fprint(), and vect_fprint().
Referenced by loop_nest_to_wp65_code().
void iteration_domain_from_statement | ( | list * | list_loop_statement, |
statement | s, | ||
int * | nested_level, | ||
list * | blocks, | ||
instruction * | inst | ||
) |
case where there is a unique assignment in do-enddo loop nest
list_loop_statement | ist_loop_statement |
nested_level | ested_level |
blocks | locks |
inst | nst |
Definition at line 116 of file find_iteration_domain.c.
References blocks, CAR, CDR, CONS, continue_statement_p(), debug(), gen_length(), instruction_block, instruction_loop, instruction_loop_p, instruction_tag, is_instruction_block, is_instruction_call, is_instruction_goto, is_instruction_loop, is_instruction_test, is_instruction_unstructured, loop_body, make_instruction_block(), NIL, pips_internal_error, STATEMENT, statement_instruction, and true.
Referenced by find_iteration_domain().