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

Last change on this file since 4878 was 4870, checked in by nmedfort, 4 years ago

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

File size: 854 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
10namespace llvm { class raw_ostream; }
11
12namespace pablo {
13
14class PabloFunction;
15class PabloBlock;
16class Statement;
17class PabloAST;
18
19class PabloPrinter {
20public:
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);
25};
26
27}
28
29#endif // SHOW_H
Note: See TracBrowser for help on using the repository browser.