PIPS
access_description.h
Go to the documentation of this file.
1 /*
2 
3  $Id: access_description.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 
25 #ifndef ACCESS_DESCRIPTION_H
26 #define ACCESS_DESCRIPTION_H
27 
28 /*
29  * just something looking like Newgen Domains for homogeneity
30  *
31  * should use normalized somewhere, somehow...
32  */
33 
34 #define access int
35 
36 #define access_undefined (-1)
37 #define local_constant (1)
38 #define local_shift (2)
39 #define local_star (3)
40 #define local_affine (4)
41 #define aligned_constant (5)
42 #define aligned_shift (6)
43 #define aligned_star (7)
44 #define aligned_affine (8)
45 #define not_aligned (9)
46 #define local_form_cst (10)
47 
48 #define access_undefined_p(a) (a == access_undefined)
49 
50 #define access_tag(a) (a)
51 #define make_access(a) (a)
52 
53 #endif
54