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

Last change on this file since 5292 was 5292, checked in by nmedfort, 3 years ago

Removed 'function' and 'self' parameters from generateXXXMethod() functions.

File size: 803 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
[5267]8#include "grep_type.h"  // for GrepType
9#include "kernel.h"     // for KernelBuilder
10namespace IDISA { class IDISA_Builder; }  // lines 16-16
11namespace llvm { class Function; }  // lines 14-14
12namespace llvm { class Module; }  // lines 14-14
[4907]13
[4974]14namespace kernel {
[5055]15   
[5283]16class ScanMatchKernel : public BlockOrientedKernel {
[5055]17public:
[5285]18    ScanMatchKernel(IDISA::IDISA_Builder * iBuilder, GrepType grepType);
19protected:
[5292]20    void generateDoBlockMethod(llvm::Value * blockNo) override;
[5055]21private:
[5246]22    llvm::Function * generateScanWordRoutine(llvm::Module * m) const;
[5267]23private:
[5206]24    GrepType mGrepType;
[5055]25};
[4974]26}
27
[4907]28#endif // SCANMATCHGEN_H
Note: See TracBrowser for help on using the repository browser.