ROSE  0.9.9.139
genericDataflowCommon.h
1 #ifndef ROSE_GENERIC_DATAFLOW_COMMON_H
2 #define ROSE_GENERIC_DATAFLOW_COMMON_H
3 
4 #include <sage3.h>
5 #include <list>
6 using std::list;
7 #include <map>
8 using std::map;
9 using std::pair;
10 using std::make_pair;
11 #include <set>
12 using std::set;
13 #include <vector>
14 using std::vector;
15 #include <string>
16 using std::string;
17 #include <iostream>
18 using std::ostream;
19 using std::ofstream;
20 #include <sstream>
21 using std::stringstream;
22 using std::ostringstream;
23 using std::endl;
24 using std::cout;
25 using std::cerr;
26 
27 #include "AnalysisDebuggingUtils.h"
28 
29 using namespace VirtualCFG;
30 
31 const int ZERO = 0;
32 //const int SPECIAL = 1;
33 const int INF = 10101010;
34 const std::string ZEROStr = "0";
35 //const std::string SPECIALStr = "$";
36 
37 inline bool XOR(bool x, bool y) { return x != y; }
38 
39 #define SgDefaultFile Sg_File_Info::generateDefaultFileInfoForTransformationNode()
40 
41 /* #############################
42  ######### T Y P E S #########
43  ############################# */
44 
45 typedef long long quad;
46 //typedef quad variable;
47 
48 typedef std::map<quad, quad> m_quad2quad;
49 typedef std::map<quad, std::string> m_quad2str;
50 typedef std::map<quad, m_quad2quad> m_quad2map;
51 typedef std::pair<quad, quad> quadpair;
52 typedef std::list<quad> quadlist;
53 typedef std::map<quad, quadpair> m_quad2quadpair;
54 typedef std::map<quad, bool> m_quad2bool;
55 
56 #endif