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