PIPS
divar.c File Reference

Go to the source code of this file.

Functions

statement_mapping contexts_mapping_of_nest (statement stat, statement_mapping ce_map)
 

Function Documentation

◆ contexts_mapping_of_nest()

statement_mapping contexts_mapping_of_nest ( statement  stat,
statement_mapping  ce_map 
)

Definition at line 27 of file divar.c.

30 {
32 
33  ifdebug(5) {
35  statement stp = (statement) st;
36 
37  if (statement_call_p(stp)) {
38  fprintf(stderr, "Execution context of statement %d :\n",
39  statement_number(stp));
41  }
42  }, contexts_map);
43  }
44 
45  return(contexts_map);
46 }
struct _newgen_struct_statement_ * statement
Definition: cloning.h:21
statement_mapping contexts_mapping_of_nest(statement stat, statement_mapping ce_map)
Definition: divar.c:27
bool statement_call_p(statement)
Definition: statement.c:364
bool statement_loop_p(statement)
Definition: statement.c:349
#define pips_assert(what, predicate)
common macros, two flavors depending on NDEBUG
Definition: misc-local.h:172
#define STATEMENT_MAPPING_MAP(s, v, code, h)
Definition: newgen-local.h:53
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...
Definition: entity.c:453
#define statement_number(x)
Definition: ri.h:2452
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...
Definition: sc_io.c:220
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...
#define ifdebug(n)
Definition: sg.c:47
Definition: delay.c:253

References entity_local_name(), fprintf(), ifdebug, pips_assert, sc_fprint(), statement_call_p(), statement_loop_p(), STATEMENT_MAPPING_MAP, and statement_number.

+ Here is the call graph for this function: