https://github.com/halide/Halide
Raw File
Tip revision: d01bf4e977e398d72b04a4e67839bed4787dd679 authored by Steven Johnson on 21 January 2021, 22:12:36 UTC
Merge branch 'master' into abadams/switch_stmt
Tip revision: d01bf4e
StmtToHtml.h
#ifndef HALIDE_STMT_TO_HTML
#define HALIDE_STMT_TO_HTML

/** \file
 * Defines a function to dump an HTML-formatted stmt to a file.
 */

#include <string>

namespace Halide {

class Module;

namespace Internal {

struct Stmt;

/**
 * Dump an HTML-formatted print of a Stmt to filename.
 */
void print_to_html(const std::string &filename, const Stmt &s);

/** Dump an HTML-formatted print of a Module to filename. */
void print_to_html(const std::string &filename, const Module &m);

}  // namespace Internal
}  // namespace Halide

#endif
back to top