Ignore:
Timestamp:
Oct 24, 2017, 1:10:49 PM (21 months ago)
Author:
cameron
Message:

Drop linebreak normalization; add1 attribute for grep kernel; pablo indexed advance initial check-in

File:
1 edited

Legend:

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

    r5646 r5705  
    100100            print(adv->getExpression(), out);
    101101            out << ", " << std::to_string(adv->getAmount()) << ")";
     102        } else if (const IndexedAdvance * adv = dyn_cast<IndexedAdvance>(stmt)) {
     103            out << " = pablo.IndexedAdvance(";
     104            print(adv->getExpression(), out);
     105            out << ", ";
     106            print(adv->getIndex(), out);
     107            out << ", " << std::to_string(adv->getAmount()) << ")";
    102108        } else if (const Lookahead * adv = dyn_cast<Lookahead>(stmt)) {
    103109            out << " = pablo.Lookahead(";
Note: See TracChangeset for help on using the changeset viewer.