source: icGREP/icgrep-devel/icgrep/pablo/optimizers/pablo_simplifier.hpp @ 4416

Last change on this file since 4416 was 4416, checked in by nmedfort, 5 years ago

Many use def info changes; removed dependency on boost system library. More work still needed on CSE.

File size: 443 bytes
Line 
1#ifndef PABLO_SIMPLIFIER_HPP
2#define PABLO_SIMPLIFIER_HPP
3
4#include <pablo/codegenstate.h>
5
6namespace pablo {
7
8struct ExpressionTable;
9
10class Simplifier {
11public:
12    static bool optimize(PabloBlock & block);
13protected:
14    Simplifier();
15private:
16    static void eliminateRedundantCode(ExpressionTable * predecessor, PabloBlock & block);
17
18    static void foldConstantAssigns(PabloBlock & block);
19private:
20
21};
22
23}
24#endif // PABLO_SIMPLIFIER_HPP
Note: See TracBrowser for help on using the repository browser.