Loading...
Searching...
No Matches
UnifyDuplicateLets.h
Go to the documentation of this file.
#ifndef HALIDE_UNIFY_DUPLICATE_LETS_H
#define HALIDE_UNIFY_DUPLICATE_LETS_H
/** \file
* Defines the lowering pass that coalesces redundant let statements
*/
#include "Expr.h"
namespace Halide {
namespace Internal {
/** Find let statements that all define the same value, and make later
* ones just reuse the symbol names of the earlier ones. */
Stmt unify_duplicate_lets(const Stmt &s);
} // namespace Internal
} // namespace Halide
#endif
Expr.h
Base classes for Halide expressions (Halide::Expr) and statements (Halide::Internal::Stmt).
Halide::Internal
Definition AbstractGenerator.h:24
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::Internal::Stmt
A reference-counted handle to a statement node.
Definition Expr.h:427