source: icGREP/icgrep-devel/icgrep/pablo/optimizers/distributivepass.h @ 4896

Last change on this file since 4896 was 4887, checked in by nmedfort, 3 years ago

Incorporated n-ary coalescing into DistributivePass?.

File size: 401 bytes
Line 
1#ifndef DISTRIBUTIVEPASS_H
2#define DISTRIBUTIVEPASS_H
3
4namespace pablo {
5
6class PabloFunction;
7class PabloBlock;
8class Variadic;
9
10class DistributivePass {
11public:
12    static void optimize(PabloFunction & function);
13protected:
14    static void distribute(PabloBlock * const block);
15    static void process(PabloBlock * const block);
16    DistributivePass() = default;
17};
18
19}
20
21#endif // DISTRIBUTIVEPASS_H
Note: See TracBrowser for help on using the repository browser.