Ignore:
Timestamp:
Jul 21, 2016, 6:55:10 AM (3 years ago)
Author:
cameron
Message:

getStreamSetBlockPtr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/deletion.cpp

    r5097 r5104  
    5858   
    5959    Value * self = getParameter(doBlockFunction, "self");
    60    
    6160    Value * blockNo = getScalarField(self, blockNoScalar);
    62     Value * inputStreamBlock = getCircularBufferBlockPointer(self, "inputStreamSet", blockNo);
    63     Value * outputStreamBlock = getCircularBufferBlockPointer(self, "outputStreamSet", blockNo);
    64     Value * delCountBlock = getCircularBufferBlockPointer(self, "deletionCounts", blockNo);
    65    
     61    Value * inputStreamBlock = getStreamSetBlockPtr(self, "inputStreamSet", blockNo);
     62    Value * outputStreamBlock = getStreamSetBlockPtr(self, "outputStreamSet", blockNo);
     63    Value * delCountBlock = getStreamSetBlockPtr(self, "deletionCounts", blockNo);
     64
    6665    Value * del_mask = iBuilder->CreateBlockAlignedLoad(inputStreamBlock, {iBuilder->getInt32(0), iBuilder->getInt32(mStreamCount)});
    6766   
     
    9291    Value * self = getParameter(doBlockFunction, "self");
    9392    Value * blockNo = getScalarField(self, blockNoScalar);
    94     Value * inputStreamBlock = getCircularBufferBlockPointer(self, "inputStreamSet", blockNo);
     93    Value * inputStreamBlock = getStreamSetBlockPtr(self, "inputStreamSet", blockNo);
    9594    Value * remaining = iBuilder->CreateZExt(remainingBytes, iBuilder->getIntNTy(blockSize));
    9695    Value * EOF_del = iBuilder->bitCast(iBuilder->CreateShl(Constant::getAllOnesValue(iBuilder->getIntNTy(blockSize)), remaining));
Note: See TracChangeset for help on using the changeset viewer.