ManagerSSAStandard.cpp

Go to the documentation of this file.
00001 
00015 // standard headers
00016 
00017 #ifdef NO_STD_CHEADERS
00018 # include <stdlib.h>
00019 # include <string.h>
00020 # include <assert.h>
00021 #else
00022 # include <cstdlib>
00023 # include <cstring>
00024 # include <cassert>
00025 using namespace std; // For compatibility with non-std C headers
00026 #endif
00027 
00028 #include <iostream>
00029 using std::ostream;
00030 using std::endl;
00031 using std::cout;
00032 using std::cerr;
00033 #include <list>
00034 #include <set>
00035 #include <map>
00036 
00037 // Mint headers
00038 #include "ManagerSSAStandard.hpp"
00039 
00040 
00041 namespace OA {
00042   namespace SSA {
00043 
00044 static bool debug = false;
00045     
00046 
00047 OA_ptr<SSAStandard> 
00048 ManagerStandard::performAnalysis(ProcHandle proc, OA_ptr<CFG::CFGInterface> cfg)
00049 {
00050   SymHandle procName = cfg->getName();
00051   mSSA = new SSAStandard(procName, mIR, cfg);
00052   build(cfg);
00053   return mSSA;
00054 }
00055 
00056 
00057 void 
00058 ManagerStandard::build(OA_ptr<CFG::CFGInterface> cfg)
00059 {
00060   // FIXME: move SSAStandard::SSAStandard to here
00061 }
00062  
00063 
00064   } // end of SSA namespace
00065 } // end of OA namespace