source: icGREP/icgrep-devel/icgrep/pablo/optimizers/booleanreassociationpass.h @ 4751

Last change on this file since 4751 was 4751, checked in by nmedfort, 4 years ago

Temporary check in

File size: 503 bytes
Line 
1#ifndef BOOLEANREASSOCIATIONPASS_H
2#define BOOLEANREASSOCIATIONPASS_H
3
4#include <pablo/codegenstate.h>
5
6namespace pablo {
7
8class BooleanReassociationPass {   
9public:
10    static bool optimize(PabloFunction & function);
11protected:
12    BooleanReassociationPass();
13    void scan(PabloFunction & function);
14    void scan(PabloBlock & block, std::vector<Statement *> && terminals);
15    void processScope(PabloBlock & block, std::vector<Statement *> && terminals);
16};
17
18}
19
20#endif // BOOLEANREASSOCIATIONPASS_H
Note: See TracBrowser for help on using the repository browser.