Loading...
Searching...
No Matches
StmtToHTML.h
Go to the documentation of this file.
#ifndef HALIDE_STMT_TO_HTML
#define HALIDE_STMT_TO_HTML
/** \file
* Defines a function to dump an HTML-formatted visualization to a file.
*/
#include <string>
namespace Halide {
class Module;
namespace Internal {
struct Stmt;
/** Dump an HTML-formatted visualization of a Module to filename.
* If assembly_input_filename is not empty, it is expected to be the path
* to assembly output. If empty, the code will attempt to find such a
* file based on output_filename (replacing ".stmt.html" with ".s"),
* and will assert-fail if no such file is found. */
void print_to_stmt_html(const std::string &html_output_filename,
const Module &m,
const std::string &assembly_input_filename = "");
/** Dump an HTML-formatted visualization of a Module's conceptual Stmt code to filename.
* If assembly_input_filename is not empty, it is expected to be the path
* to assembly output. If empty, the code will attempt to find such a
* file based on output_filename (replacing ".stmt.html" with ".s"),
* and will assert-fail if no such file is found. */
void print_to_conceptual_stmt_html(const std::string &html_output_filename,
const Module &m,
const std::string &assembly_input_filename = "");
} // namespace Internal
} // namespace Halide
#endif
Halide::Module
A halide module.
Definition Module.h:142
Halide::Internal
Definition AbstractGenerator.h:24
Halide::Internal::print_to_conceptual_stmt_html
void print_to_conceptual_stmt_html(const std::string &html_output_filename, const Module &m, const std::string &assembly_input_filename="")
Dump an HTML-formatted visualization of a Module's conceptual Stmt code to filename.
Halide::Internal::print_to_stmt_html
void print_to_stmt_html(const std::string &html_output_filename, const Module &m, const std::string &assembly_input_filename="")
Dump an HTML-formatted visualization of a Module to filename.
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition AbstractGenerator.h:19
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427