ROSE 0.11.145.147
Public Member Functions | Protected Attributes | List of all members
LiveDeadVarsAnalysis Class Reference

Description

Definition at line 162 of file liveDeadVarAnalysis.h.

Inheritance diagram for LiveDeadVarsAnalysis:
Inheritance graph
[legend]
Collaboration diagram for LiveDeadVarsAnalysis:
Collaboration graph
[legend]

Public Member Functions

 LiveDeadVarsAnalysis (SgProject *project, funcSideEffectUses *fseu=NULL)
 
void genInitState (const Function &func, const DataflowNode &n, const NodeState &state, std::vector< Lattice * > &initLattices, std::vector< NodeFact * > &initFacts)
 
boost::shared_ptr< IntraDFTransferVisitorgetTransferVisitor (const Function &func, const DataflowNode &n, NodeState &state, const std::vector< Lattice * > &dfInfo)
 
bool transfer (const Function &, const DataflowNode &, NodeState &, const std::vector< Lattice * > &)
 
- Public Member Functions inherited from IntraBWDataflow
NodeStateinitializeFunctionNodeState (const Function &func, NodeState *fState)
 
VirtualCFG::dataflowgetInitialWorklist (const Function &func, bool firstVisit, bool analyzeDueToCallers, const set< Function > &calleesUpdated, NodeState *fState)
 
virtual vector< Lattice * > getLatticeAnte (NodeState *state)
 
virtual vector< Lattice * > getLatticePost (NodeState *state)
 
void transferFunctionCall (const Function &func, const DataflowNode &n, NodeState *state)
 
vector< DataflowNodegetDescendants (const DataflowNode &n)
 
DataflowNode getUltimate (const Function &func)
 
- Public Member Functions inherited from IntraUniDirectionalDataflow
bool runAnalysis (const Function &func, NodeState *state, bool analyzeDueToCallers, std::set< Function > calleesUpdated)
 
- Public Member Functions inherited from IntraProceduralDataflow
void setInterAnalysis (InterProceduralDataflow *interDataflowAnalysis)
 
void setInterAnalysis (IntraProceduralDataflow *intraDFAnalysis)
 
bool runAnalysis (const Function &func, NodeState *state)
 
InterProceduralDataflowgetInterAnalysis () const
 
- Public Member Functions inherited from IntraProceduralAnalysis
void setInterAnalysis (InterProceduralAnalysis *interAnalysis)
 
- Public Member Functions inherited from Analysis
 Analysis (bool(*f)(CFGNode)=defaultFilter)
 

Protected Attributes

funcSideEffectUsesfseu
 
- Protected Attributes inherited from IntraProceduralAnalysis
InterProceduralAnalysisinterAnalysis
 

Additional Inherited Members

- Public Attributes inherited from IntraProceduralDataflow
std::set< Functionvisited
 
- Public Attributes inherited from Analysis
bool(* filter )(CFGNode cfgn)
 
- Protected Member Functions inherited from IntraUniDirectionalDataflow
bool propagateStateToNextNode (const std::vector< Lattice * > &curNodeState, DataflowNode curDFNode, int nodeIndex, const std::vector< Lattice * > &nextNodeState, DataflowNode nextDFNode)
 
std::vector< DataflowNodegatherDescendants (std::vector< DataflowEdge > edges, DataflowNode(DataflowEdge::*edgeFn)() const)
 

Member Function Documentation

◆ genInitState()

void LiveDeadVarsAnalysis::genInitState ( const Function func,
const DataflowNode n,
const NodeState state,
std::vector< Lattice * > &  initLattices,
std::vector< NodeFact * > &  initFacts 
)
virtual

◆ getTransferVisitor()

boost::shared_ptr< IntraDFTransferVisitor > LiveDeadVarsAnalysis::getTransferVisitor ( const Function func,
const DataflowNode n,
NodeState state,
const std::vector< Lattice * > &  dfInfo 
)
inlinevirtual

Reimplemented from IntraUnitDataflow.

Definition at line 174 of file liveDeadVarAnalysis.h.

◆ transfer()

bool LiveDeadVarsAnalysis::transfer ( const Function ,
const DataflowNode ,
NodeState ,
const std::vector< Lattice * > &   
)
inlinevirtual

Implements IntraUnitDataflow.

Definition at line 178 of file liveDeadVarAnalysis.h.

Member Data Documentation

◆ fseu

funcSideEffectUses* LiveDeadVarsAnalysis::fseu
protected

Definition at line 165 of file liveDeadVarAnalysis.h.


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