Ignore:
Timestamp:
Nov 18, 2016, 1:46:55 PM (3 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/carry_manager.cpp

    r5202 r5217  
    2222 * @brief initializeCarryData
    2323 ** ------------------------------------------------------------------------------------------------------------- */
    24 Type * CarryManager::initializeCarryData(PabloFunction * const function) {
    25     mRootScope = function->getEntryBlock();
     24Type * CarryManager::initializeCarryData(PabloKernel * const kernel) {
     25    mRootScope = kernel->getEntryBlock();
    2626    mCarryInfoVector.resize(mRootScope->enumerateScopes(0) + 1);
    2727    mCarryPackType = mBitBlockType;
     
    4040 * @brief initializeCodeGen
    4141 ** ------------------------------------------------------------------------------------------------------------- */
    42 void CarryManager::initializeCodeGen(PabloKernel * const kBuilder, Value * selfPtr) {
    43     mKernelBuilder = kBuilder;
     42void CarryManager::initializeCodeGen(PabloKernel * const kernel, Value * selfPtr) {
     43    mKernelBuilder = kernel;
    4444    mSelf = selfPtr;
    4545   
     
    399399    Type * summaryTy = summary->getType();
    400400    Type * valueTy = value->getType();
     401
    401402    if (LLVM_UNLIKELY(isa<Constant>(value))) {
    402403        if (LLVM_LIKELY(cast<Constant>(value)->isZeroValue())) return;
     
    406407        }
    407408    }
     409
    408410    Value * v = value;
    409411    if (valueTy != summaryTy) {
Note: See TracChangeset for help on using the changeset viewer.