Halide  12.0.1
Halide compiler and libraries
UnifyDuplicateLets.h
Go to the documentation of this file.
1 #ifndef HALIDE_UNIFY_DUPLICATE_LETS_H
2 #define HALIDE_UNIFY_DUPLICATE_LETS_H
3 
4 /** \file
5  * Defines the lowering pass that coalesces redundant let statements
6  */
7 
8 #include "Expr.h"
9 
10 namespace Halide {
11 namespace Internal {
12 
13 /** Find let statements that all define the same value, and make later
14  * ones just reuse the symbol names of the earlier ones. */
16 
17 } // namespace Internal
18 } // namespace Halide
19 
20 #endif
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt)
Stmt unify_duplicate_lets(const Stmt &s)
Find let statements that all define the same value, and make later ones just reuse the symbol names o...
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