https://github.com/halide/Halide
Raw File
Tip revision: 75b4f0dacede8c57c12d08bc9fb1b395f215dc49 authored by Andrew Adams on 14 August 2020, 17:27:21 UTC
Rename d3d12 modules to windows_d3d12 to simplify build
Tip revision: 75b4f0d
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