Halide  17.0.2
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. */
15 Stmt remove_undef(Stmt s);
16 
17 } // namespace Internal
18 } // namespace Halide
19 
20 #endif
This file defines the class FunctionDAG, which is our representation of a Halide pipeline, and contains methods to using Halide's bounds tools to query properties of it.
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt) ...
Not visible externally, similar to 'static' linkage in C.
Stmt remove_undef(Stmt s)
Removes stores that depend on undef values, and statements that only contain such stores...