Ignore:
Timestamp:
Nov 18, 2016, 1:46:55 PM (2 years ago)
Author:
nmedfort
Message:

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File:
1 edited

Legend:

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

    r5202 r5217  
    11#include "codemotionpass.h"
     2#include <pablo/pablo_kernel.h>
    23#include <pablo/codegenstate.h>
    34#include <pablo/analysis/pabloverifier.hpp>
    45#include <boost/container/flat_set.hpp>
    5 #include <boost/container/flat_map.hpp>
    6 #include <boost/graph/adjacency_list.hpp>
    7 #include <boost/graph/topological_sort.hpp>
    8 #include <boost/circular_buffer.hpp>
     6// #include <boost/circular_buffer.hpp>
    97
    108using namespace boost;
     
    1614 * @brief optimize
    1715 ** ------------------------------------------------------------------------------------------------------------- */
    18 bool CodeMotionPass::optimize(PabloFunction & function) {
    19     CodeMotionPass::movement(function.getEntryBlock());
     16bool CodeMotionPass::optimize(PabloKernel * kernel) {
     17    CodeMotionPass::movement(kernel->getEntryBlock());
    2018    #ifndef NDEBUG
    21     PabloVerifier::verify(function, "post-code-motion");
     19    PabloVerifier::verify(kernel, "post-code-motion");
    2220    #endif
    2321    return true;
Note: See TracChangeset for help on using the changeset viewer.