Halide  12.0.1
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 
10 namespace Halide {
11 namespace Internal {
12 
13 /** Removes stores that depend on undef values, and statements that
14  * only contain such stores. */
16 
17 } // namespace Internal
18 } // namespace Halide
19 
20 #endif
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Stmt remove_undef(Stmt s)
Removes stores that depend on undef values, and statements that only contain such stores.
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
@ Internal
Not visible externally, similar to 'static' linkage in C.
A reference-counted handle to a statement node.
Definition: Expr.h:413