source: icGREP/icgrep-devel/icgrep/kernels/scanmatchgen.h @ 5695

Last change on this file since 5695 was 5695, checked in by cameron, 20 months ago

Complete the scanmatch kernel conversion to use MatchAccumulator? objects

File size: 736 bytes
RevLine 
[4907]1/*
2 *  Copyright (c) 2016 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 */
[4959]5#ifndef SCANMATCHGEN_H
6#define SCANMATCHGEN_H
[4907]7
[5377]8#include "grep_type.h"
9#include "kernel.h"
10namespace IDISA { class IDISA_Builder; }
11namespace llvm { class Function; }
12namespace llvm { class Module; }
[4907]13
[4974]14namespace kernel {
[5055]15   
[5676]16
[5526]17class ScanMatchKernel : public MultiBlockKernel {
[5055]18public:
[5695]19        ScanMatchKernel(const std::unique_ptr<kernel::KernelBuilder> & b);
[5431]20    bool isCachable() const override { return true; }
[5464]21    bool hasSignature() const override { return false; }
[5055]22private:
[5526]23        void generateMultiBlockLogic(const std::unique_ptr<kernel::KernelBuilder> & iBuilder) override;
[5055]24};
[5526]25
[4974]26}
[4907]27#endif // SCANMATCHGEN_H
Note: See TracBrowser for help on using the repository browser.