PIPS
rice-local.h
Go to the documentation of this file.
1 /*
2 
3  $Id: rice-local.h 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 /* macros */
25 #define VERTEX_ENCLOSING_SCC(v) \
26  sccflags_enclosing_scc(dg_vertex_label_sccflags((dg_vertex_label) \
27  vertex_vertex_label(v)))
28 
29 
30 /* a macro to insert an element at the end of a list. c is the element
31 to insert. bl and el are pointers to the begining and the end of the
32 list. */
33 
34 #define INSERT_AT_END(bl, el, c) \
35  { cons *_insert_ = c; if (bl == NIL) bl = _insert_; else CDR(el) = _insert_; el = _insert_; CDR(el) = NIL; }
36 
37 
38 /* external variables. see declarations in kennedy.c */
39 extern graph dg;
40 extern bool rice_distribute_only;
41 extern int Nbrdoall;
bool rice_distribute_only
to know if do loop parallelization must be done
Definition: rice.h:53
int Nbrdoall
graph dg
external variables.
Definition: rice.h:52