https://github.com/halide/Halide
Raw File
Tip revision: 31c40930fe40ba9093984cd4bb562a8ffc71e85d authored by Steven Johnson on 20 January 2021, 23:30:28 UTC
Update HalideRuntime.h
Tip revision: 31c4093
RemoveUndef.h
#ifndef HALIDE_REMOVE_UNDEF
#define HALIDE_REMOVE_UNDEF

#include "Expr.h"

/** \file
 * Defines a lowering pass that elides stores that depend on unitialized values.
 */

namespace Halide {
namespace Internal {

/** Removes stores that depend on undef values, and statements that
 * only contain such stores. */
Stmt remove_undef(Stmt s);

}  // namespace Internal
}  // namespace Halide

#endif
back to top