source: icGREP/icgrep-devel/icgrep/editd/pattern_compiler.h @ 5217

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

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

  • Property svn:executable set to *
File size: 817 bytes
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef PATTERN_COMPILER_H
8#define PATTERN_COMPILER_H
9
10#include <re/re_re.h>
11#include <re/re_seq.h>
12#include <cc/cc_compiler.h>
13
14#include <string>
15#include <list>
16#include <map>
17
18namespace pablo {
19class PabloBlock;
20class PabloKernel;
21class PabloAST;
22class Assign;
23class Var;
24}
25
26namespace re {
27
28class Pattern_Compiler {
29public:
30
31    Pattern_Compiler(pablo::PabloKernel & kernel);
32
33    void compile(const std::vector<std::string> & patterns, pablo::PabloBuilder & pb, pablo::PabloAST *basisBits[], int dist, unsigned optPosition, int stepSize);
34
35private:
36
37    pablo::PabloKernel & mKernel;
38};
39
40}
41
42#endif // PATTERN_COMPILER_H
Note: See TracBrowser for help on using the repository browser.