Halide 22.0.0 Halide compiler and libraries

Loading...
Searching...
No Matches
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. */
15 Stmt unify_duplicate_lets(const 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::unify_duplicate_lets
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...
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::cast
Internal::ConstantInterval cast(Type t, const Internal::ConstantInterval &a)
Cast operators for ConstantIntervals.
Halide::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427