Ignore:
Timestamp:
May 7, 2018, 3:22:05 PM (13 months ago)
Author:
xwa163
Message:

Performance improvement for M0 marker bit output logic in LZ4IndexBuilderKernel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/lz4/lz4_index_builder.h

    r6020 r6022  
    2020    class LZ4IndexBuilderKernel final : public SegmentOrientedKernel {
    2121    public:
    22         LZ4IndexBuilderKernel(const std::unique_ptr<kernel::KernelBuilder> &iBuilder);
     22        LZ4IndexBuilderKernel(const std::unique_ptr<kernel::KernelBuilder> &b);
    2323
    2424    protected:
     
    4242
    4343        llvm::Value *
    44         processLiteral(const std::unique_ptr<KernelBuilder> &iBuilder, llvm::Value *token, llvm::Value *tokenPos,
     44        processLiteral(const std::unique_ptr<KernelBuilder> &b, llvm::Value *token, llvm::Value *tokenPos,
    4545                       llvm::Value *blockEnd);
    4646
     
    5959
    6060        void markCircularOutputBitstream(const std::unique_ptr<KernelBuilder> &iBuilder, const std::string &bitstreamName, llvm::Value *pos);
     61
     62
     63        void appendM0Output(const std::unique_ptr<KernelBuilder> &iBuilder, llvm::Value *start, llvm::Value *end);
     64        void storeM0(const std::unique_ptr<KernelBuilder> &iBuilder, llvm::Value* blockIndex, llvm::Value* value);
     65        void storePendingM0(const std::unique_ptr<KernelBuilder> &iBuilder);
     66
    6167    };
    6268}
Note: See TracChangeset for help on using the changeset viewer.