Ignore:
Timestamp:
Mar 7, 2016, 3:37:30 PM (3 years ago)
Author:
nmedfort
Message:

Initial modifications to Pablo Compiler and Kernel Builder to support circular buffers for Lookahead.

File:
1 edited

Legend:

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

    r4941 r4959  
    4848    , mCarryBitBlockPtr(nullptr)
    4949    , mPopcountBasePtr(nullptr)
    50     , mBlockNoPtr(nullptr)
    5150    , mBlockNo(nullptr)
    5251    , mPabloCountCount(0)
     
    6059    ~CarryManager();
    6160   
    62     void initialize(PabloBlock * blk, KernelBuilder * kBuilder);
     61    void initialize(PabloFunction * const function, KernelBuilder * const kBuilder);
    6362
    64     void initialize_setPtrs(KernelBuilder * kBuilder);
     63    void initialize_setPtrs(KernelBuilder * const kBuilder);
    6564
    66     void set_BlockNo(KernelBuilder * kBuilder);
     65    void setBlockNo(KernelBuilder * kBuilder);
     66    Value * getBlockNo() const;
    6767   
    6868    unsigned enumerate(PabloBlock * blk, unsigned ifDepth, unsigned whileDepth);
    69        
    70     Value * getBlockNoPtr() const;
    71    
     69         
    7270    /* Entering and leaving scopes. */
    7371   
     
    145143    Value * mCarryBitBlockPtr;
    146144    Value * mPopcountBasePtr;
    147     Value * mBlockNoPtr;
    148145    Value * mBlockNo;
    149146    unsigned mPabloCountCount; // Number of Pablo "Count" operations
     
    166163}
    167164
    168 inline Value * CarryManager::getBlockNoPtr() const {
    169     return mBlockNoPtr;
     165inline Value * CarryManager::getBlockNo() const {
     166    return mBlockNo;
    170167}
    171168
Note: See TracChangeset for help on using the changeset viewer.