ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VirtualCFG::cfgRWTransaction Class Reference

#include <CFGRewrite.h>

Classes

class  insertRequest
 
class  modRequest
 
class  transformRequest
 

Public Member Functions

 cfgRWTransaction ()
 
void beginTransaction ()
 
void insertBefore (DataflowNode n, SgExpression *newNode)
 
void insertBefore (SgNode *n, SgExpression *newNode)
 
void insertAfter (DataflowNode n, SgExpression *newNode)
 
void insertAfter (SgNode *n, SgExpression *newNode)
 
void transform (CFGTransform callbackFunc, SgNode *n, SgNode *newNode, void *data)
 
void insertAlong (DataflowEdge e, SgExpression *newNode)
 
void commitTransaction ()
 

Public Attributes

std::list< modRequest * > requests
 

Protected Member Functions

void do_insertBefore (DataflowNode n, SgExpression *newNode)
 
void do_insertBefore (SgNode *n, SgExpression *newNode)
 
void do_insertAfter (DataflowNode n, SgExpression *newNode)
 
void do_insertAfter (SgNode *n, SgExpression *newNode)
 

Private Types

enum  modType {
  insBef,
  insAft,
  callback
}
 

Detailed Description

Definition at line 103 of file CFGRewrite.h.

Member Enumeration Documentation

Enumerator
insBef 
insAft 
callback 

Definition at line 105 of file CFGRewrite.h.

Constructor & Destructor Documentation

VirtualCFG::cfgRWTransaction::cfgRWTransaction ( )

Member Function Documentation

void VirtualCFG::cfgRWTransaction::beginTransaction ( )
void VirtualCFG::cfgRWTransaction::insertBefore ( DataflowNode  n,
SgExpression newNode 
)
void VirtualCFG::cfgRWTransaction::insertBefore ( SgNode n,
SgExpression newNode 
)
void VirtualCFG::cfgRWTransaction::insertAfter ( DataflowNode  n,
SgExpression newNode 
)
void VirtualCFG::cfgRWTransaction::insertAfter ( SgNode n,
SgExpression newNode 
)
void VirtualCFG::cfgRWTransaction::transform ( CFGTransform  callbackFunc,
SgNode n,
SgNode newNode,
void *  data 
)
void VirtualCFG::cfgRWTransaction::insertAlong ( DataflowEdge  e,
SgExpression newNode 
)
void VirtualCFG::cfgRWTransaction::commitTransaction ( )
void VirtualCFG::cfgRWTransaction::do_insertBefore ( DataflowNode  n,
SgExpression newNode 
)
protected
void VirtualCFG::cfgRWTransaction::do_insertBefore ( SgNode n,
SgExpression newNode 
)
protected
void VirtualCFG::cfgRWTransaction::do_insertAfter ( DataflowNode  n,
SgExpression newNode 
)
protected
void VirtualCFG::cfgRWTransaction::do_insertAfter ( SgNode n,
SgExpression newNode 
)
protected

Member Data Documentation

std::list<modRequest*> VirtualCFG::cfgRWTransaction::requests

Definition at line 164 of file CFGRewrite.h.


The documentation for this class was generated from the following file: