Ignore:
Timestamp:
Dec 16, 2016, 4:16:28 PM (3 years ago)
Author:
nmedfort
Message:

Rewrite of the CarryManager? to support non-carry-collapsing loops.

File:
1 edited

Legend:

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

    r5224 r5227  
    44 */
    55
    6 
     6#include "pipeline.h"
    77#include <toolchain.h>
    8 #include "pipeline.h"
    9 
    108#include <IDISA/idisa_builder.h>
    11 
    129#include <kernels/interface.h>
    1310#include <kernels/kernel.h>
    1411#include <kernels/s2p_kernel.h>
    15 
    16 #include <llvm/IR/TypeBuilder.h>
    1712#include <iostream>
    1813
     
    2318    Module * m = iBuilder->getModule();
    2419    Type * const size_ty = iBuilder->getSizeTy();
    25     Type * const voidTy = Type::getVoidTy(m->getContext());
    26     Type * const voidPtrTy = TypeBuilder<void *, false>::get(m->getContext());
     20    Type * const voidTy = iBuilder->getVoidTy();
     21    Type * const voidPtrTy = iBuilder->getVoidPtrTy();
    2722    Type * const int8PtrTy = iBuilder->getInt8PtrTy();
    2823
     
    10398
    10499    Type * const size_ty = iBuilder->getSizeTy();
    105     Type * const voidPtrTy = TypeBuilder<void *, false>::get(m->getContext());
     100    Type * const voidPtrTy = iBuilder->getVoidPtrTy();
    106101    Type * const int8PtrTy = iBuilder->getInt8PtrTy();
    107102
     
    159154
    160155    Type * pthreadTy = iBuilder->getSizeTy();     
    161     Type * const voidPtrTy = TypeBuilder<void *, false>::get(m->getContext());
     156    Type * const voidPtrTy = iBuilder->getVoidPtrTy();
    162157    Type * const int8PtrTy = iBuilder->getInt8PtrTy();
    163158
Note: See TracChangeset for help on using the changeset viewer.