Ignore:
Timestamp:
Dec 17, 2015, 4:45:18 PM (3 years ago)
Author:
nmedfort
Message:

Work on coalescing algorithm + minor changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/optimizers/codemotionpass.h

    r4870 r4896  
    22#define PABLO_CODESINKING_HPP
    33
    4 #include <pablo/codegenstate.h>
    54#include <vector>
    65#include <algorithm>
     
    98
    109class PabloFunction;
     10class PabloBlock;
     11class Statement;
     12class While;
     13class Variadic;
    1114
    1215class CodeMotionPass {
     
    1619            if (i == end() || *i != block) {
    1720                std::vector<PabloBlock *>::insert(i, block);
    18                 assert (std::is_sorted(begin(), end()));
    1921                return true;
    2022            }
     
    2628        }
    2729    };
    28 
    2930public:
    3031    static bool optimize(PabloFunction & function);
Note: See TracChangeset for help on using the changeset viewer.