PIPS
transformer-local.h
Go to the documentation of this file.
1 /*
2 
3  $Id: transformer-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  /* include file for transformer library
25  */
26 
27 /* prefix used for value entity names; no conflict should occur with user
28  * function names as long as they are restricted to 6 characters
29  */
30 #define SEMANTICS_MODULE_NAME "*SEMANTICS*"
31 
32 /* Must be used in suffixes and prefixes below */
33 #define SEMANTICS_SEPARATOR '#'
34 
35 /* internal entity names (FI: I should have used suffixes to be consistent with external
36  * suffixes */
37 #define OLD_VALUE_PREFIX "o#"
38 #define INTERMEDIATE_VALUE_PREFIX "i#"
39 #define TEMPORARY_VALUE_PREFIX "t#"
40 
41 /* external suffixes (NEW_VALUE_SUFFIX is not used, new values are represented
42  * by the variable itself, i.e. new value suffix is the empty string "")
43  */
44 #define NEW_VALUE_SUFFIX "#new"
45 #define OLD_VALUE_SUFFIX "#init"
46 #define INTERMEDIATE_VALUE_SUFFIX "#int"
47 
48 #define ADDRESS_OF_SUFFIX "#addressof"
49 
50 #define SIZEOF_SUFFIX "#sizeof"