Ignore:
Timestamp:
Aug 7, 2015, 3:16:32 PM (4 years ago)
Author:
cameron
Message:

add Pablo count operation - not yet functional

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/pablo/builder.cpp

    r4717 r4718  
    201201}
    202202
    203 
    204 
    205 }
     203PabloAST * PabloBuilder::createCount(PabloAST * expr) {
     204    MAKE_UNARY(createCount, PabloAST::ClassTypeId::Count, expr);
     205    return result;
     206}
     207
     208PabloAST * PabloBuilder::createCount(PabloAST * expr, const std::string prefix) {
     209    MAKE_UNARY(createCount, PabloAST::ClassTypeId::Count, expr, prefix);
     210    return result;
     211}
     212
     213}
Note: See TracChangeset for help on using the changeset viewer.