Ignore:
Timestamp:
Nov 14, 2015, 5:38:36 PM (4 years ago)
Author:
nmedfort
Message:

Bug fix for Multiplexing. Added ability to set the body of a If/While? node after creation.

File:
1 edited

Legend:

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

    r4788 r4870  
    88#define SHOW_H
    99
    10 #include <pablo/pabloAST.h>
    11 #include <pablo/ps_if.h>
    12 #include <string>
     10namespace llvm { class raw_ostream; }
    1311
    14 namespace pablo { class PabloBlock; }
     12namespace pablo {
    1513
    16 namespace llvm { class raw_ostream; }
     14class PabloFunction;
     15class PabloBlock;
     16class Statement;
     17class PabloAST;
    1718
    1819class PabloPrinter {
    1920public:
    20     using DefinedVars = pablo::If::DefinedVars;
    21     static void print(const pablo::PabloBlock & block, llvm::raw_ostream & strm);
    22     static void print(const pablo::StatementList & stmts, llvm::raw_ostream & strm);
    23     static void print(const pablo::StatementList & stmts, std::string indent, llvm::raw_ostream & strm);
    24     static void print_vars(const DefinedVars & vars, std::string indent, llvm::raw_ostream & strm);
    25     static void print(const pablo::PabloAST * expr, llvm::raw_ostream & strm);
    26     static void print(const pablo::Statement *stmt, std::string indent, llvm::raw_ostream & strm);
     21    static void print(const pablo::PabloFunction & function, llvm::raw_ostream & out);
     22    static void print(const pablo::PabloAST * expr, llvm::raw_ostream & out);
     23    static void print(const pablo::PabloBlock * block, llvm::raw_ostream & strm, const bool expandNested = false, const unsigned indent = 0);
     24    static void print(const pablo::Statement * stmt, llvm::raw_ostream & out, const bool expandNested = false, const unsigned indent = 0);
    2725};
    2826
     27}
     28
    2929#endif // SHOW_H
Note: See TracChangeset for help on using the changeset viewer.