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

#include <RoseBin_GmlGraph.h>

Inheritance diagram for RoseBin_GMLGraph:
Collaboration diagram for RoseBin_GMLGraph:

Public Member Functions

 RoseBin_GMLGraph ()
 
virtual ~RoseBin_GMLGraph ()
 
void printNodes (bool dfg, RoseBin_FlowAnalysis *flow, bool forward_analysis, std::ofstream &myfile, std::string &recursiveFunctionName)
 
void printEdges (VirtualBinCFG::AuxiliaryInformation *info, bool forward_analysis, std::ofstream &myfile, bool mergedEdges)
 
void printProlog (std::ofstream &myfile, std::string &fileType)
 
void printEpilog (std::ofstream &myfile)
 
- Public Member Functions inherited from RoseBin_Graph
 RoseBin_Graph ()
 
virtual ~RoseBin_Graph ()
 
void setGrouping (bool val)
 
void createUniqueEdges ()
 

Private Member Functions

std::string getInternalNodes (SgGraphNode *node, bool forward_analysis, SgAsmNode *internal)
 
void printEdges_single (VirtualBinCFG::AuxiliaryInformation *info, bool forward_analysis, std::ofstream &myfile)
 
void printEdges_multiple (VirtualBinCFG::AuxiliaryInformation *info, bool forward_analysis, std::ofstream &myfile)
 
void printEdges (VirtualBinCFG::AuxiliaryInformation *info, bool forward_analysis, std::ofstream &myfile, SgDirectedGraphEdge *edge)
 

Private Attributes

std::map< SgAsmStatement *, int > nodesMap
 
std::map< SgAsmFunction *, int > funcMap
 
bool skipFunctions
 
bool skipInternalEdges
 
bool onlyControlStructure
 

Additional Inherited Members

- Public Types inherited from SgIncidenceDirectedGraph
enum  { static_variant = V_SgIncidenceDirectedGraph }
 static variant value More...
 
typedef SgGraph base_node_type
 
- Static Public Member Functions inherited from SgIncidenceDirectedGraph
static size_t numberOfNodes ()
 Returns the total number of IR nodes of this type. More...
 
static size_t memoryUsage ()
 Returns the size in bytes of the total memory allocated for all IR nodes of this type. More...
 
static void traverseMemoryPoolNodes (ROSE_VisitTraversal &visit)
 FOR INTERNAL USE Support for visitor pattern. More...
 
static void traverseMemoryPoolVisitorPattern (ROSE_VisitorPattern &visitor)
 FOR INTERNAL USE Support for visitor pattern. More...
 
static void visitRepresentativeNode (ROSE_VisitTraversal &visit)
 FOR INTERNAL USE Support for type-based traversal. More...
 
- Public Attributes inherited from RoseBin_Graph
SgIncidenceDirectedGraphgraph
 
- Protected Attributes inherited from RoseBin_Graph
bool grouping
 
bool nodest_jmp
 
bool error
 
bool nodest_call
 
bool interrupt
 
bool checked
 
bool dfa_standard
 
bool dfa_resolved_func
 
bool dfa_unresolved_func
 
bool dfa_conditional
 
rose_graph_integer_edge_hash_multimap unique_edges
 
- Static Protected Attributes inherited from SgGraph
static int p_index_counter
 

Detailed Description

Definition at line 14 of file RoseBin_GmlGraph.h.

Constructor & Destructor Documentation

RoseBin_GMLGraph::RoseBin_GMLGraph ( )
inline

Definition at line 34 of file RoseBin_GmlGraph.h.

virtual RoseBin_GMLGraph::~RoseBin_GMLGraph ( )
inlinevirtual

Definition at line 41 of file RoseBin_GmlGraph.h.

Member Function Documentation

std::string RoseBin_GMLGraph::getInternalNodes ( SgGraphNode node,
bool  forward_analysis,
SgAsmNode internal 
)
private
void RoseBin_GMLGraph::printEdges_single ( VirtualBinCFG::AuxiliaryInformation info,
bool  forward_analysis,
std::ofstream &  myfile 
)
private
void RoseBin_GMLGraph::printEdges_multiple ( VirtualBinCFG::AuxiliaryInformation info,
bool  forward_analysis,
std::ofstream &  myfile 
)
private
void RoseBin_GMLGraph::printEdges ( VirtualBinCFG::AuxiliaryInformation info,
bool  forward_analysis,
std::ofstream &  myfile,
SgDirectedGraphEdge edge 
)
private
void RoseBin_GMLGraph::printNodes ( bool  dfg,
RoseBin_FlowAnalysis *  flow,
bool  forward_analysis,
std::ofstream &  myfile,
std::string &  recursiveFunctionName 
)
virtual

Implements RoseBin_Graph.

void RoseBin_GMLGraph::printEdges ( VirtualBinCFG::AuxiliaryInformation info,
bool  forward_analysis,
std::ofstream &  myfile,
bool  mergedEdges 
)
virtual

Implements RoseBin_Graph.

void RoseBin_GMLGraph::printProlog ( std::ofstream &  myfile,
std::string &  fileType 
)
virtual

Implements RoseBin_Graph.

void RoseBin_GMLGraph::printEpilog ( std::ofstream &  myfile)
virtual

Implements RoseBin_Graph.

Member Data Documentation

std::map< SgAsmStatement*, int > RoseBin_GMLGraph::nodesMap
private

Definition at line 19 of file RoseBin_GmlGraph.h.

std::map< SgAsmFunction*, int > RoseBin_GMLGraph::funcMap
private

Definition at line 20 of file RoseBin_GmlGraph.h.

bool RoseBin_GMLGraph::skipFunctions
private

Definition at line 29 of file RoseBin_GmlGraph.h.

bool RoseBin_GMLGraph::skipInternalEdges
private

Definition at line 30 of file RoseBin_GmlGraph.h.

bool RoseBin_GMLGraph::onlyControlStructure
private

Definition at line 31 of file RoseBin_GmlGraph.h.


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