Skip to content

CreateSlice

Synopsis

Declared in <src/midend/programAnalysis/staticInterproceduralSlicing/CreateSlice.h>

class [[visibility("default")]] CreateSlice
    : public AstTopDownBottomUpProcessing<BooleanSafeKeeper, BooleanSafeKeeper>

Base Classes

Name Description
AstTopDownBottomUpProcessing<BooleanSafeKeeper, BooleanSafeKeeper> Attribute evaluator for inherited and synthesized attributes.

Member Functions

Name Description
CreateSlice
CreateSlice(std::set<SgNode*> saveNodes); [constructor]
Construct from set
traverse
bool traverse(SgNode* node);

Protected Member Functions

Name
applyPendingRemovals
void applyPendingRemovals();
defaultSynthesizedAttribute
virtual BooleanSafeKeeper defaultSynthesizedAttribute(BooleanSafeKeeper inh); [virtual]
evaluateInheritedAttribute
virtual BooleanSafeKeeper evaluateInheritedAttribute( SgNode* node, BooleanSafeKeeper partOfSlice); [virtual]
evaluateSynthesizedAttribute
virtual BooleanSafeKeeper evaluateSynthesizedAttribute( SgNode* node, BooleanSafeKeeper inherited, SubTreeSynthesizedAttributes atts); [virtual]
queueStatementForRemoval
void queueStatementForRemoval(SgStatement* statement);

Protected Data Members

Name
currentFile
delayedRemoveListStack
statementsPendingRemoval

Private Data Members

Name
_toSave

Created with MrDocs