Ignore:
Timestamp:
Jan 31, 2017, 4:08:11 PM (2 years ago)
Author:
nmedfort
Message:

Removed 'function' and 'self' parameters from generateXXXMethod() functions.

File:
1 edited

Legend:

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

    r5285 r5292  
    1616using namespace llvm;
    1717
    18 void DirectCharacterClassKernelBuilder::generateDoBlockMethod(Function * function, Value *self, Value *blockNo) const {
     18void DirectCharacterClassKernelBuilder::generateDoBlockMethod(Value *blockNo) {
    1919    unsigned packCount = 8 * mCodeUnitSize; 
    2020    unsigned codeUnitWidth = 8 * mCodeUnitSize;
    2121    Value * codeUnitPack[packCount];
    2222    for (unsigned i = 0; i < packCount; i++) {
    23         Value * ptr = getStream(self, "codeUnitStream", blockNo, iBuilder->getInt32(0), iBuilder->getInt32(i));
     23        Value * ptr = getStream("codeUnitStream", blockNo, iBuilder->getInt32(0), iBuilder->getInt32(i));
    2424        codeUnitPack[i] = iBuilder->CreateBlockAlignedLoad(ptr);
    2525    }
     
    5656            theCCstream = iBuilder->simd_or(theCCstream, pack);
    5757        }
    58         Value * ptr = getStream(self, "ccStream", blockNo, iBuilder->getInt32(j));
     58        Value * ptr = getStream("ccStream", blockNo, iBuilder->getInt32(j));
    5959        iBuilder->CreateBlockAlignedStore(theCCstream, ptr);
    6060    }
Note: See TracChangeset for help on using the changeset viewer.