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

#include <dataflow.h>

Inheritance diagram for MergeAllReturnStates:
Collaboration diagram for MergeAllReturnStates:

Public Member Functions

 MergeAllReturnStates (Analysis *analysis)
 
 MergeAllReturnStates (Analysis *analysis, const std::vector< Lattice * > &mergedLatsRetStmt, const std::vector< Lattice * > &mergedLatsRetVal)
 
void visit (const Function &func, const DataflowNode &n, NodeState &state)
 
std::vector< Lattice * > & getMergedLatsRetStmt ()
 
std::vector< Lattice * > & getMergedLatsRetVal ()
 
bool getModified ()
 
 ~MergeAllReturnStates ()
 
- Public Member Functions inherited from UnstructuredPassIntraAnalysis
bool runAnalysis (const Function &func, NodeState *state)
 
- Public Member Functions inherited from IntraProceduralAnalysis
void setInterAnalysis (InterProceduralAnalysis *interAnalysis)
 
virtual ~IntraProceduralAnalysis ()
 
- Public Member Functions inherited from Analysis
 Analysis (bool(*f)(CFGNode)=defaultFilter)
 

Static Public Member Functions

static bool mergeLats (std::vector< Lattice * > &mergedLat, const std::vector< Lattice * > &lats)
 

Protected Attributes

bool modified
 

Private Attributes

Analysisanalysis
 
std::vector< Lattice * > mergedLatsRetStmt
 
std::vector< Lattice * > mergedLatsRetVal
 

Additional Inherited Members

- Public Attributes inherited from Analysis
bool(* filter )(CFGNode cfgn)
 

Detailed Description

Definition at line 386 of file dataflow.h.

Constructor & Destructor Documentation

MergeAllReturnStates::MergeAllReturnStates ( Analysis analysis)
inline

Definition at line 405 of file dataflow.h.

References modified.

MergeAllReturnStates::MergeAllReturnStates ( Analysis analysis,
const std::vector< Lattice * > &  mergedLatsRetStmt,
const std::vector< Lattice * > &  mergedLatsRetVal 
)
inline

Definition at line 408 of file dataflow.h.

References modified.

MergeAllReturnStates::~MergeAllReturnStates ( )

Member Function Documentation

void MergeAllReturnStates::visit ( const Function func,
const DataflowNode n,
NodeState state 
)
virtual
static bool MergeAllReturnStates::mergeLats ( std::vector< Lattice * > &  mergedLat,
const std::vector< Lattice * > &  lats 
)
static
std::vector<Lattice*>& MergeAllReturnStates::getMergedLatsRetStmt ( )
inline

Definition at line 419 of file dataflow.h.

References mergedLatsRetStmt.

std::vector<Lattice*>& MergeAllReturnStates::getMergedLatsRetVal ( )
inline

Definition at line 422 of file dataflow.h.

References mergedLatsRetVal.

bool MergeAllReturnStates::getModified ( )
inline

Definition at line 425 of file dataflow.h.

References modified.

Member Data Documentation

Analysis* MergeAllReturnStates::analysis
private

Definition at line 389 of file dataflow.h.

std::vector<Lattice*> MergeAllReturnStates::mergedLatsRetStmt
private

Definition at line 392 of file dataflow.h.

Referenced by getMergedLatsRetStmt().

std::vector<Lattice*> MergeAllReturnStates::mergedLatsRetVal
private

Definition at line 393 of file dataflow.h.

Referenced by getMergedLatsRetVal().

bool MergeAllReturnStates::modified
protected

Definition at line 402 of file dataflow.h.

Referenced by getModified(), and MergeAllReturnStates().


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