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

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

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

File size: 820 bytes
RevLine 
[3850]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
[4870]10namespace llvm { class raw_ostream; }
[3850]11
[4870]12namespace pablo {
[4206]13
[5217]14class PabloKernel;
[4870]15class PabloBlock;
16class Statement;
17class PabloAST;
[4788]18
[4276]19class PabloPrinter {
[3850]20public:
[5217]21    static void print(const PabloKernel * kernel, llvm::raw_ostream & out);
[5202]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);
[3850]25};
26
[4870]27}
28
[3850]29#endif // SHOW_H
Note: See TracBrowser for help on using the repository browser.