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