source: icGREP/icgrep-devel/icgrep/llvm_gen_helper.h @ 4133

Last change on this file since 4133 was 3955, checked in by daled, 5 years ago

icGREP now uses scanthru for multibyte unicode character classes.

File size: 972 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 LLVM_GENERATOR_HELPER_H
8#define LLVM_GENERATOR_HELPER_H
9
10//Regular Expressions
11#include "re_re.h"
12#include "re_cc.h"
13#include "re_start.h"
14#include "re_end.h"
15#include "re_seq.h"
16
17//Pablo Expressions
18#include "pe_pabloe.h"
19#include "pe_advance.h"
20#include "pe_and.h"
21#include "pe_charclass.h"
22#include "pe_not.h"
23#include "pe_or.h"
24#include "pe_matchstar.h"
25#include "pe_scanthru.h"
26
27//Pablo Statements
28#include "ps_pablos.h"
29#include "ps_assign.h"
30#include "ps_if.h"
31#include "ps_while.h"
32
33
34class LLVM_Generator_Helper
35{
36public:
37    static int CarryCount_PabloStatements(std::list<PabloS*> stmts);
38private:
39    static int CarryCount_PabloS(PabloS* stmt);
40    static int CarryCount_PabloE(PabloE* expr);
41    LLVM_Generator_Helper();
42};
43
44#endif // LLVM_GENERATOR_HELPER_H
Note: See TracBrowser for help on using the repository browser.