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

Last change on this file since 5202 was 5202, checked in by nmedfort, 2 years ago

Initial work on adding types to PabloAST and mutable Var objects.

File size: 826 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 PabloFunction & function, llvm::raw_ostream & out);
22    static void print(const PabloAST * expr, llvm::raw_ostream & out);
23    static void print(const PabloBlock * block, llvm::raw_ostream & strm, const bool expandNested = false, const unsigned indent = 0);
24    static void print(const 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.