Ignore:
Timestamp:
Dec 23, 2017, 9:16:39 PM (16 months ago)
Author:
cameron
Message:

Additional Alphabet analysis and transformation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.cpp

    r5795 r5801  
    3131#include <re/re_multiplex.h>
    3232#include <re/grapheme_clusters.h>
     33#include <re/printer_re.h>
    3334#include <toolchain/toolchain.h>
    3435#include <toolchain/cpudriver.h>
     
    131132        const std::vector<const re::CC *> UnicodeSets = re::collectUnicodeSets(REs[i]);
    132133        std::unique_ptr<cc::MultiplexedAlphabet> mpx = make_unique<MultiplexedAlphabet>("mpx", UnicodeSets);
    133         REs[i] = multiplex(REs[i], UnicodeSets, mpx->getExclusiveSetIDs());
     134        REs[i] = transformCCs(mpx.get(), REs[i]);
     135        //llvm::errs() << Printer_RE::PrintRE(REs[i]) << '\n';
    134136        std::vector<re::CC *> mpx_basis = mpx->getMultiplexedCCs();
    135137        auto numOfCharacterClasses = mpx_basis.size();
Note: See TracChangeset for help on using the changeset viewer.