souffle
2.0.2-371-g6315b36
|
Transformation pass to reorder body literals. More...
#include <ReorderLiterals.h>
Public Member Functions | |
ReorderLiteralsTransformer * | clone () const override |
std::string | getName () const override |
Public Member Functions inherited from souffle::ast::transform::Transformer | |
bool | apply (TranslationUnit &translationUnit) |
virtual | ~Transformer ()=default |
Static Public Member Functions | |
static Clause * | reorderClauseWithSips (const SipsMetric &sips, const Clause *clause) |
Reorder the clause based on a given SIPS function. More... | |
Private Member Functions | |
bool | transform (TranslationUnit &translationUnit) override |
Transformation pass to reorder body literals.
Definition at line 34 of file ReorderLiterals.h.
|
inlineoverridevirtual |
Implements souffle::ast::transform::Transformer.
Definition at line 40 of file ReorderLiterals.h.
|
inlineoverridevirtual |
Implements souffle::ast::transform::Transformer.
Definition at line 36 of file ReorderLiterals.h.
|
static |
Reorder the clause based on a given SIPS function.
sipsFunction | SIPS metric to use |
clause | clause to reorder |
Definition at line 46 of file ReorderLiterals.cpp.
References i.
|
overrideprivatevirtual |
Implements souffle::ast::transform::Transformer.
Definition at line 67 of file ReorderLiterals.cpp.
References souffle::Global::config().