| souffle
    2.0.2-371-g6315b36
    | 
Transformation pass to remove expressions of the form sum k : { ... More...
#include <RemoveRedundantSums.h>


| Public Member Functions | |
| RemoveRedundantSumsTransformer * | clone () const override | 
| std::string | getName () const override | 
|  Public Member Functions inherited from souffle::ast::transform::Transformer | |
| bool | apply (TranslationUnit &translationUnit) | 
| virtual | ~Transformer ()=default | 
| Private Member Functions | |
| bool | transform (TranslationUnit &translationUnit) override | 
Transformation pass to remove expressions of the form sum k : { ...
} and replace them with k * count : { ... } where k is a constant.
Definition at line 33 of file RemoveRedundantSums.h.
| 
 | inlineoverridevirtual | 
Implements souffle::ast::transform::Transformer.
Definition at line 43 of file RemoveRedundantSums.h.
| 
 | inlineoverridevirtual | 
Implements souffle::ast::transform::Transformer.
Definition at line 39 of file RemoveRedundantSums.h.
| 
 | overrideprivatevirtual | 
Implements souffle::ast::transform::Transformer.
Definition at line 38 of file RemoveRedundantSums.cpp.
References souffle::clone(), souffle::test::count(), souffle::COUNT, and souffle::SUM.

 1.8.17
 1.8.17