Skip to content

CompactRepresentation

Synopsis

Declared in <src/midend/programAnalysis/VirtualFunctionAnalysis/IntraProcAliasAnalysis.h>

Base Classes

Name

Description

CompReprBase

Member Functions

Name

Description

CompactRepresentation [constructor]

Copy constructor for CompactRepresentation

operator=

Assignment operator overload for Compactrepresentation

addMayAliasRelation [virtual]

Add a May Relation to CompactRepresntation

addMustAliasRelation [virtual]

Add a Must Relation to CompactRepresntation

computeAliases [virtual]

computeAliases overloads

getGraph [virtual]

Get the Graph

getHash [virtual]

Get the Hash

getNodesMapping

Get the Mapping from SgNode to SgGraphNode

merge [virtual]

Merge two CompactRepresentations

toDot [virtual]

Prints CompactRepresentation to Dot File.

operator==

== Operator overload for CompactRepresentation. Implemented using hashing for efficiency

operator!=

!= Operator overload for CompactRepresentation. Implemented using hashing for efficiency

Private Member Functions

Name

Description

addEdge

add a Graph Edge

getGraphNode

Get Graph Node from SgNode

init

Initialize CompactRepresentation

merge

Merge a graph with this compact representation

printEdge

Print Edges

printNode

Print Nodes

printNodePlusEdges

Print Nodes and Edges

processNodes

Process Nodes

updateHash

Update the Hash

Private Data Members

Name

Description

all_nodes

A Map to hold the SgNode to SgGraphNode mapping

Created with MrDocs