Ignore:
Timestamp:
Nov 6, 2016, 8:37:11 PM (3 years ago)
Author:
nmedfort
Message:

Initial work on adding types to PabloAST and mutable Var objects.

File:
1 edited

Legend:

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

    r5193 r5202  
    4242               
    4343void p2sKernel::generateDoBlockMethod() {
    44     IDISA::IDISA_Builder::InsertPoint savePoint = iBuilder->saveIP();
     44    auto savePoint = iBuilder->saveIP();
    4545    Module * m = iBuilder->getModule();
    4646   
     
    7373
    7474void p2sKernel_withCompressedOutput::generateDoBlockMethod() {
    75     IDISA::IDISA_Builder::InsertPoint savePoint = iBuilder->saveIP();
     75    auto savePoint = iBuilder->saveIP();
    7676    Module * m = iBuilder->getModule();
    7777    Type * i8PtrTy = iBuilder->getInt8PtrTy();
     
    112112   
    113113void p2s_16Kernel::generateDoBlockMethod() {
    114     IDISA::IDISA_Builder::InsertPoint savePoint = iBuilder->saveIP();
     114    auto savePoint = iBuilder->saveIP();
    115115    Module * m = iBuilder->getModule();
    116116   
     
    154154
    155155void p2s_16Kernel_withCompressedOutput::generateDoBlockMethod() {
    156     IDISA::IDISA_Builder::InsertPoint savePoint = iBuilder->saveIP();
     156    auto savePoint = iBuilder->saveIP();
    157157    Module * m = iBuilder->getModule();
    158158    Type * i32 = iBuilder->getIntNTy(32);
     
    216216
    217217void p2s_16Kernel_withCompressedOutput::generateFinalBlockMethod() {
    218     IDISA::IDISA_Builder::InsertPoint savePoint = iBuilder->saveIP();
     218    auto savePoint = iBuilder->saveIP();
    219219    Module * m = iBuilder->getModule();
    220220    Function * doBlockFunction = m->getFunction(mKernelName + doBlock_suffix);
     
    234234    i16UnitsGenerated = getProducedItemCount(self); // units generated to buffer
    235235    for (unsigned i = 0; i < mStreamSetOutputs.size(); i++) {
    236         Value * ssStructPtr = getStreamSetStructPtr(self, mStreamSetOutputs[i].ssName);
     236        Value * ssStructPtr = getStreamSetStructPtr(self, mStreamSetOutputs[i].name);
    237237        Value * producerPosPtr = mStreamSetOutputBuffers[i]->getProducerPosPtr(ssStructPtr);
    238238        iBuilder->CreateAtomicStoreRelease(i16UnitsGenerated, producerPosPtr);
Note: See TracChangeset for help on using the changeset viewer.