Ignore:
Timestamp:
Mar 11, 2016, 4:44:53 PM (3 years ago)
Author:
nmedfort
Message:

Added ability to name internal state types; removed unnecessary predefined states. Some progress towards supporting segment size > 1

File:
1 edited

Legend:

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

    r4959 r4970  
    1313#include <pablo/carry_data.h>
    1414#include <llvm/IR/Constants.h>
    15 #include "../kernels/kernel.h"
     15#include <kernels/kernel.h>
    1616
    1717/*
     
    4848    , mCarryBitBlockPtr(nullptr)
    4949    , mPopcountBasePtr(nullptr)
    50     , mBlockNo(nullptr)
     50    , mKernelBuilder(nullptr)
    5151    , mPabloCountCount(0)
    5252    , mTotalCarryDataBitBlocks(0)
     
    6161    void initialize(PabloFunction * const function, KernelBuilder * const kBuilder);
    6262
    63     void initialize_setPtrs(KernelBuilder * const kBuilder);
     63    void reset();
    6464
    65     void setBlockNo(KernelBuilder * kBuilder);
    66     Value * getBlockNo() const;
    67    
    6865    unsigned enumerate(PabloBlock * blk, unsigned ifDepth, unsigned whileDepth);
    6966         
     
    143140    Value * mCarryBitBlockPtr;
    144141    Value * mPopcountBasePtr;
    145     Value * mBlockNo;
     142    KernelBuilder * mKernelBuilder;
    146143    unsigned mPabloCountCount; // Number of Pablo "Count" operations
    147144    unsigned mTotalCarryDataBitBlocks;
     
    163160}
    164161
    165 inline Value * CarryManager::getBlockNo() const {
    166     return mBlockNo;
    167 }
    168 
    169162}
    170163
Note: See TracChangeset for help on using the changeset viewer.