ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
CFGRewrite.h File Reference
#include "DataflowCFG.h"
#include <string>
#include <iostream>
#include <sstream>
#include <list>
Include dependency graph for CFGRewrite.h:

Go to the source code of this file.

Classes

class  VirtualCFG::cfgRWTransaction
 
class  VirtualCFG::cfgRWTransaction::modRequest
 
class  VirtualCFG::cfgRWTransaction::insertRequest
 
class  VirtualCFG::cfgRWTransaction::transformRequest
 

Namespaces

 VirtualCFG
 

Constant Groups

 VirtualCFG
 

Typedefs

typedef void(* VirtualCFG::CFGTransform )(SgNode *target, SgNode *newNode, void *data)
 

Functions

void VirtualCFG::initCFGRewrite (SgProject *project)
 void insertAfterCFG(DataflowNode cfgNode, SgProject project); More...
 
bool VirtualCFG::isNonMutatingOperator (SgNode *n)
 
bool VirtualCFG::isNonMutatingSubTree (SgNode *n)
 
void VirtualCFG::replaceExpressionChecked (SgNode *parent, SgExpression *from, SgExpression *to)
 
void VirtualCFG::replaceStatement (SgNode *parent, SgStatement *from, SgStatement *to)
 
Sg_File_InfoVirtualCFG::getFileInfo (SgNode *n)
 
std::string VirtualCFG::getFileInfoString (SgNode *n)
 
std::string VirtualCFG::getFileInfoString (CFGNode n)
 
CFGNode VirtualCFG::theInEdge (CFGNode n)
 
CFGNode VirtualCFG::theOutEdge (CFGNode n)
 
SgExpressionVirtualCFG::insertBeforeExpression (SgExpression *expr, SgExpression *newNode)
 
SgExpressionVirtualCFG::insertAfterExpression (SgExpression *expr, SgExpression *newNode)
 
void VirtualCFG::replaceStatementByBlockBefore (SgStatement *stmt, SgStatement *newNode)
 
void VirtualCFG::replaceStatementByBlockAfter (SgStatement *stmt, SgStatement *newNode)
 
void VirtualCFG::createTmpVarInit (SgType *varType, std::string newName, bool byReference, SgName &varName, SgInitializedName *&initName, SgType *&newType, SgVariableDeclaration *&varDecl)
 
SgStatementVirtualCFG::createFuncCallStmt (SgFunctionDeclaration *funcDecl)
 
SgVariableSymbolVirtualCFG::varSymFromInitName (SgInitializedName *initName)
 
SgVarRefExpVirtualCFG::varRefFromInitName (SgInitializedName *initName)
 
SgAssignOpVirtualCFG::replaceExprWithAssignOp (SgExpression *orig, SgVarRefExp *lhsVar)
 
void VirtualCFG::insertVarDecl (SgStatement *anchor, SgType *varType, bool before, SgInitializedName *&initName)
 
void VirtualCFG::insertAroundForInit (SgVariableDeclaration *n, SgExpression *newNode, bool before)
 
void VirtualCFG::prependToScopeStmt (SgNode *target, SgNode *newNode, void *data)
 
void VirtualCFG::appendToScopeStmt (SgNode *target, SgNode *newNode, void *data)