Halide 22.0.0 Halide compiler and libraries

RemoveUndef.h
Go to the documentation of this file.
1#ifndef HALIDE_REMOVE_UNDEF
2#define HALIDE_REMOVE_UNDEF
3
4#include "Expr.h"
5
6/** \file
7 * Defines a lowering pass that elides stores that depend on unitialized values.
8 */
9
10namespace Halide {
11namespace Internal {
12
13/** Removes stores that depend on undef values, and statements that
14 * only contain such stores. */
15 Stmt remove_undef(Stmt s);
16
17} // namespace Internal
18} // namespace Halide
19
20#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Halide::Internal::remove_undef
Stmt remove_undef(Stmt s)
Removes stores that depend on undef values, and statements that only contain such stores.
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AbstractGenerator.h:19
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition: Expr.h:427