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
Line 
1/*
2 *  Copyright (c) 2016 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 */
5#ifndef SCANMATCHGEN_H
6#define SCANMATCHGEN_H
7
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
13
14namespace kernel {
15   
16class ScanMatchKernel : public BlockOrientedKernel {
17public:
18    ScanMatchKernel(IDISA::IDISA_Builder * iBuilder, GrepType grepType);
19protected:
20    void generateDoBlockMethod(llvm::Value * blockNo) override;
21private:
22    llvm::Function * generateScanWordRoutine(llvm::Module * m) const;
23private:
24    GrepType mGrepType;
25};
26}
27
28#endif // SCANMATCHGEN_H
Note: See TracBrowser for help on using the repository browser.