https://github.com/halide/Halide
Raw File
Tip revision: 3b3c7f3e30b410770818e925f28a6d9146aa25fc authored by Steven Johnson on 04 August 2023, 22:28:36 UTC
Update run-clang-tidy.sh
Tip revision: 3b3c7f3
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