source: icGREP/icgrep-devel/icgrep/pablo/optimizers/codemotionpass.h @ 5350

Last change on this file since 5350 was 5270, checked in by nmedfort, 3 years ago

Bug fix for Mac OS compilation. Partial bug fix for CodeMotionPass?

File size: 444 bytes
Line 
1#ifndef PABLO_CODESINKING_HPP
2#define PABLO_CODESINKING_HPP
3
4namespace pablo {
5
6class PabloKernel;
7class PabloBlock;
8class Statement;
9class While;
10class Variadic;
11
12class CodeMotionPass {
13public:
14    static bool optimize(PabloKernel * kernel);
15protected:
16    static void movement(PabloBlock * const block);
17    static void sink(PabloBlock * const block);
18    static void hoistLoopInvariants(While * loop);
19};
20
21}
22
23#endif // PABLO_CODESINKING_HPP
Note: See TracBrowser for help on using the repository browser.