PIPS
ricedg-local.h
Go to the documentation of this file.
1 /*
2 
3  $Id: ricedg-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 #define INFAISABLE 0
25 #define FAISABLE 1
26 
27 /* maximun number of nested loops */
28 #define MAXDEPTH 9
29 /* maximum number of scalar variables */
30 #define MAXSV 1024
31 
32 
33 /*the variables for the statistics of test of dependence and parallelization */
34 extern int NbrArrayDepInit;
35 extern int NbrIndepFind;
36 extern int NbrAllEquals;
37 extern int NbrDepCnst;
38 extern int NbrDepExact;
39 extern int NbrDepInexactEq;
40 extern int NbrDepInexactFM;
41 extern int NbrDepInexactEFM;
42 extern int NbrScalDep;
43 extern int NbrIndexDep;
44 extern int deptype[5][3], constdep[5][3];
45 extern int NbrTestCnst;
46 extern int NbrTestGcd;
47 extern int NbrTestSimple; /* by sc_normalize() */
48 extern int NbrTestDiCnst;
49 extern int NbrTestProjEqDi;
50 extern int NbrTestProjFMDi;
51 extern int NbrTestProjEq;
52 extern int NbrTestProjFM;
53 extern int NbrTestDiVar;
54 extern int NbrProjFMTotal;
55 extern int NbrFMSystNonAug;
56 extern int FMComp[18];
57 extern bool is_test_exact;
58 extern bool is_test_inexact_eq;
59 extern bool is_test_inexact_fm;
60 extern bool is_dep_cnst;
61 extern bool is_test_Di;
62 extern bool Finds2s1;
63 
64 // counter used by one debug message, defined in ri-util.
65 extern int Nbrdo;
66 
67 /* Definition for the dependance_verticies_p function
68  */
69 
70 #define FLOW_DEPENDANCE 1
71 #define ANTI_DEPENDANCE 2
72 #define OUTPUT_DEPENDANCE 4
73 #define INPUT_DEPENDANCE 8
74 
75 
76 
77 
78 
79 
int Nbrdo
loop.c
Definition: loop.c:54
int NbrAllEquals
Definition: ricedg.h:133
int NbrTestProjFMDi
Definition: ricedg.h:148
int constdep[5][3]
Definition: ricedg-local.h:44
int NbrArrayDepInit
he variables for the statistics of test of dependence and parallelization
Definition: ricedg.h:131
int NbrFMSystNonAug
Definition: ricedg.h:153
int NbrScalDep
Definition: ricedg.h:139
int NbrIndepFind
Definition: ricedg.h:132
int NbrTestDiCnst
by sc_normalize()
Definition: ricedg.h:146
int NbrProjFMTotal
Definition: ricedg.h:152
bool Finds2s1
Definition: ricedg.h:160
int NbrTestGcd
Definition: ricedg.h:144
bool is_dep_cnst
Definition: ricedg.h:158
bool is_test_inexact_eq
Definition: ricedg.h:156
bool is_test_inexact_fm
Definition: ricedg.h:157
int FMComp[18]
Definition: ricedg.h:154
int NbrTestProjEq
Definition: ricedg.h:149
int NbrDepInexactEFM
Definition: ricedg.h:138
int NbrTestCnst
Definition: ricedg.h:143
int NbrTestSimple
Definition: ricedg.h:145
int NbrIndexDep
Definition: ricedg.h:140
bool is_test_exact
or counting the number of F-M complexity less than 16.
Definition: ricedg.h:155
int NbrDepExact
int deptype[5][3]
Definition: ricedg.h:141
int NbrDepCnst
Definition: ricedg.h:134
int NbrTestDiVar
Definition: ricedg.h:151
int NbrDepInexactEq
Definition: ricedg.h:136
int NbrTestProjEqDi
Definition: ricedg.h:147
int NbrDepInexactFM
Definition: ricedg.h:137
int NbrTestProjFM
Definition: ricedg.h:150
bool is_test_Di
Definition: ricedg.h:159