Ignore:
Timestamp:
Mar 7, 2016, 3:37:30 PM (3 years ago)
Author:
nmedfort
Message:

Initial modifications to Pablo Compiler and Kernel Builder to support circular buffers for Lookahead.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/codegenstate.h

    r4927 r4959  
    1111#include <pablo/symbol_generator.h>
    1212#include <pablo/pe_advance.h>
     13#include <pablo/pe_lookahead.h>
    1314#include <pablo/pe_and.h>
    1415#include <pablo/pe_call.h>
     
    7172    PabloAST * createAdvance(PabloAST * expr, PabloAST * shiftAmount, const std::string prefix);
    7273
     74    PabloAST * createLookahead(PabloAST * expr, const Integer::Type shiftAmount);
     75
     76    PabloAST * createLookahead(PabloAST * expr, PabloAST * shiftAmount);
     77
     78    PabloAST * createLookahead(PabloAST * expr, const Integer::Type shiftAmount, const std::string prefix);
     79
     80    PabloAST * createLookahead(PabloAST * expr, PabloAST * shiftAmount, const std::string prefix);
     81
    7382    static inline Zeroes * createZeroes() {
    7483        return &mZeroes;
     
    93102    }
    94103
    95     Assign * createAssign(const std::string && prefix, PabloAST * expr);
     104    Assign * createAssign(const std::string && prefix, PabloAST * const expr);
    96105
    97106    inline Var * createVar(const std::string name) {
     
    192201
    193202    PabloAST * createMod64Advance(PabloAST * expr, PabloAST * shiftAmount, const std::string prefix);
     203
     204    PabloAST * createMod64Lookahead(PabloAST * expr, const Integer::Type shiftAmount);
     205
     206    PabloAST * createMod64Lookahead(PabloAST * expr, PabloAST * shiftAmount);
     207
     208    PabloAST * createMod64Lookahead(PabloAST * expr, const Integer::Type shiftAmount, const std::string prefix);
     209
     210    PabloAST * createMod64Lookahead(PabloAST * expr, PabloAST * shiftAmount, const std::string prefix);
    194211
    195212    PabloAST * createMod64MatchStar(PabloAST * marker, PabloAST * charclass);
Note: See TracChangeset for help on using the changeset viewer.