Ignore:
Timestamp:
Jan 19, 2017, 2:41:02 PM (3 years ago)
Author:
nmedfort
Message:

Code clean-up. Removed Pablo Call, SetIthBit? and Prototype.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/pablo_kernel.cpp

    r5261 r5267  
    88#include <pablo/pablo_compiler.h>
    99#include <pablo/pe_var.h>
     10#include <pablo/pe_zeroes.h>
     11#include <pablo/pe_ones.h>
    1012#include <llvm/IR/Module.h>
    1113#include <llvm/IR/Verifier.h>
     
    1618using namespace parabix;
    1719using namespace IDISA;
     20using namespace llvm;
    1821
    1922Var * PabloKernel::addInput(const std::string & name, Type * const type) {
     
    2932}
    3033
    31 Var * PabloKernel::addOutput(const std::string name, Type * const type) {
     34Var * PabloKernel::addOutput(const std::string & name, Type * const type) {
    3235    Var * result = new (mAllocator) Var(mSymbolTable->make(name, iBuilder), type, mAllocator, false);
    3336    mOutputs.push_back(result);
     
    119122}
    120123
    121 PabloKernel::PabloKernel(IDISA::IDISA_Builder * builder, const std::string & kernelName)
    122 : KernelBuilder(builder, kernelName, {}, {}, {}, {}, {Binding{builder->getBitBlockType(), "EOFbit"}, Binding{builder->getBitBlockType(), "EOFmask"}})
     124PabloKernel::PabloKernel(IDISA::IDISA_Builder * builder, std::string kernelName)
     125: KernelBuilder(builder, std::move(kernelName), {}, {}, {}, {}, {Binding{builder->getBitBlockType(), "EOFbit"}, Binding{builder->getBitBlockType(), "EOFmask"}})
    123126, mPabloCompiler(new PabloCompiler(this))
    124127, mSymbolTable(new SymbolGenerator(mAllocator))
Note: See TracChangeset for help on using the changeset viewer.