source: icGREP/icgrep-devel/icgrep/pablo/printer_pablos.h @ 4264

Last change on this file since 4264 was 4264, checked in by nmedfort, 5 years ago

Eliminated need for Mem2Reg pass. Automatic introduction of PHI nodes for Next nodes.

File size: 730 bytes
Line 
1/*
2 *  Copyright (c) 2014 International Characters.
3 *  This software is licensed to the public under the Open Software License 3.0.
4 *  icgrep is a trademark of International Characters.
5 */
6
7#ifndef SHOW_H
8#define SHOW_H
9
10#include <pablo/pabloAST.h>
11#include <string>
12
13namespace pablo {
14    class PabloBlock;
15}
16
17class StatementPrinter {
18public:
19    static std::string PrintStmts(const pablo::PabloBlock & cg_state);
20    static std::string Print_CC_PabloStmts(const pablo::StatementList & stmts);
21    static std::string Print_PB_PabloStmts(const pablo::StatementList & stmts);
22    static std::string ShowPabloAST(const pablo::PabloAST * expr);
23    static std::string ShowPabloS(const pablo::PabloAST *stmt);
24};
25
26#endif // SHOW_H
Note: See TracBrowser for help on using the repository browser.