Ignore:
Timestamp:
Nov 7, 2016, 3:54:09 PM (3 years ago)
Author:
xwa163
Message:
  1. Extend Regex Syntax, include: (a) RL2.6 of UTS#18, support regex in property value. e.g. \p{script=/.*hir.*/} (b) Support syntax of property expression when parsing boundary. e.g. \b{greek} (c) Extend property expression in non capture group. e.g. (?\p{upper}:\p{greek}\p{script=hira})
  2. Add related test cases
File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/kernels/scanmatchgen.h

    r5204 r5206  
    88#include "streamset.h"
    99#include "kernel.h"
     10#include "grep_type.h"
    1011#include <llvm/Support/Host.h>
    1112#include <llvm/ADT/Triple.h>
     
    1920class ScanMatchKernel : public KernelBuilder {
    2021public:
    21     ScanMatchKernel(IDISA::IDISA_Builder * iBuilder, bool isNameExpression) :
     22    ScanMatchKernel(IDISA::IDISA_Builder * iBuilder, GrepType grepType) :
    2223    KernelBuilder(iBuilder, "scanMatch",
    2324                  {Binding{parabix::StreamSetType(iBuilder,2, 1), "matchResults"}},
     
    2728                    {Binding{iBuilder->getSizeTy(), "BlockNo"}, Binding{iBuilder->getSizeTy(), "LineStart"}, Binding{iBuilder->getSizeTy(), "LineNum"}}),
    2829
    29     mIsNameExpression(isNameExpression) {}
     30    mGrepType(grepType) {}
    3031       
    3132private:
     
    3334    llvm::Function * generateScanWordRoutine(llvm::Module * m);
    3435       
    35     bool mIsNameExpression;
     36    GrepType mGrepType;
    3637};
    3738}
Note: See TracChangeset for help on using the changeset viewer.