Revision 2c48ba87ac173341f641479cb711f6f755d48e93 authored by Volodymyr Kysenko on 08 December 2023, 21:58:37 UTC, committed by Volodymyr Kysenko on 08 December 2023, 21:58:37 UTC
1 parent d84e3a6
StmtToHTML.h
#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
Computing file changes ...