PIPS
divar.c
Go to the documentation of this file.
1 /*
2 
3  $Id: divar.c 23065 2016-03-02 09:05:50Z coelho $
4 
5  Copyright 1989-2016 MINES ParisTech
6 
7  This file is part of PIPS.
8 
9  PIPS is free software: you can redistribute it and/or modify it
10  under the terms of the GNU General Public License as published by
11  the Free Software Foundation, either version 3 of the License, or
12  any later version.
13 
14  PIPS is distributed in the hope that it will be useful, but WITHOUT ANY
15  WARRANTY; without even the implied warranty of MERCHANTABILITY or
16  FITNESS FOR A PARTICULAR PURPOSE.
17 
18  See the GNU General Public License for more details.
19 
20  You should have received a copy of the GNU General Public License
21  along with PIPS. If not, see <http://www.gnu.org/licenses/>.
22 
23 */
24 #ifdef HAVE_CONFIG_H
25  #include "pips_config.h"
26 #endif
28 statement stat;
29 statement_mapping ce_map;
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