Chisel
Public Member Functions | Protected Member Functions | List of all members
Reduction Class Referenceabstract

Represents a general reduction step. More...

#include <Reduction.h>

Inheritance diagram for Reduction:
Transformation GlobalReduction LocalReduction

Public Member Functions

 Reduction ()
 
 ~Reduction ()
 
- Public Member Functions inherited from Transformation
 Transformation ()
 
 ~Transformation ()
 

Protected Member Functions

virtual void Initialize (clang::ASTContext &Ctx)
 
DDElementSet doDeltaDebugging (std::vector< DDElement > &Decls)
 
virtual bool test (DDElementVector &ToBeRemoved)=0
 
virtual bool callOracle ()
 
virtual bool isInvalidChunk (DDElementVector &Chunk)=0
 
DDElementSet toSet (DDElementVector &Vec)
 
DDElementSet setDifference (DDElementSet &A, DDElementSet &B)
 
- Protected Member Functions inherited from Transformation
std::vector< clang::Stmt * > getAllChildren (clang::Stmt *S)
 
clang::SourceLocation getEndOfCond (clang::Expr *E)
 
clang::SourceLocation getEndOfStmt (clang::Stmt *S)
 
clang::SourceLocation getEndLocation (clang::SourceLocation Loc)
 
clang::SourceLocation getEndLocationAfter (clang::SourceRange Range, char Symbol)
 
clang::SourceLocation getEndLocationUntil (clang::SourceRange Range, char Symbol)
 
clang::SourceLocation getEndLocationFromBegin (clang::SourceRange Range)
 
int getOffsetUntil (const char *Buf, char Symbol)
 
llvm::StringRef getSourceText (const clang::SourceLocation &B, const clang::SourceLocation &E)
 
void removeSourceText (const clang::SourceLocation &B, const clang::SourceLocation &E)
 

Additional Inherited Members

- Protected Attributes inherited from Transformation
clang::ASTContext * Context
 
clang::Rewriter TheRewriter
 

Detailed Description

Represents a general reduction step.

Constructor & Destructor Documentation

Reduction::Reduction ( )
inline
Reduction::~Reduction ( )
inline

Member Function Documentation

bool Reduction::callOracle ( )
protectedvirtual
DDElementSet Reduction::doDeltaDebugging ( std::vector< DDElement > &  Decls)
protected
void Reduction::Initialize ( clang::ASTContext &  Ctx)
protectedvirtual

Reimplemented from Transformation.

virtual bool Reduction::isInvalidChunk ( DDElementVector Chunk)
protectedpure virtual
DDElementSet Reduction::setDifference ( DDElementSet A,
DDElementSet B 
)
protected
virtual bool Reduction::test ( DDElementVector ToBeRemoved)
protectedpure virtual
DDElementSet Reduction::toSet ( DDElementVector Vec)
protected

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