https://github.com/halide/Halide
Raw File
Tip revision: 50917257e6367e01eb81eec20cf4466437273262 authored by Andrew Adams on 27 August 2021, 17:44:40 UTC
Rename inner version of bounds_of_expr_in_scope
Tip revision: 5091725
UnifyDuplicateLets.h
#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
back to top