Ignore:
Timestamp:
May 10, 2017, 4:26:11 PM (2 years ago)
Author:
nmedfort
Message:

Large refactoring step. Removed IR generation code from Kernel (formally KernelBuilder?) and moved it into the new KernelBuilder? class.

File:
1 edited

Legend:

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

    r5436 r5440  
    1111namespace kernel {
    1212
    13 void EvenOddKernel::generateDoBlockMethod() {
     13void EvenOddKernel::generateDoBlockMethod(const std::unique_ptr<KernelBuilder> & iBuilder) {
    1414    Value * even = iBuilder->simd_fill(64, iBuilder->getInt64(0x5555555555555555));
    1515    Value * odd = iBuilder->bitCast(iBuilder->simd_fill(8, iBuilder->getInt8(0xAA)));
    16     storeOutputStreamBlock("even_odd", iBuilder->getInt32(0), even);
    17     storeOutputStreamBlock("even_odd", iBuilder->getInt32(1), odd);
     16    iBuilder->storeOutputStreamBlock("even_odd", iBuilder->getInt32(0), even);
     17    iBuilder->storeOutputStreamBlock("even_odd", iBuilder->getInt32(1), odd);
    1818}
    1919
Note: See TracChangeset for help on using the changeset viewer.