Halide 14.0.0
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
10namespace Halide {
11
12class Module;
13
14namespace Internal {
15
16struct Stmt;
17
18/**
19 * Dump an HTML-formatted print of a Stmt to filename.
20 */
21void print_to_html(const std::string &filename, const Stmt &s);
22
23/** Dump an HTML-formatted print of a Module to filename. */
24void 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:172
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:417