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

Last change on this file since 6158 was 5217, checked in by nmedfort, 3 years ago

Merged PabloFunction? and PabloKernel? classes. Updated projects where necessary.

File size: 820 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 PabloKernel;
15class PabloBlock;
16class Statement;
17class PabloAST;
18
19class PabloPrinter {
20public:
21    static void print(const PabloKernel * kernel, 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.