Halide
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
Halide
This file defines the class FunctionDAG, which is our representation of a Halide pipeline,...
Definition: AddAtomicMutex.h:21
Halide::LinkageType::Internal
@ Internal
Not visible externally, similar to 'static' linkage in C.
Expr.h
Halide::Internal::remove_undef
Stmt remove_undef(Stmt s)
Removes stores that depend on undef values, and statements that only contain such stores.