Ignore:
Timestamp:
Jul 28, 2016, 11:31:36 AM (3 years ago)
Author:
cameron
Message:

u8u16 pipeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/wc.cpp

    r5102 r5109  
    158158
    159159    Constant * record_counts_routine;
    160     Type * const int64ty = iBuilder->getInt64Ty();
     160    Type * const size_ty = iBuilder->getSizeTy();
    161161    Type * const voidTy = Type::getVoidTy(mMod->getContext());
    162     record_counts_routine = mMod->getOrInsertFunction("record_counts", voidTy, int64ty, int64ty, int64ty, int64ty, int64ty, nullptr);
     162    record_counts_routine = mMod->getOrInsertFunction("record_counts", voidTy, size_ty, size_ty, size_ty, size_ty, size_ty, nullptr);
    163163    Type * const inputType = PointerType::get(ArrayType::get(ArrayType::get(mBitBlockType, 8), 1), 0);
    164164   
    165     Function * const main = cast<Function>(mMod->getOrInsertFunction("Main", voidTy, inputType, int64ty, int64ty, nullptr));
     165    Function * const main = cast<Function>(mMod->getOrInsertFunction("Main", voidTy, inputType, size_ty, size_ty, nullptr));
    166166    main->setCallingConv(CallingConv::C);
    167167    Function::arg_iterator args = main->arg_begin();
Note: See TracChangeset for help on using the changeset viewer.