Ignore:
Timestamp:
Dec 29, 2016, 11:23:44 PM (2 years ago)
Author:
cameron
Message:

Support for write function in CBuilder, use IRBuilder CreateMemMove? for llvm.memmove.p0i8.p0i8.i64

File:
1 edited

Legend:

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

    r5242 r5243  
    308308    Type * const inputType = ArrayType::get(ArrayType::get(bitBlockType, 8), 1)->getPointerTo();
    309309    Type * const outputType = ArrayType::get(ArrayType::get(bitBlockType, 16), 1)->getPointerTo();
    310     Type * const int32ty = iBuilder->getInt32Ty();
    311     Type * const int8PtrTy = iBuilder->getInt8PtrTy();
    312     Type * const voidPtrTy = iBuilder->getVoidPtrTy();
    313310   
    314311    Function * const main = cast<Function>(mod->getOrInsertFunction("Main", voidTy, inputType, outputType, size_ty, nullptr));
Note: See TracChangeset for help on using the changeset viewer.