Skip to content

VariableStateTransfer

Synopsis

Declared in <src/midend/programAnalysis/genericDataflow/simpleAnalyses/VariableStateTransfer.h>

template<class LatticeType>
class VariableStateTransfer
    : public IntraDFTransferVisitor

Base Classes

Name Description
IntraDFTransferVisitor Apply an analysis A's transfer function at a particular AST node type

Member Functions

Name
VariableStateTransfer
VariableStateTransfer( Function const& func, VirtualCFG::DataflowNode const& n, NodeState& state, std::vector<Lattice*> const& dfInfo, int const& debugLevel_); [constructor]
visit
virtual void visit(SgAggregateInitializer* sgn);

Protected Member Functions

Name Description
fallbackLattice
virtual LatticeType* fallbackLattice(SgExpression const*); [virtual]
getLattice
LatticeType* getLattice(varID var);
getLattices
bool getLattices( SgBinaryOp const* sgn, LatticeType*& arg1Lat, LatticeType*& arg2Lat, LatticeType*& resLat);
create three lattices from a binary operation: lhs, rhs, and result lattices
updateModified
void updateModified(bool latModified);

Protected Data Members

Name
debugLevel
modified
prodLat

Derived Classes

Name Description
DivAnalysisTransfer

Created with MrDocs