source: icGREP/icgrep-devel/icgrep/re/re_toolchain.h @ 5836

Last change on this file since 5836 was 5835, checked in by nmedfort, 17 months ago

Revised RE_Minimizer to use alphabets + minor optimizations to RE functions

File size: 1019 bytes
RevLine 
[4984]1/*
[5030]2 *  Copyright (c) 2016 International Characters.
[4984]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 RE_TOOLCHAIN_H
8#define RE_TOOLCHAIN_H
[5646]9#include <llvm/Support/Compiler.h>
[5267]10namespace llvm { namespace cl { class OptionCategory; } }
[5646]11namespace pablo { class PabloKernel; class PabloAST; }
[5784]12namespace re { class RE; class CC;}
[4984]13
[5030]14namespace re {
[4984]15
[5030]16enum RE_PrintFlags {
[5295]17    ShowREs, ShowAllREs, ShowStrippedREs, ShowSimplifiedREs
[5030]18};
19   
20enum RE_AlgorithmFlags {
21    DisableLog2BoundedRepetition, DisableIfHierarchy, DisableMatchStar, DisableUnicodeMatchStar, 
[5473]22    DisableUnicodeLineBreak, UsePregeneratedUnicode
[5030]23};
24   
[5835]25bool LLVM_READONLY AlgorithmOptionIsSet(RE_AlgorithmFlags flag);
[5030]26   
27extern int IfInsertionGap;
[4984]28
[5835]29const llvm::cl::OptionCategory * LLVM_READONLY re_toolchain_flags();
[5030]30
[5803]31RE * resolveModesAndExternalSymbols(RE * r);
[5030]32
[5803]33RE * excludeUnicodeLineBreak(RE * r);
34
35RE * regular_expression_passes(RE * r);
[5030]36   
37}
[4984]38#endif
Note: See TracBrowser for help on using the repository browser.