https://github.com/halide/Halide
Raw File
Tip revision: 98172c14ff8c015d7426a22c4ffe5939d9544b77 authored by Andrew Adams on 12 February 2024, 22:19:41 UTC
Forward the partition methods from generator outputs
Tip revision: 98172c1
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