Halide  12.0.1
Halide compiler and libraries
StmtToHtml.h
Go to the documentation of this file.
1 #ifndef HALIDE_STMT_TO_HTML
2 #define HALIDE_STMT_TO_HTML
3 
4 /** \file
5  * Defines a function to dump an HTML-formatted stmt to a file.
6  */
7 
8 #include <string>
9 
10 namespace Halide {
11 
12 class Module;
13 
14 namespace Internal {
15 
16 struct Stmt;
17 
18 /**
19  * Dump an HTML-formatted print of a Stmt to filename.
20  */
21 void print_to_html(const std::string &filename, const Stmt &s);
22 
23 /** Dump an HTML-formatted print of a Module to filename. */
24 void print_to_html(const std::string &filename, const Module &m);
25 
26 } // namespace Internal
27 } // namespace Halide
28 
29 #endif
A halide module.
Definition: Module.h:135
void print_to_html(const std::string &filename, const Stmt &s)
Dump an HTML-formatted print of a Stmt to filename.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A reference-counted handle to a statement node.
Definition: Expr.h:413